Releases: SwiftyLab/MetaCodable
Releases · SwiftyLab/MetaCodable
v1.4.0
1.4.0 (2024-09-30)
🚀 Features
- added ignoring encoding based on condition over value (#84) (83ea43a)
- added separate default value options for missing value and other errors (#81) (69cc0de)
- added support for implicitly unwrapped optional type (#87) (29b9f00)
- added untagged enum support (#78) (c1fe6f4)
🐛 Fixes
🛠 Build System
- added migration for Swift 6 language mode (13f4be6)
🛠 Dependency
✅ Tests
- migrated to swift-testing (ca493e4)
v1.3.0
v1.2.1
v1.2.0
1.2.0 (2024-01-09)
🚀 Features
- added
CodingKey
alias support (665306f) - added actor support (97a6057)
- added adjacently tagged enum support (a22e9d1)
- added class support (4bfeac3)
- added externally tagged enum support (c1097bb)
- added internally tagged enum support (fcdafa8)
- added protocol support (535f446)
- added sequence coding helper (4ea6ff6)
🐛 Fixes
- fixed empty
CodingKeys
enum generated instead of being skipped (a28bb9c) - fixed error with
private
access modifier on type declaration (#46) (d378204) - fixed initialized immutable variables not encoded by default (#47) (31db2fd)
- fixed nested decoding with missing container (#44) (495cea4)
📚 Documentation
- added sample usage tutorials (2670fde)
v1.1.0
1.1.0 (2023-11-06)
🚀 Features
HelperCoders
: added base64 data decoding/encoding helpers (bee7cc4)HelperCoders
: added basic data types decoding helpers (6089cb5)HelperCoders
: added conditional and property wrapper based helpers (4542ac2)HelperCoders
: added date decoding/encoding helpers (ae9ed44)HelperCoders
: added non-confirming floats decoding/encoding helpers (6f8241a)- added non-variadic generics support (#23) (b615251)
🐛 Fixes
- fixed build failure with
ExistentialAny
upcoming feature (by @Midbin) (#34) (db55d96) - fixed default value not respected for optional types (#36) (4eb999c)
- fixed failure in structs with static members (by @Midbin) (#37) (e256e12)
- fixed optional value decoding failure with
HelperCoder
when value doesn't exist (#35) (ad19d4d)
📚 Documentation
✅ Tests
v1.0.0
1.0.0 (2023-09-20)
⚠ BREAKING CHANGES
- use
MemberInit
macro for memberwise initializer(s) - replaced
CodablePath
withCodedAt
- replaced
CodableCompose
withCodedAt
without args - renamed
ExternalHelperCoder
toHelperCoder
- replaced
default:
with@Default
- replaced
helper:
with@CodedBy
🚀 Features
- added decoding/encoding ignore attributes (#16) (94855a0)
- added initialized variable ignore option (#17) (6cd519e)
- added options for custom key case style (#18) (5cc1a93)
- made initialized mutable variables initialization optional in member-wise initializers (#15) (12f3177)
🐛 Fixes
🔥 Refactorings
v1.0.0-alpha.2
v1.0.0-alpha.1
1.0.0-alpha.1 (2023-06-21)
🚀 Features
- added
Codable
generation macro with (498d763)
📚 Documentation
- add project info and contributing guidelines (915d32c)
💄 Styles
- add development with vscode support (323a94a)