Releases: hyperoslo/Cache
Releases · hyperoslo/Cache
5.0.0
Merged pull requests
- Fix typo #182, by emreozdil
- Improved sample code of storage's async functions in README #183, by guoyingtao
- Removed totalCostLimit from MemoryConfig #184, by guoyingtao
- Fix Bug - Passing the meta to Entry #187, by Gruppio
- Refactor to generic Storage #189, by onmyway133
- Update README #190, by onmyway133
Closed issues
4.2.0
- Swift 4.1
4.1.2
Merged pull requests
- Add json wrapper #160, by onmyway133
4.1.1
🚀 Merged pull requests
- Inline SwiftHash #159, by onmyway133
🤘 Closed issues
- Does this library support migration in case you change Object structure with the update? #153
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
- Update to
Swift 4
withCodable
support 🎉 - Work with Swift 4 Codable. Anything conforming to Codable will be saved and loaded easily by Storage.
- Disk storage by default. Optionally using memory storage to enable hybrid.
- Many options via DiskConfig and MemoryConfig.
- Support expiry and clean up of expired objects.
- Thread safe. Operations can be accessed from any queue.
- Sync by default. Also support Async APIs.
- Store images via ImageWrapper.
- Extensive unit test coverage and great documentation.
- iOS, tvOS and macOS support.
- You now work with
Storage
most of the time. HybridCache
was removed.Storage
can be configured withDiskConfig
andMemoryConfig
. If you don't specifyMemoryConfig
, then only disk cache is used.SpecializedCache
was removed. You can just useStorage
Cacheable
andCoding
was removed. You need to conform to Swift 4Codable
to take advantage of the auto serializing/deserializingCacheArray
can be replaced with[SomeClass].self