Document prepared message content hashes
This commit is contained in:
20
docs/releases/v0.24.0.md
Normal file
20
docs/releases/v0.24.0.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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. The Go consumer minimum and dependencies are 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)
|
||||
Reference in New Issue
Block a user