Carlos v0.9 Release Notes
Release Date: 2016-12-14 // over 7 years ago-
๐ฅ Breaking changes
- ๐ Swift 3.0 support (for Swift 2.3 use specific commit
5d354c829d766568f164c386c59de21357b5ccff
instead) - ๐
batchGetAll
has been removed and replaced with a reifiedallBatch
(see New features) - ๐ All deprecated functions have been removed
- ๐ All custom operators have been removed in favor of their function counterparts
- ๐ macOS and tvOS support has been temporarily dropped and will be probably re-added in the future
set
method onCacheLevel
now returns aFuture
enabling error-handling and progress-tracking ofset
calls.
๐ New Features
- It's now possible to lift a
CacheLevel
into one that operates on a sequence of keys and returns a sequence of values. You can useallBatch
to create a concreteBatchAllCache
. You can useget
on this cache if you want to pass a list of keys and get the success callback when all of them succeed and the failure callback as soon as one of them fails (old behavior ofbatchGetAll
), or you can compose or transform anallBatch
cache just like any anotherCacheLevel
. Consult theREADME.md
for an example.
- ๐ Swift 3.0 support (for Swift 2.3 use specific commit