Releases: outfoxx/PotentCodables
🚀 v3.0.0-beta.3
What's Changed
Full Changelog: 3.0.0-beta.2...3.0.0-beta.3
🚀 v3.0.0-beta.2
What's Changed
Full Changelog: 3.0.0-beta.1...3.0.0-beta.2
🚀 v3.0.0-beta.1
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
2.4.1
2.4.0 - Ordered collections, API cleanup & docs
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
What's Changed
Breaking Change
ASN1.utcTime
is now aZonedDate
instead of simpleDate
; this change was required for proper parsing/formatting.
Full Changelog: 2.1.0...2.2.0
2.1.0 - ASN.1 Dynamic Nothing
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
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 (akaas!
) have been removed. When possible a SwiftError
replaces them or a descriptivefatalError
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
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 customZonedDate
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.