Skip to content

CacheKey rules everything around me

Choose a tag to compare

@mergesort mergesort released this 18 Jun 01:58
· 142 commits to main since this release

CacheKey Changes

  • Adding a CacheKey.init(verbatim:) initializer to make initializing an unsafe cache key explicit.
  • Similar to CacheKey.init(url:), CacheKey.init(_:) now hashes the String that's passed into the initializer.
  • Removing the ability to initialize a CacheKey from a String literal due to a compiler issue.

DiskStorage Changes

  • Removing a non-existent item from disk is now a no-op instead of throwing an error