Swiftpack.co - Swift Packages by marksands

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by marksands

marksands/BetterCodable 0.4.0
Better Codable through Property Wrappers
⭐️ 1,617
🕓 2 years ago
🔖 Release Notes


The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
2 years ago
# New * Adds `LosslessDecodingStrategy` allowing you to create a custom variant for lossless decoding scenarios. * Adds `ISO8601WithFractionalSecondsStrategy` type 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 * `LosslessValue` was incorrectly parsing numeric `1` as `true` and would fail if this was expected to be parsed as a numeric type. #39 # Breaking Changes * `LosslessBoolValue` has been split from `LosslessValue` when preserving boolean types is preferred.
2 years ago
## New * Adds `LossyOptional ` #30. (@moyerr) ## Enhancements * Lowers Swift version to 5.0 #27. (@abonham)
3 years ago
## New * Adds `LosslessArray`. ## Enhancements * Extends `LosslessValue` usage outside of Codable. (@igorkulman) * Extends `LosslessValue` to decode `Bool` value from integers. (@serjooo)
3 years ago
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics