Skip to content

Releases: outfoxx/PotentCodables

馃殌 v3.0.0-beta.1

12 Feb 00:27
a102899
Compare
Choose a tag to compare
馃殌 v3.0.0-beta.1 Pre-release
Pre-release

What's Changed

  • Remove YAML.stableText missed from 2.4 changes by @kdubb in #35
  • Version 3 by @kdubb in #36
  • Fixes for Swift 5.5 compilation by @kdubb in #37
  • Fix sonar smells by @kdubb in #38
  • Linux support by @kdubb in #39
  • Restore TreeValueDecodingContainer support by @kdubb in #40
  • Encode CBOR millisecond dates untagged by @kdubb in #41
  • Limit Float16 dependency when Swift 5.5 or above by @kdubb in #43
  • Move to generated Swift DocC documentation by @kdubb in #44
  • Ensure all Readers & Writers have package access by @kdubb in #45
  • Cleanup Ref/EmbeddRef API by @kdubb in #46
  • Update old doc references by @kdubb in #47

Full Changelog: 2.4.2...3.0.0-beta.1

2.4.2 - Bug Fixes

19 Jan 00:09
236dad8
Compare
Choose a tag to compare

What's Changed

  • Update Makefile to use findsimulator by @kdubb in #30
  • Update CI by @kdubb in #31
  • Fix type checking failure with 5.4 by @kdubb in #32
  • Fix AnyValue.compactUnwrapped by @kdubb in #33

Full Changelog: 2.4.1...2.4.2

2.4.1

16 Jan 07:12
ca9dd8c
Compare
Choose a tag to compare

What's Changed

  • Remove unsafeFlags use and disable fyaml warnings in header by @kdubb in #29

Full Changelog: 2.4.0...2.4.1

2.4.0 - Ordered collections, API cleanup & docs

16 Jan 06:30
ab550bb
Compare
Choose a tag to compare

Ordered Collections

JSON objects & CBOR maps always use ordered dictionaries to ensure the order of keys is always preserved when decoding or encoding.

What's Changed

  • Reconfigure to build Cfyaml from entire libfyaml package by @kdubb in #22
  • Ordered objects for JSON & maps for CBOR, and type aliases for container types by @kdubb in #23
  • Cleanup JSONWriter API by @kdubb in #25
  • Revamp CBOR Half support and type alias all CBOR float types (raises min to macOS 11, iOS 14, watchOS 7, tvOS 14) by @kdubb in #24
  • Fix compilation for "Any watchOS Device" and add to test matrix by @kdubb in #26
  • Cleanup ASN1 API by @kdubb in #27
  • Update ASN1 docs by @kdubb in #28

Full Changelog: 2.3.0...2.4.0

2.2.0 - ASN.1 UTC Time Parsing/Formatting

01 Feb 18:24
Compare
Choose a tag to compare

What's Changed

  • Parse ASN.1 UTCTime according to spec by @kdubb in #20

Breaking Change

  • ASN1.utcTime is now a ZonedDate instead of simple Date; this change was required for proper parsing/formatting.

Full Changelog: 2.1.0...2.2.0

2.1.0 - ASN.1 Dynamic Nothing

16 Sep 15:45
Compare
Choose a tag to compare

ASN.1 dynamic schemas can now specify Schema.nothing when the dynamic schema should be "no value".

Note: This is a backwards compatible addition necessitating a minor version bump

Changes

  • Added Schema.nothing for specifying when the schema should have "no value".

2.0.1 - API/Package Cleanup

15 Sep 18:25
Compare
Choose a tag to compare

This release features tracks very few external changes aside from error handling and dependency requirement relaxation. A few significant internal changes have been applied. The code is now linted and both format & lint are enforced via CI.

Changes

  • Force tries (aka try!) and force cast (aka as!) have been removed. When possible a Swift Error replaces them or a descriptive fatalError is used when error's could not be thrown.
  • CBOR.unwraped now supports non-string keys; as CBOR allows.
  • Dependencies requirements are now much more lenient.

2.0.0 - YAML Support & Bug Fixes

13 Sep 07:31
Compare
Choose a tag to compare

YAML Support

This release features YAML 1.2 support via libfyaml in the PotentYAML module. YAML is a first class citizen and supports all of the advanced features offered by PotentCodables. A major advantage of YAML 1.2 is that it can parse both YAML & JSON documents using the same YAML.Decoder.

Breaking Changes

  • ASN.1 GeneralizedTime now uses a custom ZonedDate type to allow encoding times with explicit time zones.

Bug Fixes

  • JSON & ASN.1 ISO8601 style dates now properly support fractional seconds and time zones as optional fields.

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.