Skip to content

Releases: outfoxx/PotentCodables

BugFix - Update to Swift 5.5

10 Sep 16:51
Compare
Choose a tag to compare
  • Adds missing subscript conformance for AnyString

BugFix - JSON Decoding

21 May 10:19
Compare
Choose a tag to compare

Fixes an issue decoding JSON fragment values (e.g. string, number, etc.) as the root value.

Raw Value Access & Combine Support

16 May 20:44
Compare
Choose a tag to compare

Raw Value Access

Access to the underlying tree values, and the unwrapped Swift counterpart, is now available when decoding from a decoder.singleValueContainer(). See the README section "Raw Value Container".

Combine

Support for Combine's TopLevelEncoder and TopLevelDecoder has been added to each encoder and decoder

Registered Types for Polymorphic Decoding

07 Aug 22:15
Compare
Choose a tag to compare

Ref & EmbeddedRef now require using registered types for decoding to alleviate any security vulnerabilities created by instantiating any available types. Alternatively, custom type lookup can be implemented for app/framework specific needs. See code documentation for Ref or EmbeddedRef for details.

Remove Float80

15 Jan 01:55
Compare
Choose a tag to compare

Float80 is not available on all platforms and causes errors on device builds for iOS/tvOS/watchOS; so it has been replaced with Double.

Revert 11.2 workarounds

11 Jan 20:49
Compare
Choose a tag to compare

Reverts workarounds for Xcode 11.2 now that 11.3 is available and is confirmed to fix the previous linking issues. Also, updates dependencies for Swift 5.

Xcode 11.2 workarounds

01 Dec 05:08
Compare
Choose a tag to compare

Works around mystery failures when using Xcode 11.2. The errors are related to using fileprivate in specific classes so the workaround (using internal or public) is not detrimental to general library usage.

1.6.0

30 Nov 19:45
Compare
Choose a tag to compare
Fix constructed implict tag encoding/decoding