Skip to content

Releases: jrr6/CaffeineKit

v0.3.3

04 Jan 20:28
Compare
Choose a tag to compare

This release fixes a crash when starting a Caffeination with no Opts.

v0.3.2

24 Jul 22:35
Compare
Choose a tag to compare

Breaking change: Caffeination.limitCaffeinationLifetime has been renamed Caffeination.limitLifetime.

This release also updates to the newest version of Swift, 5.2.4.

v0.3.1

03 Nov 02:18
Compare
Choose a tag to compare

This release is identical to v0.3.0 but has been re-built with the Swift 5.1.2 toolchain for compatibility with newer projects.

v0.3.0

24 May 01:35
Compare
Choose a tag to compare

What's New

  • Updated for Swift 5
  • The SignalTrapper has been completely overhauled. The previous model only worked for one Caffeination at a time; the new, singleton-based one should work as intended.
  • Thanks to the changes to signal handling, CaffeineKit no longer exposes signal error enumerations.
  • Static closure methods have been removed. Now, all closures must be generated using an existing Caffeination.
  • The safetyEnabled property has been renamed to limitCaffeinationLifetime.

v0.2.0

08 Oct 00:18
Compare
Choose a tag to compare

Additions

  • Carthage support has been added (i.e., Carthage-compatible zip files will be uploaded with this and future releases)
  • Swift 4.2 and Xcode 10 are now supported

Changes

  • Caffeination.init(withOpts:safely:terminationHandler:) has been renamed Caffeinator.init(withOpts:safety:terminationHandler:)
  • Both Caffeination.closure and Caffeination.unsafeClosure now have the signature (withOpts:_:)
  • Caffeination.Opt.timed(Double) is now Caffeination.Opt.timed(TimeInterval). Since TimeInterval is a typealias of Double, this should have little impact on existing code

v0.1.0

25 Aug 21:41
Compare
Choose a tag to compare

This is the initial, not-fully-tested release of CaffeineKit. More detailed release notes are forthcoming.