chore(release): prepare v0.2.0#11
Merged
Merged
Conversation
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.
Summary
Bumps version 0.1.0 → 0.2.0 ahead of release.
Breaking changes in v0.2.0
Under semver 0.x convention, breaking CLI changes bump the minor.
1.
auth loginshort-circuits when already authenticated (#9)Pre-0.2.0, running
ags auth loginagainst a session with a valid access token would re-run the full grant — opening the browser forauthorization-codeor re-exchanging forclient-credentials. Post-0.2.0 it short-circuits with✔ Authenticated({"status": "already_authenticated"}in JSON mode) and exits 0 without contacting the server. Scripts that calledauth loginas a "force-refresh" gesture will no longer trigger a re-login. To force a fresh grant, runags auth logoutfirst.2. Two CLI commands renamed (#10)
ags lobby blocks symc→ags lobby blocks sync(was a typo in the x-operationId)ags social stat-cycles export --api-scope public→ags social stat-cycles get --api-scope public(was misclassified; the admin variant is unchanged)Additive in v0.2.0
ags basic profiles update-my-zip-codecommand — previously silently dropped at parse time because of the malformed x-operationId fixed in fix(catalogue): assert x-operationId shape and correct malformed ids #10.auth login --format json:logged_in,already_authenticated,refreshed. These shapes are now contractual rather than incidental.token_expires_in/refresh_expires_invalues inauth status --format json— the prior0-sentinel could be misread as "expired" and is gone.Side effect: free spec-cache invalidation
Cargo.tomlversion is checked insrc/catalogue/cache.rs:59to validate the on-disk parsed-spec cache. Bumping the version invalidates every existing user cache on first run post-upgrade, forcing a rebuild from the (now corrected) bundled specs. No need to ship a separateags refresh-specsinstruction.Test plan
cargo test --lib— 494 passedcargo run -- --versionreportsags 0.2.0