ZIO v1.0.0-RC13 Release Notes
Release Date: 2019-09-22 // over 4 years ago-
Notable changes
ZIO
- ๐ Documentation improvements by @sidnt and @asakaev
- ๐ Deprecate
sync
extension method in favor ofeffect
(#1606) by @markosski - ๐ Change semantic of Fiber.joinAll โ fail when joined fibers fail (#1620) by @neko-kai
- โ Add
filterOrDie
andfilterOrDieMessage
combinators (#1610) by @ioleo - Correctly inherit fiber refs in
ZIO.raceWith
(#1594) by @mlangc - โช Restore
bracket
on ZIO (#1694) by @regiskuckaertz - Replicate ZIO.* methods to other companion objects (#1746) by @jakubjanecek
- ๐ Move
PlatformLive.ExecutorUtil
toExecutor
companion object (#1770) by @neko-kai
ZStream
- โ Add
zipAllWith
toChunk
(#1612) by @Vilkina - โ Add
ZStreamChunk#buffer
,ZStream.mergeAllUnbounded
,ZStream.flattenParUnbounded
(#1657) by @iravid - โ Adding
ZStream#zipLeft
andzipRight
operators and operator alias for allZStream#zip*
functions (#1510) by @jadireddi - โ Remove
ZSink.Step
in favor of abstract methods on Sink and update ZSink encoding (#1560) by @vasilmkd - โก๏ธ Update
ZStream#aggregate
andaggregateWithin
to only extract once (#1672) by @iravid - โ Add
ZSink.foldWeightedDecompose/M
and fix leftover handling in transduce (#1675) by @iravid - โ Add
StreamEffect
specialized for chunks (#1669, #1740) by @vasilmkd and @sideeffffect - ๐ Fixes and inference improvements to
ZSink
combinators (#1686) by @iravid - โฑ Align
ZStream#repeat
with the other schedule combinators (#1533) by @mschuwalow - โ Add
ZStream.paginate
(#1717) by @regiskuckaertz - โ Add
ZStream#unNone
(#1713) by @asakaev - โ Add
ZStream#mapConcat
overloads for iterables (#1735) by @kamilkloch - โ Add
ZStream.bimap
andeither
(#1725) by @regiskuckaertz - โ Add
ZStream.fromIterator
(#1731) by @sideeffffect - โ Remove specialized annotations (#1738) by @regiskuckaertz
- โ Add additional fold variants to ZStream (#1756) by @kamilkloch
- ๐ Rename
aggregateWithin
toaggregateWithinEither
and add a simpleraggregateWithin
(#1700) by @saeltz - โจ Enhance
ZStream#scheduleWith
to not short-circuit the stream (#1767) by @regiskuckaertz
โ ZIO Test
- โ Make Timeout Strategies Test Aspects (#1555) by @adamgfraser
- ๐ Fix
Gen#filter
(#1580 #1591) by @adamgfraser - โ
Make
testM
andcheckM
Polymorphic In Error Type (#1596) by @adamgfraser - โ Add
Gen#suspend
to support recursive generators (#1598) by @adamgfraser - ๐ Improve Reporting of Property Based Testing Result (shows shrinked input) (#1617) by @ghostdogpr
- ๐ Support Generators for Functions (#1616) by @adamgfraser
- Report timeouts in a prettier way (#1602) by @ghostdogpr
- โ Add Size Combinators
small
,medium
andlarge
(#1625) by @adamgfraser - โ Add
Assertion.dies
andGen.anyString
(#1638) by @regiskuckaertz - โฌ๏ธ Upgrade
AssertResult
toBoolAlgebra
(#1582) by @adamgfraser - ๐ Support Implications (#1662) by @adamgfraser
- ๐คก Augment MockRandom with a Buffer to be able to control random output (#1679) by @adamgfraser
- โ Add Common Predicates (#1314) by @jaliss
- Implement Generators for Effects (#1670) by @adamgfraser
โฑ ZSchedule
- โ Add
doUntilEquals
anddoWhileEquals
methods (#1634) by @marekklis
ZManaged
- โ Add a synchronous effect construction (#1667) by @LukaszByczynski
- โ Add
ZManaged#withEarlyRelease
(#1722) by @adamgfraser