Skip to main content

Changelog

The API and each SDK version separately. There is no single “Licensr 2.0” number.

Sellers: API behavior you care about (new fields, error codes) is described in the license calls guide. Integrators: pin an SDK tag and read that language’s GitHub Releases.

API​

Breaking and additive changes to https://api.licensr.app are documented in the license calls guide and reflected in the API reference.

Server keys, and a cap on test licenses​

Issuing a key asks whether it is a client key or a server key. A client key (pk_live_ / pk_test_) is the one you embed in an app. A server key (srv_live_ / srv_test_) is for your own server: it can start checkout and call the seller API, and a client key gets 403 insufficient_scope for those. Each test environment holds at most 100 active test licenses. Issuing another, or starting a test checkout, returns 409 test_license_limit until you revoke or delete some.

Offline tokens say whether they are live​

A token from /v1/license/token now carries livemode, which is false when it was minted with a test key (pk_test_…). Test and live tokens are signed with the same key, so the JavaScript, Go and C# SDKs (0.3.0) refuse a livemode: false token unless you allow test tokens, which you do only in a test build. If you verify tokens yourself, refuse them in builds you ship. The JavaScript and C# SDKs also check the product (pluginSlug / PluginSlug), as Go already did: every product of a store signs with the same key. See offline tokens.

Response shapes grouped (pre-launch)​

The license responses now keep what your product acts on at the top level and group the rest as information:

  • /v1/license/validate: valid, status, entitlement and feature_flags stay at the top. Plan, limits and expiry moved under license (plan_id, activation_mode, max_seats, max_domains, seats_in_use, expires_at). plan_name (always null) and fallback (the same as entitlement: "limited") were removed.
  • /v1/license/activate: activation_id and feature_flags stay at the top. The echoed activation_type and identifier moved under activation as type and identifier.
  • /v1/license/token: token stays at the top. algorithm, kid, issued_at, expires_at and jwks_url moved under details. The claims inside the token are unchanged.

The official SDKs return the same grouped shape (result.license, result.activation, token.details).

SDKs​

Each SDK ships on its own SemVer track. Release notes live on the public mirror for that language:

SDKPackageReleases
JavaScript / TypeScript@licensr/sdkgithub.com/tekunodev/licensr-js/releases
C++licensr (CMake)github.com/tekunodev/licensr-cpp/releases
C#Licensr.Sdk (NuGet / UPM)github.com/tekunodev/licensr-dotnet/releases
Gogithub.com/tekunodev/licensr-gogithub.com/tekunodev/licensr-go/releases

Pin to a tagged release in production. Pre-1.0 SDKs may still move the public surface — read the release notes before upgrading.