The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
9 weeks ago
0.11.0: Swift 5.1
2 years ago
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»
4 years ago
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`!
4 years ago
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
4 years ago
This release renames «cache» to «storage».
This release updates `.combine` API and adds some new minor features
- `Cache.combine` now uses `CacheCombinationPullStrategy` and `CacheCombinationSetStrategy` instead of simple `Bool` flags, giving you more flexibility.
- New method for `CacheProtocol` and `ReadOnlyCache`: `fallback` and `defaulting`
- Minor improvements for `RawFileSystemCache`
- `.toNonObjCValues()` for `NSData` and `NSDate`
This release adds the ability to specify `DispatchQoS` for `FileSystemCache` and `RawFileSystemCache`.
- Renamed some APIs (for example, `makeCache()` -> `asCache()`)
- Introducing `zip` function for caches