Skip to content

Releases: hyperoslo/Cache

5.0.0

13 Jun 12:50
Compare
Choose a tag to compare

Merged pull requests

Closed issues

  • setObject Thread Problem #181
  • Store and Fetch an array #188
  • Shouldn't the default cache folder be /library or /documents not /library/caches? #179

4.2.0

04 Apr 08:38
343bff9
Compare
Choose a tag to compare
  • Swift 4.1

4.1.2

27 Oct 10:55
Compare
Choose a tag to compare

Merged pull requests

4.1.1

27 Oct 08:32
Compare
Choose a tag to compare

🚀 Merged pull requests

🤘 Closed issues

  • Does this library support migration in case you change Object structure with the update? #153

4.0.4

13 Oct 12:34
Compare
Choose a tag to compare
  • Remove Carthage script #158

4.0.3

09 Oct 11:36
Compare
Choose a tag to compare

4.0.2

03 Oct 11:18
Compare
Choose a tag to compare
  • Add Carthage script #152

4.0.1

26 Sep 11:34
Compare
Choose a tag to compare
  • Fix removeAll #148

4.0.0

20 Sep 10:31
Compare
Choose a tag to compare
  • Update to Swift 4 with Codable 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.

⚠️ Changes from v3 -> v4 ⚠️

  • You now work with Storage most of the time.
  • HybridCache was removed. Storage can be configured with DiskConfig and MemoryConfig. If you don't specify MemoryConfig, then only disk cache is used.
  • SpecializedCache was removed. You can just use Storage
  • Cacheable and Coding was removed. You need to conform to Swift 4 Codable to take advantage of the auto serializing/deserializing
  • CacheArray can be replaced with [SomeClass].self

3.3.0

12 Jun 09:27
Compare
Choose a tag to compare
  • Logging is now disabled by default, it can be enabled by setting Logger.isEnabled to true #110