Skip to content

v8.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Sep 20:04
· 21 commits to master since this release
ac52282

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.