-
Promptkit v0.23.1 Stable
released this
2026-11-16 19:56:38 +00:00 | 0 commits to main since this releasePromptkit v0.23.1
This patch release fixes construction-error wrapping so downstream consumers
can classify failures from their underlying causes without treating the
ErrInvalidConfigcategory as an independent failure.Fixed
NewEnginenow uses single-cause wrapping for both configuration-loading and
option-application failures.errors.Isstill recognizesErrInvalidConfig,
anderrors.Asstill exposes ConfigKit loading errors with their diagnostics
and source context. Genuine joined causes, including cancellation, remain
inspectable. Consumers retain responsibility for mapping those failures to
application outcomes or exit statuses.See the constructor GoDoc and
error-handling guide for the
public error contracts and usage.Compatibility And Upgrade
No configuration or request changes are required when upgrading from v0.23.0.
Consumers that inspect constructor error trees directly should account for
the category no longer appearing as a separate sibling branch; use
errors.Isanderrors.Asfor category and typed-cause inspection.The Go consumer minimum remains 1.27.0, and dependency versions are unchanged.
go get go.maximumdirect.net/promptkit@v0.23.1Downloads