diff --git a/README.md b/README.md index 282ade4..bd4d055 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,9 @@ boundary and constraints that framework work must preserve. ## Release Guidance +The [v0.23.3 release notes](docs/releases/v0.23.3.md) cover HTTP operation-timeout +attribution, custom caller cancellation causes, and response-read error identity. + The [v0.23.2 release notes](docs/releases/v0.23.2.md) cover configuration, validation, and release-tool dependency updates without an API migration or Go minimum increase. diff --git a/docs/releases/v0.23.3.md b/docs/releases/v0.23.3.md new file mode 100644 index 0000000..649c490 --- /dev/null +++ b/docs/releases/v0.23.3.md @@ -0,0 +1,36 @@ +# Promptkit v0.23.3 + +This patch release corrects timeout attribution and preserves error identities +in the built-in OpenAI-compatible HTTP client. + +## Fixed + +- Operation budgets expiring during an in-flight HTTP generation request now + match both `ErrOperationTimeout` and `context.DeadlineExceeded`. Terminal + observations report a deadline failure instead of a transport failure. +- HTTP failures carrying custom caller cancellation or deadline causes retain + both the custom cause and the standard context identity. Unrelated transport + failures are not relabeled solely because a context has been canceled. +- Cancellation while reading a successful response body preserves the original + reader error alongside the context identity, without exposing its diagnostic + text through the redacted error message. + +Regression coverage exercises `Run` and `RunPrepared`, public error identities, +and attempt and terminal classifications. See the [request and timeout +contracts](../../types.go), [public error GoDoc](../../engine.go), and +[error-handling guide](../consumers/pkg-promptkit.md#handle-errors). + +## Compatibility And Upgrade + +No configuration or request API migration is required from v0.23.2. Consumers +using `errors.Is` for cancellation or deadline handling now receive the +correct identities on the affected paths; applications continue to own their +status mapping and diagnostic presentation. + +The Go consumer minimum remains 1.27.0, and dependency versions are unchanged. + +```sh +go get go.maximumdirect.net/promptkit@v0.23.3 +``` + +[COPYRIGHT](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.23.3/COPYRIGHT) | [LICENSE](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.23.3/LICENSE) | [ATTRIBUTION](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.23.3/docs/oss/attribution.md)