Skip to content

Releases: dfed/CacheAdvance

1.0.1

12 Jan 23:20
d6cfc12
Compare
Choose a tag to compare
  • Fixed a bug that would render an overwriting cache that was completely full (message written exactly up to the byte limit) to fail to read all messages while the cache was completely full.

1.0.0

12 Jan 23:16
b0f588d
Compare
Choose a tag to compare

Official release out of beta! No functional changes from 0.3.0.

0.3.0

28 Jan 01:39
Compare
Choose a tag to compare
  • Enabled a CacheAdvance to read a file where maximumBytes or overwritesOldMessages doesn't match what's been persisted in the cache's header, resolving #35
  • Renamed the file: URL property to fileURL: URL

0.2.0

22 Jan 22:20
d1a745d
Compare
Choose a tag to compare
  • Added API to tell if a cache isEmpty() without needing to read all messages() into memory
  • Created differentiated Errors for messageLargerThanCacheCapacity and messageLargerThanRemainingCacheSize. This is a source-breaking change, as messageDataTooLarge was removed.

0.1.0

22 Jan 00:59
a3bb671
Compare
Choose a tag to compare

Store less metadata information at the end of each message, instead opting to store file metadata information in a file header.

This version is a breaking change. CacheAdvance files created using 0.0.1...0.0.3 can not be successfully opened using 0.1.0 or later.

0.0.3

22 Jan 00:58
976f1b4
Compare
Choose a tag to compare

Use modern FileHandle API on macOS 10.15

0.0.2

22 Jan 00:57
b2565a0
Compare
Choose a tag to compare

Add support for macOS 10.14, iOS 12, tvOS 12, and watchOS 5

0.0.1

22 Jan 00:56
fcd284a
Compare
Choose a tag to compare

Create the first version of CacheAdvance. Append individual messages to disk in a performant way!