Repository navigation
Release 1.7.0 - #270
Merged
Merged
Release 1.7.0#270
Conversation
Contributor
Author
|
Excuse the admin bypass, but this is just paperwork ✏️ . |
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.
Prepare the release of the opt-in v2 schema from #267. This PR only updates
VERSIONandCHANGELOG.md.Why 1.7.0, not 2.0.0?
v2 is the document format, not a new major version of the Go API. Compared with v1.6.2,
apidifffound only additions acrossejson,crypto, andjson. Default key generation still produces v1 keys. We tested v1 files in both directions: 1.6.2 decrypted files written by the new CLI, and the new CLI decrypted files written by 1.6.2. The suite also passed on the existing minimum Go version (1.26.0).A minor release reflects that compatibility and keeps the
github.com/Shopify/ejsonimport path. A Go module v2 would require a/v2path and downstream import changes even for callers that never migrate a file.Compatibility boundary: Upgrade all readers and writers before migrating a file; older clients cannot read v2. V1 encryption now rejects strings shaped like v2 ciphertext instead of encrypting them as plaintext, and v1 decryption requires the
1version digit that previous releases wrote.crypto.IsBoxedMessagenow recognizes both formats.After merge, tag the release commit
v1.7.0to publish the binaries and Ruby gem.