v1.0.0-RC12
Notable changes
ZIO
- Deprecate
const
in favor ofas
and addasError
in ZIO and all data types (#1315) by @ioleo - Deprecate
succeedLazy
in favor ofeffectTotal
(#1377) by @ioleo - Add
ZIO#cached
(#1361) by @adamgfraser - Ignore extra callback calls in
ZIO#effectAsync
(#1402) by @ghostdogpr - Add
ZIO#catchSomeCause
(#1387) by @mschuwalow - Add
ZIO#collectAllSuccesses
and variants (#1237) by @mtsokol - Improve extension method support for
ZIO
(#1481 and #1444) by @NeQuissimus and @jeremyrsmith - Add
ZIO#provideM
(#1522) by @adamgfraser
Stream
In this release, the internal representation of ZStream
has been vastly simplified to an effectful, scoped iterator. This representation, besides being simpler to write combinators and constructors for, should result in improved performance and less GC pressure. Please report any issues you notice!
- Add
ZSink#zipPar
(#1344) by @simpadjo - Add
ZSink#collectAllN
and variants for grouping elements into n-sized lists, sets, maps (#1362) by @PawelGizka - Add
ZStream#interleave
,ZStream#interleaveWith
andZStream#combine
for merging of streams (#1355) by @adamgfraser - Add
ZStreamChunk#collect
(#1379) by @shankarshastri - Add
ZStream#broadcast
,ZStream#groupBy
,ZStream#partition
,ZStream#timeout
and other variants (#1387) by @mschuwalow - Add
ZStream#catchAll
,ZStream#mapError
,ZStream#provide
and variants (#1427) by @iravid - Refactor of ZStream internals by @iravid and @vasilmkd
- Add
ZSink#splitLines
(#1384) by @iravid - Add
ZStream#zipWithLatest
,ZStream#fixed
,ZStream#schedule
and variants (#1482) by @regiskuckaertz
ZIO Test
- Support for sbt (#1335) by @dkarlinsky
- Add Gen combinators for property-based testing (#1356) by @adamgfraser
- Rename
Assertion
toAssertResult
andPredicate
toAssertion
(#1500) by @adamgfraser - Add combinators for composing assertions (#1438) by @adamgfraser
STM
Cause
- Add
Cause#untraced
that removes all tracing information from a Cause (#1354) by @shankarshastri