Skip to content

3.0.0

Compare
Choose a tag to compare
@GottaGetSwifty GottaGetSwifty released this 27 Apr 17:30
· 17 commits to main since this release
7a6f09e

The major goal of this release was adding CodingKey customization. This was accomplished using's Swift's new Macro system.

What's Changed

  • Support for CodingKey customization using Macros
  • Removing deprecated symbols

Posible Future Direction

Theoretically for version 4.0 all other wrappers could be moved to the Macro system rather than Property Wrappers. As this system is new and currently somewhat cumbersome/slow, I'd like to see how the ecosystem develops first. Additionally, using Macros for customizing serialization will result in fully implementing the encoding/decoding functions. Given the improvements of usage it would probably be worth the extra effort, but would mean no longer taking advantage of auto-generated Codable implementation.

Since currently CodingKey customization is impossible with Annotation syntax, Macros are the only way to go there and relatively straightforward to implement. 3.0 is the result of that work, and may pave the way to switching all current wrappers to Macros.

See full release notes for details

Full Changelog: 2.0.7...3.0.0