Skip to content

Releases: johnpatrickmorgan/TCACoordinators

v0.5.0

01 Aug 20:58
Compare
Choose a tag to compare
  • Makes the library compatible with the latest pre-1.0 changes to Composable Architecture (thanks @rhysm94!)
  • Updates the example code to reflect latest best practices (thanks @rhysm94!)

v0.4.0

15 Feb 01:17
Compare
Choose a tag to compare
  • Fixes most deprecations (thanks @jshier)

v0.3.0

17 Nov 22:19
b94764c
Compare
Choose a tag to compare
  • Updates library code and examples to use TCA's new ReducerProtocol.
  • Simplifies the API a little.

v0.2.0

27 Jun 20:07
02a3349
Compare
Choose a tag to compare
  • Ensures latest version of a screen is cached for display during a dismiss animation (#27). Thanks @salqueng!

v0.1.2

09 May 08:12
Compare
Choose a tag to compare
  • Avoids unnecessary re-renders in TCARouter (#20) (Thanks to @dannyhertz)
  • Adds MIT licence (#15)

v0.1.0

13 Jan 22:25
65207da
Compare
Choose a tag to compare
  • Presentation and navigation can now be managed in a single routes array, removing the need for separate PresentationStore and NavigationStore. The new TCARouter can handle both in one.
  • Convenience methods are now extensions on RoutableCollection, so this library no longer needs to duplicate the convenience methods from FlowStacks.
  • Large-scale navigation updates can now be made within an Effect.withDelaysIfUnsupported call, and will be broken down into smaller updates that SwiftUI supports. This works around a limitation in SwiftUI that only allows one screen to be pushed, presented or dismissed at a time.
  • Cancellation of in-flight effects is now managed as part of withRouteReducer function, which ensures effects are tagged for cancellation before combining with the reducer that updates routes. This fixes a bug where long-lived effects initiated by the coordinator would be cancelled if they were triggered by a screen that has been dismissed.