Skip to content

Release 1.7.0 - #270

Merged
thepwagner merged 1 commit into
mainfrom
pwagner/release-1.7.0
Dec 4, 2026
Merged

thepwagner merged 1 commit into
mainfrom
pwagner/release-1.7.0

Conversation

@thepwagner

Copy link
Copy Markdown
Contributor

Prepare the release of the opt-in v2 schema from #267. This PR only updates VERSION and CHANGELOG.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, apidiff found only additions across ejson, crypto, and json. 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/ejson import path. A Go module v2 would require a /v2 path 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 1 version digit that previous releases wrote. crypto.IsBoxedMessage now recognizes both formats.

After merge, tag the release commit v1.7.0 to publish the binaries and Ruby gem.

@thepwagner
thepwagner requested a review from a team as a code owner December 4, 2026 11:24
@thepwagner

Copy link
Copy Markdown
Contributor Author

Excuse the admin bypass, but this is just paperwork ✏️ .

@thepwagner
thepwagner merged commit 62f376b into main Dec 4, 2026
2 checks passed
@thepwagner
thepwagner deleted the pwagner/release-1.7.0 branch December 4, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant