Skip to content

Releases: SwiftyLab/MetaCodable

v1.4.0

30 Sep 07:57
Compare
Choose a tag to compare

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

  • provided Inherits macro as workaround for class conformance error in SwiftUI (#71) (c27e3a8)

🛠 Build System

  • added migration for Swift 6 language mode (13f4be6)

🛠 Dependency

  • switch to using swiftlang repo instead of apple, as Apple transitioned already (#96) (b929e06)

✅ Tests

  • migrated to swift-testing (ca493e4)

v1.3.0

29 Feb 12:44
Compare
Choose a tag to compare

1.3.0 (2024-02-29)

🚀 Features

  • added CocoaPods support (#1) (377a87e)
  • added protocol plugin support for Xcode targets (#58) (5cc5919)

🐛 Fixes

  • fixed duplicate CodingKeys generated (#63) (73c5d1e)

📚 Documentation

  • added tutorials for helper and dynamic decoding/encoding (#64) (3f87100)

v1.2.1

10 Jan 14:07
Compare
Choose a tag to compare

1.2.1 (2024-01-10)

🐛 Fixes

  • fixed IgnoreCoding failing with didSet accessors (#54) (bd881c9)

v1.2.0

09 Jan 18:04
Compare
Choose a tag to compare

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

07 Nov 05:07
Compare
Choose a tag to compare

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

  • README: added HelperCoders usage (#38) (8da6282)

✅ Tests

  • added swift-syntax temporary fix for extension macros testing (#33) (5344f13)

v1.0.0

20 Sep 22:01
Compare
Choose a tag to compare

1.0.0 (2023-09-20)

⚠ BREAKING CHANGES

  • use MemberInit macro for memberwise initializer(s)
  • replaced CodablePath with CodedAt
  • replaced CodableCompose with CodedAt without args
  • renamed ExternalHelperCoder to HelperCoder
  • 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

  • only ignore computed properties with getter in decoding/encoding (#11) (a6bc3a2), closes #10

🔥 Refactorings

v1.0.0-alpha.2

20 Sep 21:59
0cc623f
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

1.0.0-alpha.2 (2023-06-30)

🐛 Fixes

  • added robust grouped variable declaration type detection (#3) (0cc623f)
  • ignore default immutable initialized and computed properties in decoding/encoding (#2) (9ac898f)

📚 Documentation

  • improved usage documentation (#5) (7086c41)

v1.0.0-alpha.1

20 Sep 21:58
323a94a
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

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)