Skip to content

Releases: supermacro/neverthrow

v8.1.1

25 Oct 03:00
46f8814
Compare
Choose a tag to compare

Patch Changes

v8.1.0

23 Oct 03:21
351d4fc
Compare
Choose a tag to compare

Minor Changes

v8.0.0

08 Sep 20:04
ac52282
Compare
Choose a tag to compare

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.

v7.2.0

07 Sep 18:20
2d6e1dd
Compare
Choose a tag to compare

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

v7.1.0

29 Aug 19:55
fb29403
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v7.0.1

15 Aug 04:25
599f28b
Compare
Choose a tag to compare

Patch Changes

v7.0.0

29 Jul 00:54
3653980
Compare
Choose a tag to compare

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.

Performance improvements 🏎️ 💨

02 Jun 16:41
Compare
Choose a tag to compare

This patch ships #538 which makes the combine APIs significantly faster. Now running the combine apis on large lists is significantly faster.

Thank you @flowreaction for the PR 👏

Fix empty dist folder

22 Apr 15:44
Compare
Choose a tag to compare

New `ResultAsunc.fromThrowable`

21 Apr 20:26
Compare
Choose a tag to compare

Addresses #488 & implements the .fromThrowable method on ResultAsync.

Thanks to @ehaynes99 for implementing this 🚀


👉 Reminder; I'm looking for a maintainer to help out:

#531