Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 00:12
· 245 commits to main since this release
4475f7b

Minor Changes

  • 0143960: Align TaggedError type parameter order with createTaggedError

    Changed TaggedError<TName, TCause, TContext> to TaggedError<TName, TContext, TCause> so both APIs use consistent ordering. This simplifies context-only error definitions:

    Before:

    type NetworkError = TaggedError<"NetworkError", never, { host: string }>;

    After:

    type NetworkError = TaggedError<"NetworkError", { host: string }>;

    Single-generic usage (TaggedError<"Name">) is unaffected.