Files
promptkit/docs/releases/v0.24.0.md

22 lines
1.1 KiB
Markdown

# Promptkit v0.24.0
This feature release adds an opaque message-content hash to prepared results.
It identifies the ordered prepared message roles and exact text independently
of session identity, cache hints, and other metadata. The existing rendered
prompt hash is unchanged. See the [prepared-result GoDoc](../../types.go) and
[consumer guide](../consumers/pkg-promptkit.md#prepare-now-and-execute-the-same-snapshot-later).
## Compatibility And Upgrade
Prepared-result JSON now includes `message_content_hash`; older JSON without it
decodes with an empty value. The new Go struct field is additive, though callers
using positional `PreparedRun` literals may need to adjust them. No configuration
migration is required. ConfigKit is updated to v1.3.0; the Go consumer minimum
remains unchanged.
```sh
go get go.maximumdirect.net/promptkit@v0.24.0
```
[COPYRIGHT](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.24.0/COPYRIGHT) | [LICENSE](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.24.0/LICENSE) | [ATTRIBUTION](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.24.0/docs/oss/attribution.md)