Util 18.12.0
finaglehelper
released this
12 Dec 01:02
·
699 commits
to develop
since this release
18.12.0
New Features
- util-core: Provide a way to listen for stream termination to c.t.util.Reader, Reader#onClose
which is satisfied when the stream is discarded or read until the end. 3b1434e2 - util-core: Conversions in c.t.conversions have new implementations
that follow a naming scheme of SomethingOps. Where possible the implementations
are AnyVal based avoiding allocations for the common usage pattern.
ee56e5f2- percent is now PercentOps
- storage is now StorageUnitOps
- string is now StringOps
- thread is now ThreadOps
- time is now DurationOps
- u64 is now U64Ops
Bug Fixes
- util-core: Fixed a bug where tail would sometimes return Some empty AsyncStream instead of None.
1dc614bc
Deprecations
- util-core: Conversions in c.t.conversions have been deprecated in favor of SomethingOps
versions. Where possible the implementations are AnyVal based and use implicit classes
instead of implicit conversions. ee56e5f2- percent is now PercentOps
- storage is now StorageUnitOps
- string is now StringOps
- thread is now ThreadOps
- time is now DurationOps
- u64 is now U64Ops
Breaking API Changes
- util-core: Experimental c.t.io.exp.MinThroughput utilities were removed. d9c5e4a3
- util-core: Deleted c.t.io.Reader.Null, which was incompatible with Reader#onClose semantics.
c.t.io.Reader#empty[Nothing] is a drop-in replacement. 3b1434e2 - util-core: Removed c.t.util.U64 bits. Use c.t.converters.u64._ instead. 8034e557