Skip to content

release: 0.45.0#90

Open
stainless-app[bot] wants to merge 11 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 0.45.0#90
stainless-app[bot] wants to merge 11 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Mar 23, 2026

Automated Release PR

0.45.0 (2026-03-28)

Full Changelog: v0.44.0...v0.45.0

Features

  • [kernel-1008] browser pools add custom policy (e740db7)
  • internal: support comma format in multipart form encoding (74f5c6a)

Bug Fixes

  • prevent duplicate ? in query params (66d97d3)

Chores

  • ci: skip lint on metadata-only changes (8296238)
  • ci: support opting out of skipping builds on metadata-only commits (708da0f)
  • client: fix multipart serialisation of Default() fields (cabda49)
  • internal: support default value struct tag (dd77af4)
  • internal: update gitignore (48baab7)
  • remove unnecessary error check for url parsing (05d2048)
  • update docs for api:"required" (abfd988)

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

Medium Risk
Medium risk because it changes core request serialization (query param concatenation, multipart encoding, and new default tag behavior) which can affect outbound request shapes across the SDK.

Overview
Bumps the SDK release to 0.45.0 (manifest, internal version constant, README pin, changelog/spec metadata) and tweaks CI to skip the build job for metadata-only codegen metadata commits.

Adds chrome_policy support to browser pool create/update/config types (with tests) and introduces a default:"…" struct tag used by internal JSON and multipart form encoders to emit default string values when fields are zero (also applied to several event/region fields). Multipart form encoding now supports comma-formatted arrays, and URL building avoids producing duplicate ? when appending query parameters.

Written by Cursor Bugbot for commit ee42d89. This will update automatically on new commits. Configure here.

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 23, 2026

🧪 Testing

To try out this version of the SDK:

Download and unzip: 'https://pkg.stainless.com/s/kernel-go/abfd9883774e74c2d4c2cc482377364432318e27/source.zip'. Run 'go mod edit -replace github.com/kernel/kernel-go-sdk=/path/to/unzipped_directory'.

Expires at: Mon, 27 Apr 2026 04:12:16 GMT
Updated at: Sat, 28 Mar 2026 04:12:16 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ab8652e to 13a8c98 Compare March 24, 2026 02:56
Note that we still want to run tests, as these depend on the metadata.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 13a8c98 to 26afb46 Compare March 25, 2026 02:31
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 26afb46 to e2ed144 Compare March 26, 2026 02:52
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e2ed144 to 7eb1834 Compare March 26, 2026 02:57
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7eb1834 to 92fed74 Compare March 26, 2026 14:39
@stainless-app stainless-app bot changed the title release: 0.44.1 release: 0.45.0 Mar 26, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 92fed74 to a3a0e2b Compare March 26, 2026 14:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a3a0e2b to 9a92786 Compare March 27, 2026 03:44
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9a92786 to 006ddd6 Compare March 27, 2026 03:48
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 006ddd6 to 4bdbc19 Compare March 27, 2026 03:49
Copy link
Copy Markdown

@cursor cursor bot left a 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.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

u = parsed.String()
} else {
u = u + "?" + params
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignored url.Parse error risks nil pointer dereference

Low Severity

The error from url.Parse(u) is discarded with parsed, _ := url.Parse(u). In Go's standard library, url.Parse returns nil for the *URL when it fails. If u contains control characters or invalid percent-encoding (e.g., %GG), parsed will be nil and the subsequent parsed.RawQuery access will panic with a nil pointer dereference.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4bdbc19 to 625e56e Compare March 28, 2026 04:05
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 625e56e to ee42d89 Compare March 28, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants