Skip to content

Releases: frzi/swiftui-router

1.0.0

25 Apr 23:16
433c621
Compare
Choose a tag to compare

Almost completely rewritten from scratch.

Changes from the top of my head:

  • Switch renamed to SwitchRoutes, to prevent conflict with SwiftUI's Switch.
  • Link renamed to NavLink, to prevent conflict with SwiftUI's Link.
  • Redirect renamed to Navigate.
  • Renamed the HistoryData environment object to Navigator. A better descriptive name.
  • Use an actual dictionary ([String : String]) to hold parameter values instead of the @ dynamicMemberLookup object in RouteInformation.
  • All paths are now relative.
  • Added support for an extra step of parameter validation in Route.
  • Detailed documentation in the source code.
  • Added tests.

0.1.3

22 Sep 07:39
13e0c38
Compare
Choose a tag to compare
Merge pull request #13 from gsgtzq/master

change clear historyStack to removeSubrange

0.1.2

17 May 10:34
e3de36e
Compare
Choose a tag to compare
Merge pull request #8 from rodsfreitas/v0.2

[router] allows custom root on init

0.1.1: Merge pull request #3 from itrack/master

26 Nov 22:06
f30ba5c
Compare
Choose a tag to compare

0.1

12 Oct 12:24
2fc2476
Compare
Choose a tag to compare
0.1

Version 0.1. Now features optional route parameters.