Repository navigation
docs(golang): the 0.1.0-rc.7 changelog section - #1814
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
cipherstash-agent
left a comment
There was a problem hiding this comment.
Review attestation
Reviewed 51754ae · posted from Claude Code · claude-opus-5-5 · code-review effort medium
Sources: code-review · claude-opus-5-5; mattpocock-skills:code-review (standards and spec agents) · claude-opus-5-5
Skills: code-review, mattpocock-skills:code-review, rust-security (the diff has no Rust, so it had nothing to apply to), review-cross-check
Findings (7): 7 minor — 4 inline, 3 below.
These three are in text this PR makes part of the rc.7 release notes, outside the diff:
languages/golang/CHANGELOG.md:67-72(outside diff) minor The AddedChildrenentry saysOpenrefuses any entry that is not a child of the node atpath, butJSONChildren.Open's godoc (encrypt/json.go:604-612) says the tags are not authenticated, so a database that forges tags can return$.items[0]'s children for a read of$.items[1], andOpenaccepts them. Add the godoc's caveats, including thatOpendoes not check every child was returned.languages/golang/CHANGELOG.md:219(outside diff) minor The #1398Matchesentry is a bug fix ("Before this fix…") under### Changed. rc.7 has no### Fixed, while rc.6, rc.5 and rc.3 have one. Move it under a### Fixedheading.languages/golang/CHANGELOG.md:101-103(outside diff) minor The Audit metadata entry leaves out two rules inencrypt/audit.go: maps and lists nested more than 32 deep are refused withErrEncoding(:87,:158), and a non-finite float is sent as null (:78). Add both.
Checked and not raised: the EQL claim at lines 41-43 holds. v4 bundles built from rc.6 and from this head are byte-identical apart from the stamp, and none of the PRs merging first touches packages/eql. Re-check by diffing the built bundle, not packages/eql/src alone, because tasks/build.sh also reads crates/eql-codegen and Cargo.lock.
Generated by Claude Code
Review of #1814: - The upgrade note said every project must run go generate; only a []byte field with an order index needs it. Generating again gives Children its new type, and then code that keeps a JSONToken takes .Token(). The failing calls are left to the Breaking entry. - The date check names the exact Date and time.Time bounds and the ErrAuthentication a value outside them gives. - JSONChildren is generic: the notes name JSONChildren[eql.JSONEntry], as stashgen writes it. - The Children entry says what Open does not check: every child, the row, and, within an array, the tags, which a database can forge. - The audit entry adds the 32-level nesting limit and that a non-finite float is sent as null. - The #1398 Matches entry is a fix, so it moves to a Fixed heading.
|
Review findings addressed in 3662fd7:
|
Turns Unreleased into 0.1.0-rc.7 and adds the upgrade notes: update both modules, run go generate again (Children's new type, and the refused order index on bytes), check stored dates against the new range, and the EQL SQL is unchanged since rc.6. release-golang.yml takes the release page's notes from this section.
Review of #1814: - The upgrade note said every project must run go generate; only a []byte field with an order index needs it. Generating again gives Children its new type, and then code that keeps a JSONToken takes .Token(). The failing calls are left to the Breaking entry. - The date check names the exact Date and time.Time bounds and the ErrAuthentication a value outside them gives. - JSONChildren is generic: the notes name JSONChildren[eql.JSONEntry], as stashgen writes it. - The Children entry says what Open does not check: every child, the row, and, within an array, the tags, which a database can forge. - The audit entry adds the 32-level nesting limit and that a non-finite float is sent as null. - The #1398 Matches entry is a fix, so it moves to a Fixed heading.
3662fd7 to
6278fe1
Compare
Summary
The changelog section for Go SDK
v0.1.0-rc.7.release-golang.ymlrefuses to build a version whose## [X.Y.Z]section is missing or empty, and it uses this section as the release page's notes. Merge this last, after the PRs below. Its only change is a heading and an upgrade note inserted right after## [Unreleased], so each merged PR's entries land inside rc.7.Changes
languages/golang/CHANGELOG.md:## [0.1.0-rc.7] - 2026-11-25. Unreleased's entries are corrected where review found them wrong (see the comment below), the match index: "Mike Ng" no longer finds "Mike Nguyen" with short words; cut query word tokens only when the query has no n-gram #1398 fix moves under### Fixed, and "Upgrading from rc.6" covers:go generate ./...again if a[]bytefield has an order index, which rc.7 refuses; generating again also givesChildrenits new type;Merge order for the release
Merged: #1773, #1806, #1804, #1784 and #1785. This branch is rebased onto them. Its
### Fixedsection holds the #1398Matchesfix and the entries for #1780, #1781 and #1793/#1795. #1804's rebase dropped #1784's sentence about #1793.Still to merge, in either order:
Then this PR. #1786 edits the #1768 entry under Changed, so this branch may need one more rebase after it. I'll do it.
Then dispatch:
gh workflow run release-golang.yml -f version=0.1.0-rc.7 --ref next.Verification
node scripts/go-release-notes.mjs 0.1.0-rc.7prints the section.node scripts/go-release-version.mjs 0.1.0-rc.7 refs/heads/nextreports "may be released from refs/heads/next". A pre-release may come fromnext, and may keep the vitaminc pseudo-version pin.git diff languages/golang/v0.1.0-rc.6 origin/next -- packages/eql/srcis empty, which is the basis for the EQL note.