Releases: mentalflux/tca-composer
0.6.0
0.5.0
0.4.1
0.4.0
Important
This release contains breaking changes.
Existing Action
enums no longer supported.
The preferred approach of using TCA Composer has always been to have it fully generate the Action
enum of the Reducer
. Previous releases provided support for augmenting an existing Action
enum. This release removes support for adding case
s to an existing Action
enum. This feature was useful in the early development of TCA Composer but introduces complexity to the macros and requires maintaining a copy of the @CasePathable
macro and keeping it in sync with the swift-case-paths
repo.
What's Changed
Full Changelog: 0.3.2...0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
Important
This release contains a minor breaking changes to better align with the TCA 1.8.0 release.
The TCA 1.8.0 release added support for generating code for enum reducers including the ability to switch upon the enumerated stores of those reducers. This feature already existed within TCA Composer, but used a difference accessor variable name, cases
to access the enumerated stores, rather than case
as used in the new TCA release.
If you are switching on enumerated reducers stores, the following change is required in your View
code after updating to this release:
-switch store.cases {
+switch store.case {
What's Changed
- Restore missing @ComposeActionConfirmationDialogCase macro by @scogeo in #2
- Rename
cases
var accessor tocase
forScopeSwitchable
State by @scogeo in #3 - Documentation cleanup by @scogeo in #4
Full Changelog: 0.1.1...0.2.0
0.1.1
Fix SwiftPackageIndex build.
Full Changelog: 0.1.0...0.1.1