Skip to content

Releases: postmates/PMKVObserver

PMKVObserver v4.1.3

01 Apr 23:19
Compare
Choose a tag to compare
  • Work around bug with Swift compiler 5.1.5 and above relating to properties of type Any? (#25, SR-12486).

PMKVObserver 4.1.2

25 Jan 02:07
Compare
Choose a tag to compare
  • Fix compatibility with Swift compiler versions other than 4.2 when observing optional values and KVO delivers an NSNull value.

PMKVObserver v4.1.1

28 Nov 21:22
Compare
Choose a tag to compare
  • Add .object and .keyPath properties to PMKVObserver. The .keyPath property is named .objcKeyPath in Swift.

PMKVObserver v4.1.0

28 Nov 02:12
Compare
Choose a tag to compare
  • Handle observing optional values better. We now make stronger guarantees about when .old and .new are non-nil.

PMKVObserver v4.0.0

06 Sep 02:56
Compare
Choose a tag to compare
  • Set Swift version to 4.

  • Work around Xcode 10 issue with value conversions involving Any in the KVObserver.Change object (SR-8704).

  • Handle RawRepresentable types in KVObserver.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

23 May 05:28
Compare
Choose a tag to compare
  • Squelch some warnings when building with CocoaPods.

PMKVObserver v3.0.1

13 Sep 20:23
Compare
Choose a tag to compare
  • 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 the KeyPath APIs won't be available unless compiling with Swift 3.2.

PMKVObserver v3.0.0

12 Sep 21:14
Compare
Choose a tag to compare
  • Convert to Swift 4.
  • Add new initializers that use Swift 4 KeyPaths.
  • Make Change.rawDict and Change.kind non-optional.

PMKVObserver v2.0.2

25 Jul 21:20
Compare
Choose a tag to compare

Use os_unfair_lock on platforms that support it.

PMKVObserver v2.0.1

15 Sep 23:53
Compare
Choose a tag to compare

This release fixes CocoaPods support.