Releases: postmates/PMKVObserver
Releases · postmates/PMKVObserver
PMKVObserver v4.1.3
PMKVObserver 4.1.2
- Fix compatibility with Swift compiler versions other than 4.2 when observing optional values and KVO delivers an
NSNull
value.
PMKVObserver v4.1.1
- Add
.object
and.keyPath
properties toPMKVObserver
. The.keyPath
property is named.objcKeyPath
in Swift.
PMKVObserver v4.1.0
- Handle observing optional values better. We now make stronger guarantees about when
.old
and.new
are non-nil
.
PMKVObserver v4.0.0
-
Set Swift version to 4.
-
Work around Xcode 10 issue with value conversions involving
Any
in theKVObserver.Change
object (SR-8704). -
Handle
RawRepresentable
types inKVObserver.Change
's.old
and.new
properties.Note: Optional
RawRepresentable
types (such as those produced by a path like\.foo?.bar
) are only supported in Swift 4.1 and later.
PMKVObserver 3.0.2
- Squelch some warnings when building with CocoaPods.
PMKVObserver v3.0.1
- Set Swift version back to Swift 3.2. The new
KeyPath
stuff is usable from 3.2 so there's no reason to require 4. PMVKObserver will still compile with Swift 3.1, but theKeyPath
APIs won't be available unless compiling with Swift 3.2.
PMKVObserver v3.0.0
- Convert to Swift 4.
- Add new initializers that use Swift 4
KeyPath
s. - Make
Change.rawDict
andChange.kind
non-optional.
PMKVObserver v2.0.2
Use os_unfair_lock
on platforms that support it.
PMKVObserver v2.0.1
This release fixes CocoaPods support.