-
Notifications
You must be signed in to change notification settings - Fork 1
release: 0.29.0 #64
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
release: 0.29.0 #64
Conversation
15540e4 to
594c98d
Compare
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.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| // Note: The struct's existing fields will be ignored; only the provided JSON is serialized. | ||
| func SetJSON(rawJSON []byte, ptr anyParamStruct) { | ||
| ptr.setMetadata(json.RawMessage(rawJSON)) | ||
| } |
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.
Nil input causes inconsistent null detection behavior
Low Severity
When SetJSON receives a nil byte slice, it converts it to json.RawMessage(nil) (a typed nil) rather than treating it as a null value. This causes param.IsNull() to return false on the resulting struct, yet the struct serializes to "null". The inconsistency arises because setMetadata only recognizes untyped nil for setting metadataNull{}, while json.RawMessage(nil) is a typed nil that passes the override == nil check. This differs from Override[T](nil) which works correctly.
594c98d to
2bfdc52
Compare
|
🤖 Release is at https://github.com/kernel/kernel-go-sdk/releases/tag/v0.29.0 🌻 |
Automated Release PR
0.29.0 (2026-01-29)
Full Changelog: v0.28.0...v0.29.0
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Note
Low Risk
Mostly a versioned release with doc/comment updates; the only behavioral change is an additive helper (
param.SetJSON) that reuses existing override/metadata plumbing.Overview
Bumps the SDK version to v0.29.0 (release manifest,
internal/version.go, README install snippet) and updates release metadata (CHANGELOG.md,.stats.yml).Adds
param.SetJSONto allow sending request params from pre-built raw JSON (bypassing struct field serialization), and expands the documented list of supported browser viewport presets to include1280x800@60across browser/session and browser-pool types.Written by Cursor Bugbot for commit 2bfdc52. This will update automatically on new commits. Configure here.