feat: Auto upgrade installed.json to newer versions if platform index is still available.#3161
Merged
Merged
Conversation
installed.json to newer versions if index is available.
lucarin91
reviewed
Apr 9, 2026
8eafc38 to
3c64337
Compare
3c64337 to
209c636
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3161 +/- ##
==========================================
- Coverage 69.40% 69.40% -0.01%
==========================================
Files 252 252
Lines 19506 19536 +30
==========================================
+ Hits 13539 13559 +20
- Misses 4710 4717 +7
- Partials 1257 1260 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lucarin91
reviewed
Apr 13, 2026
Co-authored-by: Luca Rinaldi <to@lucar.in>
bb05f65 to
370f6e5
Compare
lucarin91
approved these changes
Apr 13, 2026
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.
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.mdhas been updated with a migration guide (for breaking changes)configuration.schema.jsonupdated if new parameters are added.What kind of change does this PR introduce?
Auto-upgrade of
installed.jsonas described in #3155What is the current behavior?
Platforms installed with an older Arduino CLI may not benefit from new features in the latest Arduino CLI version unless the platform is uninstalled and reinstalled.
What is the new behavior?
New features of the Arduino CLI are immediately available, since the
installed.jsonfile is automatically updated to the latest version if possible.Does this PR introduce a breaking change, and is titled accordingly?
No
Other information
Fix #3155