Changelog

License API changelog

46min
v4.0.32 (20.11.2024.)
Fixed
Fixed a bug in order creation where customer.id could be manually overriden in the request data

v4.0.31 (31.10.2024.)
Fixed
Fixed a bug where trial_days field was missing in license activation response for licenses with enabled trial
Fixed
Fixed a bug where allow_negative_consumptions field was missing on consumption license response

v4.0.30 (09.10.2024.)
Improved
Expanded validation for order create endpoint to ensure top-level product is a bundle and fields specific to key/user-based licenses can only be sent with the appropriate license type
Fixed
Fixed a bug where floating slots could be reserved with an expired license
Fixed
Fixed a bug where a license with multiple activations and no device transfers could only be activated once
Fixed
Fixed a bug where negative feature consumptions could be sent for a license where feature consumptions did not allow negative values

v4.0.29 (19.09.2024.)
Added
Implemented support for consumption notifications when consumption amount passes thresholds defined by notification policies
Added
Implemented the alphabet parameter in the key generator which allows specifying which characters are used to generate license keys
Added
Added trial notifications for trial licenses during order creation
Added
Implemented support for negative consumptions and license policies allowing negative consumptions
Improved
Reworked device count to avoid problems with devices being incorrectly enumerated after license reset
Improved
Improved calculating total activations, consumptions and transfers to avoid a concurrency bug when a large number of concurrent requests occured on the same license
Fixed
Fixed a bug where license keys were being generated on user-based licenses
Fixed
Fixed a bug where floating borrow was allowed using expired licenses

v4.0.28 (29.08.2024.)
Added
Expanded order creation endpoint to allow for more flexible parameter overriding and setting initial values when creating bundle orders
Added
Added check for allowed license types when creating bundle orders
Fixed
Fixed filtering by licenseID for bundle orders
Fixed
Fixed incorrect password validation in user_licenses endpoint
Fixed
Fixed a bug in request validation schema

v4.0.27 (25.07.2024.)
Added
Added `user_licenses` endpoint to return a list of licenses for a given user
Added
Added `license_id` parameter as an optional filter to all endpoints that work with licenses
Fixed
Fixed a bug in request validation schema

v4.0.26 (27.06.2024.)
Added
Added `validity_period` attribute to license policies
Fixed
Fixed a bug that would fetch the incorrect license when activating/deactivating user-based bundle licenses without a provided bundle code
Fixed
Fixed a bug causing duplicate IDs during order creation in the order webhook

v4.0.25 (24.06.2024.)
Fixed
Fixed an error message being returned while activating trial license for user-based licenses

v4.0.24 (21.06.2024.)
Added
Added support for optional `policy_code` parameter to order webhook
Added
Added support for device variables in activation payloads for activate_license and activate_offline endpoints
Added
Added optional `key_length` parameter to license webhook to allow for increased license key length
Improved
Improved key generator by increasing cap for maximum number of keys generated per request to 10.000
Fixed
Fixed a bug where a user with multiple user-based bundle licenses could not activate the correct license
Fixed
Restored the missing `address` field in license customer info

v4.0.23 ( 04.06.2024. )
Added
Added support for `licensepring-hardware-key` in offline license payloads
Added
Added optional `include_metadata_string` parameter to endpoints to return `metadata` values as serialized JSON strings in `metadata_string`

v4.0.22 ( 21.05.2024. )
Improved
Added `is_air_gapped` field to license activation and check response
Added
Added support for `licensespring-hardware-key` header

v4.0.21 ( 06.05.2024. )
Fixed
Fixed sending `max_consumption` to license feature consumption analytics

v4.0.20 ( 23.04.2024. )
Added
Added `trial_days` to license response on check_license if license is in trial
Added
Added support for `enabled` field on create_order logic

v4.0.19 ( 02.04.2024. )
Added
Added `bundle_code` for user based bundle licenses

v4.0.18 ( 19.03.2024. )
Added
Added license events for Events API
Added
Add `disabled_product` and `archived_product` to the list of errors
Improved
Expanded customer Events API data

v4.0.17 ( 06.03.2024. )
Added
Added support for `customer.updated` event
Improved
Improved date header verification

v4.0.16 ( 21.02.2024.)
Improved
Metadata can be set both as a JSON string literal and JSON object format.
Added
Metadata returned inside offline activation response

v4.0.15 ( 06.02.2024.)
Added
Added support for `webhooks`

v4.0.13 (09.12.2023.)
Added
Added `include_expired_feature` to `check_license` endpoint
Fixed
Fixed activating user based product bundle licenses

v4.0.11 (21.11.2023.)
Improved
Added `include_latest_version` and `include_custom_fields` to `product_details` endpoint

v4.0.10 (07.11.2023)
Improved
Implemented floating cloud license features
Fixed
Remove `extra` field from analytics activity

v4.0.8 (18.09.2023.)
Added
Using `integrations` table to support Stripe integration
Fixed
Fixed saving anayltics data when `trial_key` request fails
Fixed
Fixed parsing `os_ver` and `mac_address` query params

v4.0.7 (07.09.2023.)
Improved
Deployment improvements

v4.0.6 (27.07.2023.)
Fixed
Fixed keygen timeouts on large number of concurrent keygen requests

v4.0.4 (06.07.2023.)
Improved
Return error message on order create if `license users` contains a higher number of users than `max_license_users` allow
Fixed
Fixed `customer_license_users` endpoint and `product` query param filter

v4.0.3 (21.06.2023.)
Fixed
Ignore `validity_period` if perpetual and consumption type licenses are not in trial

v4.0.2 (19.06.2023.)
Improved
Optimization to the deployment process
Fixed
Fixed logger invocation when activating an expired trial license
Fixed
Use fallback when default license policy not assigned

v4.0.1 (13.06.2023.)
Fixed
Added fallback in unlikely case that a product does not have a default license policy
Fixed
Fixed `validity_period` response on activated licenses
Fixed
Added `validity_period` check on all trial licenses
Improved
`metadata` is returned inside `product_details` object when doing license check and activation
Improved
Update internal sentry handler
Added
Added metadata JSON field on customers, orders, licenses, products and product features
Added
Implemented `pm2` process management tool
Improved
Optimized license fetching SQL query

v4.0.0 ()
Improved
Replaced Express with Fastify
Improved
Updated all internal libraries to the latest version
Improved
All api methods rewritten from callbacks to async/await syntax

28.02.2023
Fixed
max_activations on /trial_key endpoint changed so that it is inherited from license policy with 1 as a default
Fixed
Fixed customer_does_not_exist error format

02.02.2023
Fixed
fix: When creating customer api will trim emails and remove whitespaces
Added
Docs for new Mgmt API endpoint

17.01.2023.
Added
Added grace_period and allow_grace_period to licenses and license policy
Added
Extended License api/shared keys - multiple api/shared keys per account, allowed products option, labels, read_only and revoked fields.
Fixed
Handle failed attempt when creating subscriptions using Stripe checkout
Improved
Expand expiration check with grace_period

20.12.2022.
Added
Support for adhoc intervalUnit

06.12.2022.
Improved
Expand extra field on AnalyticsActivity model to send additional details in JSON
Improved
Added allow_unlimited_activations and allow_unlimited_consumptions to the data model
Improved
Added Date header validation

22.11.2022.
Fixed
always return device_id on license activation response as Integer
Improved
Order webhook returns new order_items in response

22.11.2022.
Fixed
always return device_id on license activation response as Integer
Improved
Order webhook returns new order_items in response

04.11.2022.
Fixed
times_activated value on a License cannot be set lower than 0 on license deactivation
Improved
Added min validation on times_activated field on the License model

20.9.2022.
Improved
Allowed Authorization code grant for SSO
Improved
Sending LicenseSignature header on license check and activation
Improved
Attaching license_signature_v2 to offline activation response object
Fixed
Consumptions events use max_consumptions field instead of max_overages to send events

30.08.2022.
Improved
Expanded consumptions events inside Usage Report with additional data
Improved
Added Max consumptions reached and Max feature consumptions reached Usage report events
Improved
Support for sending license_policy code when creating ordeobject
Improved
Attached user object tot the offline activation response

17.07.2022.
Fixed
License deactivation decrements total_activations field on license user
Added
Added new custom attribute is_single_license
Improved
Implemented max_activations on license users

05.07.2022.
Fixed
Restrict setting invalid license type values
Added
Implement feature consumption analytics activity

14.06.2022.
Fixed
Restrict setting invalid license type values
Added
Implement feature consumption analytics activity

24.05.2022.
Improved
license check and activation response expanded with can_borrow and max_borrow_time
Fixed
floating/borrow endpoint sets the device as floating_in_use if slots available improvement: Support for product bundles on all endpoints

10.05.2022.
Added
Add borrowed_until field to license check response and clear the borrowed_until device field on floating release
Improved
/floating/release endpoint changes borrowed_until on device to null
Fixed
Fix borrow_until field in floating_borrow endpoint

26.4.2022.
Improved
Add is_borrowed field to the the license check
Improved
Fix creating duplicate license devices on batch license activation requests with unique license_id+hwid constraint
Improved
Send notification request on license activation
Improved
Added api/v4/floating/borrow endpoint and floating_borrow analytics activity event

29.3.2022.
Improved
Expand floating watchdog to handle license borrowing
Fixed
Fixed 2checkout error handler when wrong product code is sent
Improved
Extend data model to enable license borrowing

15.03.2022.
Improved
Fixed sso error format
Fixed
Added new /get_device_variables endpoint
Improved
Analytics activity expanded with single_sign_on and get_device_variables events

1.3.2022.
Improved
Fixed max_transfers logic
Fixed
Fixed trial_key analytics action
Improved
Handle prevent device transfer value on max_transfers
Improved
Accept Single Sign On id_token and customer_account_code params on license_activation endpoint
Improved
Created SSO authentication method
Improved
Added new api/v4/sso_url for generating AWS Cognito Single Sign On url for enabled customer accounts
Improved
Added SSO id_token validation method
Improved
Enable sending customer with id only when creating order

15.02.2022.
Improved
Return start_date field in license response on license check and license activation requests
Improved
Add start_date on the License model and return error if license activation attempted before this date
Improved
Extend trial_key endpoint with optional license_policy query param and assign first_name, last_name and phone_number to the license user if available

01.02.2022.
Improved
Replace deprecated requests library
Fixed
fastspring: Fix timeout with related offe
Improved
stripe: Support license_policy price attribute ( enable using custom_fields and product_features )

18.01.2022.
Improved
Expand company settings with allow_offline_floating_cloud

05.01.2022.
Fixed
Prevent floating_cloud licenses to be activated offline
Improved
Deprecated order and license webhooks
Improved
Added allow_trial and trial_days fields to license template

23.12.2021.
Improved
FastSpring: Update max_activations along floating_users on subscription update when floating_users_from_quantity attribute is present

16.11.2021.
Improved
Add CustomerAccount to the model and return customer_account if available
Improved
Append total_consumptions when deactivating offlin

03.11.2021.
Improved
Added is_initial_password and phone_number to the user object on license check and activation

19.10.2021.
Fixed
Added JSON validation on track_device_variables endpoint
Improved
Return error on trial_key if product does not allow trial
Improved
Expand installation file on license check
Fixed
Use true email inside user object on license check

06.10.2021.
Improved
Return overages with product features on license check and activation

22.09.2021.
Improved
Fastspring: Expand subscription.updated event logic to handle changing custom fields, product features and adding new licenses to the order

07.09.2021.
Improved
License API extended with license policiesr

1.09.2021
Improved
Floating slots check removed from license activation
Fixed
fastspring: Fix subscription.updated handler when floating_users_from_quantity attribute
Added
fastspring: Add assign_customer_as_user attribute
Added
stripe: Add is_license_manager attribute
Fixed
Fixed Order classMethod

27.07.2021
Improved
Offline deactivation file expanded to support license and license features consumptions update

08.07.2021
Improved
Added channel field to installation_file and expanded /installation_file endpoint with remaining fields
Fixed
Removed license_user_id from the Device
Fixed
stripe: Fixed customer.subscription.updated and customer.subscription.deleted events

08.07.2021
Improved
Added channel field to installation_file and expanded /installation_file endpoint with remaining fields
Fixed
Removed license_user_id from the Device
Fixed
stripe: Fixed customer.subscription.updated and customer.subscription.deleted events

22.06.2021
Improved
Created ping endpoint
Improved
Implemented license_user_id to the Device

22.06.2021
Improved
Created ping endpoint
Improved
Implemented license_user_id to the Device

15.06.2021
Improved
Added license_user_id to Device
Fixed
Stripe: Fixed subscription renewals
Improved
Added new analytics actions and expanded with status code

09.06.2021.
Improved
Expand check_license response with is_floating field

01.06.2021.
Improved
Add initial_password to the trial_key response and fix assignUser method

18.05.2021.
Improved
Fastspring: Add is_license_manager custom attribute to set customer as manager
Improved
Fix transfer_count logic and implement max_transfers
Fixed
Fix generating signature on license_check response (use ISO string format)
Improved
Created customer_license_users endpoint to list all license_users on all orders on some customer

11.05.2021.
Fixed
Added signature to license_check response
Improved
Expand /installation_file and /versions endpoint responses with release_date field, add env query param and return only versions and files with release date less than maintenance_period or validity_period of the license
Improved
Add requires_version field on installation files
Improved
Add overages and consumption resets on product features
Fixed
stripe: Fixed checking for a subscription id
Improved
Create order_users endpoint to list all license_users on some order

28.04.2021
Fixed
Fix installation_file fields on license_check response
Fixed
Fix sending emails on user/manager assign
Improved
stripe: Fix setting subscription as trial - use trial_end and trial_start fields
Improved
Include order_store_id to license check response
Improved
Save event data from integrations ( FastSpring, Stripe ) to LicenseHistory data field
Improved
Fix License activation usage report when source is sdk

20.04.2021.
Fixed
Create initial password for new users on trial licenses
Added
stripe: Add assign_customer_as_user custom attribute
Improved
stripe: Expand Stripe integration to receive trialing status and to respond on customer.subscription.updated event (# 24047525)
Improved
Added floating_in_use_devices in license check response

13.04.2021.
Added
Fastspring: Implemented subscription.updated event handling for single licenses
Added
Added license_key in check_license response
Added
Fastspring: Added custom attribute floating_users_from_quantity

06.04.2021.
Fixed
Attach device id to the updated license device on activation to fix missing device id bug

30.03.2021.
Improved
Expand license activation response with license_key and product_details
Improved
Send order reference when creating an order
Fixed
Fix getting installation files for user based products

23.03.2021.
Improved
Implement license floating timeout value
Fixed
Add consumption fields to offline activation response if license is consumption type
Added
fastspring: Added support for trial subscriptions
Added
fastspring: Added support for setting custom fields on licenses
Improved
Implemented transfer_count on licenses and add new DeviceActivationHistory table
Fixed
Check license validity_period on license_activation

09.03.2021.
Improved
Stripe: Get products from the database
Fixed
Fixed verification of user based offline license signature
Added
Added new LicenseHistory events: License activated, License deactivated, Consumption added, Feature consumption added, Floating release, Offline license activated, Offline license deactivated

02.03.2021.
Improved
use StripeEvent table to check for duplicate Stripe event
Improved
added optional allow_overages and max_overages request query params to add_consumption endpoint
Added
Stripe: implemented v1 of stripe LicenseSpring integration

16.02.2021.
Added
Implement time-limited product features using expiry_date field
Fixed
Prevent creating duplicate customers when using getTrialLicense webhook with same email address

09.02.2021.
Added
Prevent creating duplicate product features on order create
Added
subscriptions: log SQL query when prolonging license
Added
Fastspring: support for creating floating cloud licenses using custom attribute floating_cloud (int)
Fixed
Fastspring: fix setting validity_period on subscription prolong - event type subscription.charge.completed fix: properly set max_overages as unlimited when 0 is sent as a value
Fixed
send consumption_period and reset_consumption fields inside license activation and license check response payload
Added
Add requestID to newRelic attributes
Fixed
Fix failing LicenseHistory in check
Fixed
timeout on invalid call to webhook/license

1.12.2020.
Fixed
intermittent issues with webhook/order
Fixed
fastspring contextual - subscription.deactivated fix
Fixed
implemented support for duration in weeks (fastspring contextual and in general))
Improved
updated Licenses model with note property and using it in v4 post order on item for license db storage.
Fixed
extended existing snowflake algorithm with magic number randomness.
Added
api/v4/versions returns only enabled versions.
Added
api/v4/activate_license and api/v4/check_license for user-based license returns user object with email, first_name and last_name properties
Fixed
offline_activation additional headers saved to license device (app_ver, sdk_ver, ip_local, ...) license_activation and license_check - in case user has more then one license, using not the first but the last one from the database for activation / checkOrder
Added
api/v4/change_password user_email API parameter renamed to password and old_password API parameter to password
Added
api/v4/change_password implemented

1.12.2020.
Fixed
intermittent issues with webhook/order
Fixed
fastspring contextual - subscription.deactivated fix
Fixed
implemented support for duration in weeks (fastspring contextual and in general))
Improved
updated Licenses model with note property and using it in v4 post order on item for license db storage.
Fixed
extended existing snowflake algorithm with magic number randomness.
Added
api/v4/versions returns only enabled versions.
Added
api/v4/activate_license and api/v4/check_license for user-based license returns user object with email, first_name and last_name properties
Fixed
offline_activation additional headers saved to license device (app_ver, sdk_ver, ip_local, ...) license_activation and license_check - in case user has more then one license, using not the first but the last one from the database for activation / checkOrder
Added
api/v4/change_password user_email API parameter renamed to password and old_password API parameter to password
Added
api/v4/change_password implemented

16.7.2020
Added
support for floating on-prem in /webhook/order
Fixed
fix issue with assigning user licenses in /webhook/order
Added
allow setting maintenance_period on webhook/order
Improved
date is not a required header element on authorization (to support electron.js)

24.6.2020.
Fixed
Fixed license type on trial_key API. Previously the trial_key API was issuing trial keys that were perpetual. It now uses the default license type for which the product was configured.

23.6.2020.
Added
New error message: license_key_exists error when webhook/order receives an order with an existing license key
Fixed
Fixed consumption features assignment on webhook/order
Fixed
Fixed assignment of trial_days on trial_key API. It was previously defaulting to 30 day trial duration on perpetual licenses. Trial keys are now issued with the default trial duration as configured with the product.

18.6.2020
Added
Added the ability to set the value of custom_fields on webhook/order
Added
Changed value of the custom field value to be a TEXT
Fixed
Fixed trial key validity period when set explicitly through webhook/order
Fixed
Fixed times_activated on activate_license API

29.04.2020
Added
API added max_consumptions to response of api/v4/add_feature_consumption

08.04.2020
Added
API webhook: fixes to 2checkout key generation

03.04.2020
Added
API webhook/order - user-based licenses now assign users
Added
Implemented overages
Added
Added allow_overages, max_overages, reset_consumption and consumption_period to product and license UI
Added
API webhook/order - support for consumption overages implemented
Added
API max_overages and allow_overages implemented into v4/add_consumption

30.3.2020.
Added
API sending max_consumption(s) on add_feature_consumption and add_consumption endpointss

4.12.2019.
Added
API added times_activated and max_activations on check_license and activate_license endpoints
Fixed
BUG on API: fix license_custom_field API response




Updated 20 Nov 2024
Doc contributor
Doc contributor
Doc contributor
Did this page help you?