Hyperoslo Cache Versions Save

:package: Nothing but Cache.

4.1.1

6 years ago

🚀 Merged pull requests

🤘 Closed issues

4.0.4

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago
  • 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

6 years ago
  • Logging is now disabled by default, it can be enabled by setting Logger.isEnabled to true #110

3.2.0

6 years ago

Clear cache keeping root directory https://github.com/hyperoslo/Cache/pull/106

3.1.0

6 years ago

Cache array of Cachable objects https://github.com/hyperoslo/Cache/pull/104

3.0.0

6 years ago

⚠️ Breaking change!!!

Cache 3 features multiple public API changes and brand new features implemented as a feedback to the input we got. We also did some internal framework refactoring that will make it easier to read the code, test and contribute 🎉