1.1.0
What's Changed
- Added: The
@CasePathable
macro and case key paths. The@CasePathable
macro automatically generates bona fide key paths for an enum's cases. They are equatable, hashable, and can be used in dynamic member lookup and more. For more information, see the documentation and migration guide. - Deprecated: The older, reflection-based style of case path (
/SomeEnum.someCase
) has been soft-deprecated in favor of case key paths (\SomeEnum.Cases.someCase
). They will be hard-deprecated in a future release, so migrate today to avoid the warnings of the future. - Infrastructure: Added Windows CI (thanks @brianmichel, #116).
- Infrastructure: Fixed documentation note of non-void
/
operators (thanks @mrackwitz, #118) - Fixed: Scope workaround for Swift <5.8 reflection bug (thanks @kodok1988, #120).
New Contributors
- @brianmichel made their first contribution in #116
- @mrackwitz made their first contribution in #118
- @kodok1988 made their first contribution in #120
Full Changelog: 1.0.0...1.1.0