Skip to content

1.1.0

Compare
Choose a tag to compare
@stephencelis stephencelis released this 12 Nov 18:59
· 70 commits to main since this release
40773cb

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

Full Changelog: 1.0.0...1.1.0