Skip to content

release: 0.12.0#26

Merged
stainless-app[bot] merged 7 commits intomainfrom
release-please--branches--main--changes--next
Feb 26, 2026
Merged

release: 0.12.0#26
stainless-app[bot] merged 7 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 17, 2026

Automated Release PR

0.12.0 (2026-02-26)

Full Changelog: v0.11.0...v0.12.0

Features

  • add metadata and state filtering to GET /instances (8149c9f)
  • Disable default hotplug memory allocation (4c65d5c)

Bug Fixes

  • allow canceling a request while it is waiting to retry (daa2281)
  • send query params for NewFromArchive (a8c45a6)

Chores

  • internal: move custom custom json tags to api (d04f6ed)
  • internal: remove mock server code (b511676)
  • update mock server docs (d2ae478)

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
Changes public SDK surface area (Instances.List now requires InstanceListParams) and alters request retry waiting to respect context cancellation; both could affect existing callers and request behavior. The widespread struct-tag migration is largely mechanical but touches serialization/validation paths across many models.

Overview
Bumps the SDK to v0.12.0 and updates generated artifacts/docs.

Adds query filtering for GET /instances by introducing InstanceListParams (metadata deepObject + state) and updating Instances.List to accept these params; also clarifies that omitting hotplug_size disables hotplug memory.

Improves HTTP retry behavior by allowing context cancellation during backoff waits, and migrates custom struct-tag semantics from json/form tags to a dedicated api tag (required, extrafields) across models and internal parsers.

Removes the Prism/mock-server helper script and simplifies ./scripts/test, while updating test skip messages and contributing docs accordingly.

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

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4c2678f to 62bdb1a Compare February 17, 2026 15:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 62bdb1a to 8149297 Compare February 18, 2026 14:06
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8149297 to 7b2801e Compare February 20, 2026 08:31
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7b2801e to bd75ef8 Compare February 20, 2026 08:32
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from bd75ef8 to 11e001c Compare February 25, 2026 08:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 11e001c to 2cd2e2d Compare February 26, 2026 15:31
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.

case <-ctx.Done():
return ctx.Err()
case <-time.After(retryDelay(res, retryCount)):
}
Copy link

Choose a reason for hiding this comment

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

Timer leak when context cancelled during retry

Medium Severity

Using time.After in the retry select causes a timer leak when the context is cancelled before the delay expires. The timer from time.After is not stopped on early return, so it stays in memory until it fires.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot merged commit 40bbd48 into main Feb 26, 2026
5 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Feb 26, 2026

🤖 Release is at https://github.com/kernel/hypeman-go/releases/tag/v0.12.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