Skip to content

Releases: mentalflux/tca-composer

0.5.0

17 Aug 00:22
cfdeb34
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.1...0.5.0

0.4.1

26 Jul 17:22
0c6a928
Compare
Choose a tag to compare

What's Changed

  • Update repo for swift-syntax.
  • ci: Update Xcode version to 15.4 by @scogeo in #9
  • Updates to latest pointfree package versions. by @scogeo in #10

Full Changelog: 0.4.0...0.4.1

0.4.0

28 Jun 02:24
fbcde66
Compare
Choose a tag to compare

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 cases 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

  • Removes support for existing Action enums by @scogeo in #8

Full Changelog: 0.3.2...0.4.0

0.3.2

26 Jun 23:45
b815408
Compare
Choose a tag to compare

What's Changed

  • Add explicit CasePathable conformance to AllComposedCases.ScopedState #7

Full Changelog: 0.3.1...0.3.2

0.3.1

05 Mar 18:31
f4865e5
Compare
Choose a tag to compare

What's Changed

  • Support Swift Syntax 5.10 #6

Full Changelog: 0.3.0...0.3.1

0.3.0

25 Feb 00:53
b732659
Compare
Choose a tag to compare

What's Changed

  • Adds support for changing the attachment location of a @ComposeBodyOnChange function to the BindingReducer or a child Scope Reducer. #5

Full Changelog: 0.2.0...0.3.0

0.2.0

14 Feb 23:22
a9d0ea4
Compare
Choose a tag to compare

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 to case for ScopeSwitchable State by @scogeo in #3
  • Documentation cleanup by @scogeo in #4

Full Changelog: 0.1.1...0.2.0

0.1.1

02 Feb 17:55
075ad4e
Compare
Choose a tag to compare

Fix SwiftPackageIndex build.

Full Changelog: 0.1.0...0.1.1

0.1.0

02 Feb 05:21
Compare
Choose a tag to compare

Initial public release. 🚀