What's Changed
New or improved functionality
- Make ensureNotNullOrAccumulate return a Value by @kyay10 in #3635
- Unmark AcquireStep to allow installing resources inside
install
by @kyay10 in #3654 - Expose a few operations from
NonEmpty
collections to Java by @serras in #3647 - Race until one of the tasks succeeds by @serras in #3603
- "At most once" computation for Eval by @serras in #3673
- Experimental: Unify IorRaise and RaiseAccumulate APIs by @kyay10 in #3665
- Unmark Effect.invoke as operator by @kyay10 in #3679
- Ktor Raise call.respondOrRaise using context-parameters by @tKe in #3663
- Improve performance of
RaiseCancellationException
for JS platform by @sgrishchenko in #3656 - Raise with context parameters by @serras in #3646
Bug fixes
- Respect upper bounds of generics by @serras in #3694
- Remove incorrect and misleading returns(null) contracts by @kyay10 in #3703
- Fix crosswalk ordering logic by @jsoizo in #3701
- Do not call
distinct
onNonEmptySet
by @serras in #3674
Test coverage (thanks to @theycome)
- Complete test coverage for
IterableTest.kt
(#2894) by @theycome in #3632 - Test coverage for
Either.kt
Ior.kt
currying.kt
(#2894) by @theycome in #3637 - Test coverage for
map
NonEmptyList
(#2894) by @theycome in #3643 - Test coverage for
Comparison
,Either
,Option
(#2894) by @theycome in #3648 - Test coverage for
NonEmptyList
(#2894) by @theycome in #3659 - Test coverage for
NonEmptySet
,Result
(#2894) by @theycome in #3660 - Test coverage for
Sequence
(#2894) by @theycome in #3676 - Tests with KSP2 by @serras in #3693
- Test coverage for
SingletonRaise
by @theycome in #3700
Migration to new plug-ins and libraries
- Migrate to Android KMP plug-in by @serras in #3677
- Add Arrow Version Catalog module by @nomisRev in #3682
- [KUP] Disable opt-in Kotlin compiler warnings by @FenstonSingel in #3705
- Use new binary built-in validator in Kotlin 2.2 by @serras in #3707
New Contributors
- @theycome made their first contribution in #3632
- @sgrishchenko made their first contribution in #3656
- @FenstonSingel made their first contribution in #3705
Full Changelog: 2.1.2...2.2.0-beta.1