Repository navigation
docs(go): an rc.6 changelog section #1706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2,14 +2,42 @@ | |||||||||||||||
|
|
||||||||||||||||
| Changes to the Go module `github.com/cipherstash/stack/languages/golang`: | ||||||||||||||||
| the SDK (`encrypt`), the generator (`stashgen`, `cmd/stashgen`) and the | ||||||||||||||||
| credential package (`auth`). | ||||||||||||||||
| credential package (`auth`). From rc.6 it also covers the module | ||||||||||||||||
| `github.com/cipherstash/stack/languages/golang/encrypt/encrypttest`, which | ||||||||||||||||
| is released at the same version. | ||||||||||||||||
|
|
||||||||||||||||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||||||||||||||||
| The module is pre-1.0, so a minor version may break the API; every break is | ||||||||||||||||
| listed under **Breaking**. Releases are tagged `languages/golang/vX.Y.Z`. | ||||||||||||||||
| listed under **Breaking**. Releases are tagged `languages/golang/vX.Y.Z`, | ||||||||||||||||
| and `languages/golang/encrypt/encrypttest/vX.Y.Z` on the same commit. | ||||||||||||||||
|
|
||||||||||||||||
| ## [Unreleased] | ||||||||||||||||
|
|
||||||||||||||||
| ## [0.1.0-rc.6] - 2026-11-18 | ||||||||||||||||
|
|
||||||||||||||||
| ### Upgrading from rc.5 | ||||||||||||||||
|
|
||||||||||||||||
| Update the SDK: | ||||||||||||||||
|
|
||||||||||||||||
| ```sh | ||||||||||||||||
| go get github.com/cipherstash/stack/languages/golang@v0.1.0-rc.6 | ||||||||||||||||
| ``` | ||||||||||||||||
|
|
||||||||||||||||
| If your program imports `encrypttest`, add its module at the same version. | ||||||||||||||||
| Without it, the program does not build. The Breaking section explains why. | ||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor
Suggested change
Source: code-review · claude-opus-5-5 Generated by Claude Code |
||||||||||||||||
|
|
||||||||||||||||
| ```sh | ||||||||||||||||
| go get github.com/cipherstash/stack/languages/golang/encrypt/encrypttest@v0.1.0-rc.6 | ||||||||||||||||
| ``` | ||||||||||||||||
|
|
||||||||||||||||
| The EQL SQL has not changed since rc.5. The `eql-v4-install.sql` attached | ||||||||||||||||
| to this release differs from rc.5's only in its version stamp. If you | ||||||||||||||||
| installed rc.5's bundle, you do not need to run it again. | ||||||||||||||||
|
|
||||||||||||||||
| Run `go generate ./...` again only if you generate code under Go 1.27 and | ||||||||||||||||
| a struct has a `json.RawMessage` field. The Fixed section describes the | ||||||||||||||||
| change. | ||||||||||||||||
|
Comment on lines
+37
to
+39
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor The trigger is jsonv2 being on when the code was generated, not Go 1.27. On Go 1.26 with
Suggested change
Source: code-review · claude-opus-5-5 Generated by Claude Code |
||||||||||||||||
|
|
||||||||||||||||
| ### Added | ||||||||||||||||
|
|
||||||||||||||||
| - **`encrypttest.NewClient`: a client for your application's tests that | ||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor This line gives the
encrypttesttag for every release, butlanguages/golang/encrypt/encrypttest/v0.1.0-rc.5and earlier tags do not exist, because the package lived inside the SDK module until rc.6. Limit it to rc.6 and later, as lines 5-7 already do.Source: code-review · claude-opus-5-5
Generated by Claude Code