• eric released this 2026-11-16 19:56:38 +00:00 | 0 commits to main since this release

    Promptkit v0.23.1

    This patch release fixes construction-error wrapping so downstream consumers
    can classify failures from their underlying causes without treating the
    ErrInvalidConfig category as an independent failure.

    Fixed

    NewEngine now uses single-cause wrapping for both configuration-loading and
    option-application failures. errors.Is still recognizes ErrInvalidConfig,
    and errors.As still 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.Is and errors.As for 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.1
    

    COPYRIGHT | LICENSE | ATTRIBUTION

    Downloads