Skip to content

v0.33.0

Choose a tag to compare

@github-actions github-actions released this 03 Mar 03:29
· 107 commits to main since this release
1b50a39

Minor Changes

  • 1c6e597: BREAKING: defineErrors v2 — Rust-style namespaced errors with Err-by-default

    • Factories now return Err<...> directly (no dual FooError/FooErr factories)
    • Keys are short variant names (Connection, Parse) instead of ConnectionError
    • InferError<T> takes a single factory (typeof HttpError.Connection)
    • InferErrors<T> replaces InferErrorUnion<T> for union extraction
    • ValidatedConfig provides descriptive error when reserved name key is used