Skip to content

release: 0.16.0#31

Merged
stainless-app[bot] merged 16 commits intomainfrom
release-please--branches--main--changes--next
Mar 23, 2026
Merged

release: 0.16.0#31
stainless-app[bot] merged 16 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

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

Automated Release PR

0.16.0 (2026-03-23)

Full Changelog: v0.15.0...v0.16.0

Features

  • add active ballooning reclaim controller (b8ecb54)
  • Add always-on /metrics endpoint with dual pull/push telemetry (0b3751a)
  • Add optional snapshot compression defaults and standby integration (b6d9ab3)
  • add optional VM egress MITM proxy with mock-secret header rewriting (e8b721c)
  • Add strict metadata tags across mutable resources (8b5543e)
  • Rename tag fields from metadata to tags (2f8e29e)
  • Snapshot (c4a0fbb)
  • support updating egress proxy secret envs for key rotation (96b3209)

Chores

  • ci: skip uploading artifacts on stainless-internal branches (0d9d654)
  • internal: codegen related update (e6a6702)
  • internal: minor cleanup (1917d6d)
  • internal: tweak CI branches (6dc7e68)
  • internal: use explicit returns (923db74)
  • internal: use explicit returns in more places (16131b8)
  • update placeholder string (bea84ac)

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
Adds multiple new API surfaces (snapshots, instance update/standby params, memory reclaim) and changes several method signatures (e.g., List now takes query params, Standby now takes a body), which may be breaking for SDK consumers. Also tweaks retry-delay handling, which can affect client-side request behavior under throttling.

Overview
Bumps the SDK to v0.16.0 and updates generated docs/metadata (CHANGELOG.md, README.md, .stats.yml).

Expands the API surface with snapshot management (new Snapshots service plus Instances.Snapshots for create/restore), instance mutation via Instances.Update, and a memory reclaim endpoint (Resources.ReclaimMemory) with new request/response models.

Introduces a cross-resource tags pattern (replacing/augmenting prior metadata semantics) by adding tags fields to multiple resources and tag-based filtering for list endpoints; also changes several List methods to accept explicit query param structs.

Includes internal/CI maintenance: CI branch filtering + skipping artifact uploads on stl/* branches, safer/explicit returns and error handling in internal encoders/decoders, and adjusted retry delay behavior to honor Retry-After without the previous 1-minute cap.

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

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 7, 2026

🧪 Testing

To try out this version of the SDK:

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

Expires at: Wed, 22 Apr 2026 17:11:36 GMT
Updated at: Mon, 23 Mar 2026 17:11:36 GMT

Copy link

@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.

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

// If the API asks us to wait a certain amount of time (and it's a reasonable amount),
// just do what it says.

if retryAfterDelay, ok := parseRetryAfterHeader(res); ok && 0 <= retryAfterDelay && retryAfterDelay < time.Minute {
Copy link

Choose a reason for hiding this comment

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

Retry delay upper bound removed, risking indefinite blocking

Medium Severity

The retryDelay function previously capped the server's Retry-After value at one minute (retryAfterDelay < time.Minute), falling through to exponential backoff (max 8 seconds) for larger values. The new code removes this upper bound entirely via return max(0, retryAfterDelay), so a misconfigured or adversarial server returning a very large Retry-After (e.g. hours or days) will cause the client to block for that entire duration. The select on ctx.Done() at line 468 only helps if the caller set a context deadline — callers using context.Background() would hang indefinitely.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ee5a272 to 7bda7cf Compare March 7, 2026 18:34
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7bda7cf to 1fcdb42 Compare March 7, 2026 19:52
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1fcdb42 to ffaf115 Compare March 7, 2026 19:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ffaf115 to 8795b2c Compare March 9, 2026 19:16
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8795b2c to 9672ea8 Compare March 9, 2026 20:36
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9672ea8 to b9a554d Compare March 11, 2026 10:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b9a554d to e3c31b4 Compare March 11, 2026 10:55
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e3c31b4 to 32d3e98 Compare March 11, 2026 11:01
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 32d3e98 to 799915c Compare March 17, 2026 12:38
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 799915c to a919e57 Compare March 19, 2026 17:55
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a919e57 to 8b7e518 Compare March 20, 2026 22:27
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8b7e518 to 5c77410 Compare March 23, 2026 16:47
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5c77410 to 5c811cd Compare March 23, 2026 17:11
@stainless-app stainless-app bot merged commit 0409b18 into main Mar 23, 2026
7 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 23, 2026

🤖 Release is at https://github.com/kernel/hypeman-go/releases/tag/v0.16.0 🌻

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.

1 participant