Skip to content

1.8.0

Compare
Choose a tag to compare
@stephencelis stephencelis released this 12 Feb 17:55
· 280 commits to main since this release

What's Changed

See Migrating to 1.8 for more details.

  • Added: New @Reducer macro features (#2795).

    The @Reducer macro has been enhanced to streamline usage and simplify some common patterns:

    • When left undefined, the @Reducer will now define default implementations of State, Action, and body. This means stubbing a feature is as simple as @Reducer struct Feature {}.

    • @Reducer can now be used with enums to simplify the boilerplate associated with "destination" and "path" reducers.

    See the 1.8 migration guide for more information on how to use these APIs.

  • Fixed: Propagate @ViewAction macro availability (#2785).

  • Fixed: Properly tag nested observable enums so that changes to non-observable cases are better observed (#2786).

  • Infrastructure: Fix typo in migration guide 1.6 (thanks @takehilo, #2779); better document explicit id with scoped ForEach (#2784); Fix typo in the 1.7 migration guide (thanks @yaslab, #2780; thanks @Ryu0118, #2790);

Full Changelog: 1.7.2...1.8.0

New Contributors

Full Changelog: 1.7.3...1.8.0