Skip to content

1.1.21

Compare
Choose a tag to compare
@michaelbull michaelbull released this 16 Mar 21:09
· 13 commits to master since this release

This release serves as a bridge towards v2 and the last major release of v1.

Old behaviours have been deprecated in a non-breaking manner to anticipate the breaking changes of v2.

Additions

Deprecations

  • Deprecate getAll, getAllErrors in favour of filterValues & filterErrors (aca9ad9)
  • Deprecate ResultBinding in favour of BindingScope (dd5c96f)
  • Deprecate suspending variant of binding in favour of coroutineBinding (b19894a)
    • This matches the internally-called function named coroutineScope, and helps consumers distinguish between the blocking variant that is otherwise only differing in package name.
    • This should also help convey to readers that structured concurrency will occur within the block.
  • Deprecate Ok/Err as return types (7ce7c16)
    • This is in preparation for the v2 release where these don't exist as types.
  • Deprecate getAll/getAllErrors in favour of valuesOf/errorsOf (522c821)