Repository navigation
feat: add-on (sub-product) seats, trials and listing - #45
Merged
Merged
Conversation
Licenses now carry the add-ons the merchant includes in them (the `sp` claim), and the SDK can take a seat of an add-on, start its trial and list the product's add-ons with prices, ownership, seats and trial status. Core SDK: - Parse the `sp` claim into license::sub_products, with has_sub_product(). - license_client and licensing gain activate_sub_product, request_sub_product_trial and list_sub_products, a no_eligible_license_error for an add-on with no free seat, and an auto_activate_sub_products option. - Answers are stored under the store's lock in the order the server gave them, and a validation tie between differing tokens is settled by the server. JUCE module: - ActivationController: hasSubProduct, activeSubProducts, subProductFlag (a lock-free flag for the audio thread), activateSubProduct, requestSubProductTrial, loadAddOns, refreshAddOns and buySubProduct. - An opt-in add-ons screen (config.showAddOns), reached from the license view. - Add-on lapses, purchases in the browser and countdowns are picked up while the plugin is open. - The HTTP transport cancels every request in flight on teardown, not only the latest. Docs, screenshots, unit tests, live tests and visual snapshots cover the new API and screens.
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
# [4.12.0](v4.11.0...v4.12.0) (2026-10-20) ### Features * add-on (sub-product) seats, trials and listing ([#45](#45)) ([a2ae91c](a2ae91c))
|
🎉 This PR is included in version 4.12.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Licenses now carry the add-ons the merchant includes in them (the
spclaim), and the core SDK can take a seat of an add-on, start its trial and list the product's add-ons with prices, ownership, seats and trial status (activate_sub_product,request_sub_product_trial,list_sub_products, plusno_eligible_license_errorand anauto_activate_sub_productsoption). The JUCE module adds the matchingActivationControllerAPI, includingsubProductFlag()for the audio thread, and an opt-in add-ons screen (config.showAddOns) that picks up purchases, lapses and day-by-day countdowns while the plugin is open. Server answers are stored under the license store's lock in the order the server gave them, and the JUCE HTTP transport now cancels every request in flight on teardown, not only the latest. Covered by new core and JUCE tests (core 189/189, JUCE 147/147 on both 8.0.4 and 6.1.3), visual snapshots, docs and screenshots.