Releases: marksands/BetterCodable
Releases · marksands/BetterCodable
0.4.0
New
- Adds
LosslessDecodingStrategyallowing you to create a custom variant for lossless decoding scenarios. - Adds
ISO8601WithFractionalSecondsStrategytype when working with ISO601 dates with fractional seconds.
Enhancements
- Codable types have been separated into Encodable and Decodable variants. This is helpful if you only need a property wrapper for decoding. Existing code will continue to work. (@yonaskolb)
Bug Fixes
LosslessValuewas incorrectly parsing numeric1astrueand would fail if this was expected to be parsed as a numeric type. #39
Breaking Changes
LosslessBoolValuehas been split fromLosslessValuewhen preserving boolean types is preferred.