Releases: dreymonde/Shallows
0.13.4
0.13.1: Async
add special async funcs for `Void` keys
0.11.0: Swift 5.1
Starting with 0.11.0
, Swift Package Manager is the only officially supported dependency manager for Shallows. Main reason — maintaining Carthage and especially Cocoapods is not trivial, which can sometimes lead to a Podfile
not being up-to-date, for example. You can use Cocoapods/Carthage and Swift PM hand in hand, so I hope the transition will not be too painful
THIS UPDATE IS A BREAKING CHANGE
Some APIs were slightly updated/removed. However, those are mostly non-primary APIs, and I expect that currently the very little amount of code depends on it. If you have problems migrating to 0.11.0, please, open an issue and I'll be glad to help!
«Keep it simple»
This update aims to simplify the API by removing techniques that haven't proven themselves worthy. It also focuses on making the codebase more readable and easier to understand, and also refines some names and implementation details.
THIS UPDATE IS A BREAKING CHANGE
Some API were deprecated, some - made unavailable. However, those are mostly non-primary APIs, and I expect that currently the very little amount of code depends on it. If you have problems migrating to 0.9.0, please, open an issue and I'll be glad to help!
Goodbye, `FileSystem`. Welcome `Disk`!
This update drastically updates to Shallows way of disk storage. FileSystemStorage
and family is now deprecated in favor of much more universal DiskStorage
and DiskFolderStorage
. FileSystemStorage
will be removed from the codebase in future, but is still available for now. If you have trouble migrating to DiskFolderStorage
— please, open an issue.
VERY BREAKING CHANGE
This release renames «cache» to «storage».
Swift 4
0.3.0
This release updates .combine
API and adds some new minor features
Cache.combine
now usesCacheCombinationPullStrategy
andCacheCombinationSetStrategy
instead of simpleBool
flags, giving you more flexibility.- New method for
CacheProtocol
andReadOnlyCache
:fallback
anddefaulting
- Minor improvements for
RawFileSystemCache
.toNonObjCValues()
forNSData
andNSDate