Skip to content

Latest commit

 

History

History
70 lines (40 loc) · 3.71 KB

CHANGELOG.md

File metadata and controls

70 lines (40 loc) · 3.71 KB

neverthrow

8.1.1

Patch Changes

  • #600 3aee20a Thanks @m-shaka! - docs: updated README.md about safeTry and added @deprecated tag to safeUnwrap

8.1.0

Minor Changes

8.0.0

Major Changes

  • #484 09faf35 Thanks @braxtonhall! - Allow orElse method to change ok types. This makes the orElse types match the implementation.

    This is a breaking change for the orElse type argument list, as the ok type must now be provided before the err type.

    - result.orElse<ErrType>(foo)
    + result.orElse<OkType, ErrType>(foo)

    This only applies if type arguments were explicitly provided at an orElse callsite. If the type arguments were inferred, no updates are needed during the upgrade.

7.2.0

Minor Changes

  • #562 547352f Thanks @sharno! - change the return type of safeTry to be ResultAsync<T, E> instead of Promise<Result<T, E>> for better composability

7.1.0

Minor Changes

Patch Changes

7.0.1

Patch Changes

7.0.0

Major Changes

  • #553 5a3af0a Thanks @m-shaka! - Declare the minimum supported Node.js version

    Neverthrow does not depend on any Node.js version-specific features, so it should work with any version of Node.js that supports ES6 and other runtimes like Browser, Deno, etc.

    However, for the sake of maintaining a consistent development environment, we should declare the minimum supported version of Node.js in the engines field of the package.json file.