diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 86b0e83..cb9d254 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.21.0" + ".": "0.22.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index edacf12..7139e6a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 53 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/hypeman-eb4f6a68824524c05a939d52eba9b52f2cae6515dac6e6afa1b6d3f4aa5b6a9e.yml -openapi_spec_hash: ed9f74727470b32ac5a41fa21aaa4e24 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/hypeman-57b8076562c76340e23b7044d2618c89573251deb6069ae96224bb72dfa8b8fb.yml +openapi_spec_hash: dcaf246a5139bc05a0167bc42895113d config_hash: 6c3d12df98dffe34327778fe148a9556 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e77214..60c09af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.22.0 (2026-07-29) + +Full Changelog: [v0.21.0...v0.22.0](https://github.com/kernel/hypeman-go/compare/v0.21.0...v0.22.0) + +### Features + +* Make an auto-standby hold replace the previous deadline ([4d1c198](https://github.com/kernel/hypeman-go/commit/4d1c198cf55391d189a04e50591650c7af175f53)) + ## 0.21.0 (2026-07-28) Full Changelog: [v0.20.0...v0.21.0](https://github.com/kernel/hypeman-go/compare/v0.20.0...v0.21.0) diff --git a/README.md b/README.md index 86fba72..9e42b3c 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Or to pin the version: ```sh -go get -u 'github.com/kernel/hypeman-go@v0.21.0' +go get -u 'github.com/kernel/hypeman-go@v0.22.0' ``` diff --git a/instanceautostandby.go b/instanceautostandby.go index 2566893..8b4e0b9 100644 --- a/instanceautostandby.go +++ b/instanceautostandby.go @@ -36,6 +36,10 @@ func NewInstanceAutoStandbyService(opts ...option.RequestOption) (r InstanceAuto // instance into standby before `hold_until`, and cancels any queued auto-standby // attempt. // +// Each hold replaces the instance's previous hold, so `hold_until` always reflects +// the most recent call. Holding again after the policy's `idle_timeout` is +// shortened moves `hold_until` earlier. +// // Callers may use this before opening a connection to a candidate-idle instance: a // 200 means it is safe to connect until `hold_until`; a 409 means the instance is // in standby (or irrevocably entering it) and must be restored first. diff --git a/internal/version.go b/internal/version.go index b6325aa..e482b6b 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "0.21.0" // x-release-please-version +const PackageVersion = "0.22.0" // x-release-please-version