Skip to content

Releases: Electrode-iOS/ELRouter

v3.1.0

20 Sep 16:02
Compare
Choose a tag to compare
  • Added support for Xcode 8, Swift 2.3, and iOS 10

v3.0.0

31 Aug 15:21
Compare
Choose a tag to compare

Breaking

  • Removed .Alias route type

New Features

  • Added route(route: Route) -> Route function to copy an existing route.
  • Added .Redirect route type.

Fixes

  • Fixed bug where a popToRoot on a vc that was already at the root would hang the routing system temporarily.
  • Added hacky fix for lock being held
  • Short circut if we’ve stopped processing mid-way through.
  • Fixed redirect func so it could be called from outside of ELRouter and work properly.

v2.0.0

02 Aug 17:07
Compare
Choose a tag to compare

Breaking

  • Made routeByName a private API. Use routeByEnum instead.

New Features

  • Added routeByEnum(routeEnum:) -> Route? API that returns a single route for a give route enumeration.
  • Added .Alias route type that returns an existing route to be used in place of this route.

Fixes

  • Increased asynchronous test timeouts to 15 seconds to reduce false negative results on some testing hosts.
  • Static routes now call popToRootViewController if the route's viewController is a UINavigationController.
  • Refactor unit tests - Unit tests were not waiting for full completion. By waiting on processing, the exection of routes would tickle the main thread and cause the unit tests to continue running before the Router’s processing thread was completed, killing any future routes.

v1.0.3

24 Jun 16:19
Compare
Choose a tag to compare
v1.0.3 Pre-release
Pre-release

Fixes:

  • Added fix for sequential variables in routes not working.

v1.0.2

22 Jun 21:38
Compare
Choose a tag to compare
v1.0.2 Pre-release
Pre-release
  • Top level routes prevent duplicates.
  • Sub routes prevent duplicates.
  • Variables prevent duplicates.
  • Added unit tests for the items above.

When a route is attempted to be duplicated, an assertion failure is thrown. If run inside of a unit test, an exception failure is thrown instead.

v1.0.1

10 Jun 22:06
Compare
Choose a tag to compare

Fixes

  • Added missing call to injectRouterSwizzles() in Router init, fixing stuck locked routes