Releases: jrr6/CaffeineKit
Releases · jrr6/CaffeineKit
v0.3.3
v0.3.2
v0.3.1
v0.3.0
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 existingCaffeination
. - The
safetyEnabled
property has been renamed tolimitCaffeinationLifetime
.
v0.2.0
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 renamedCaffeinator.init(withOpts:safety:terminationHandler:)
- Both
Caffeination.closure
andCaffeination.unsafeClosure
now have the signature(withOpts:_:)
Caffeination.Opt.timed(Double)
is nowCaffeination.Opt.timed(TimeInterval)
. SinceTimeInterval
is a typealias ofDouble
, this should have little impact on existing code