This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
neverthrow@8.0.0
Major Changes
#48409faf35 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.
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
neverthrow@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.
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.