feat: in-app "Update available" view with release notes and installer download#18
Merged
Conversation
… download Add an update flow to the moonbase_licensing JUCE module. When a validated license reports a newer released version than the running app (the p:rel claim), the module shows an "Update available" screen with the release's plain-text notes and downloads the new installer for the current platform in-app, with progress. - SDK: header-only semver compare (version.hpp) and an inventory_client (inventory.hpp) that calls /api/customer/inventory with a LicenseToken. - Controller: Screen::UpdateAvailable, async notes fetch + DownloadTask, auto-present on open (config.autoPresentUpdate), and persisted "Skip this update" via a JSON state file (ActivationState). - View: UpdateAvailableView (scrollable plain-text notes), an "Update available" badge in the license view, and a double-click-Active escape hatch that reveals the license folder. - Tests: semver, inventory, controller, and visual snapshots. Docs updated.
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Parse downloadsNeedsUser / downloadsNeedsOwnership from the product response and derive moonbase::can_download(license, info): a full (non-trial) license owns the product and can download; a trial cannot download from an owners-only product (the default). When the license isn't entitled, the update screen swaps the Download button for an "Unlock full version" CTA plus a short note, so trial users get a conversion prompt instead of a 403. Adds unit tests, a gated visual snapshot, and docs.
github-actions Bot
pushed a commit
that referenced
this pull request
Jun 29, 2026
# [3.3.0](v3.2.0...v3.3.0) (2026-06-29) ### Features * in-app "Update available" view with release notes and installer download ([#18](#18)) ([7aee6e6](7aee6e6))
|
🎉 This PR is included in version 3.3.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.
Adds an in-app update flow to the moonbase_licensing JUCE module: when a validated license's released-version claim (p:rel) outranks the running app, an "Update available" screen shows the release's plain-text notes (scrollable) and downloads the new installer for the current platform via the backend inventory endpoints (authenticated with the license token), with progress and reveal-in-file-browser. It auto-presents on plugin open (config.autoPresentUpdate), is also reachable from an "Update available" badge in the license view, and "Skip this update" is remembered across restarts via a small JSON state file (ActivationState). Two header-only SDK pieces back it: a tolerant semver comparator (version.hpp) and an inventory_client (inventory.hpp). It also adds unit tests (semver, inventory, controller), visual snapshots, docs, and a double-click-"Active" escape hatch that reveals the license folder; the native sample is bumped to 0.0.1 so the flow is easy to exercise.