Skip to content

Latest commit

 

History

History
executable file
·
118 lines (64 loc) · 4.51 KB

CHANGELOG.md

File metadata and controls

executable file
·
118 lines (64 loc) · 4.51 KB
  • Add prefix to logging API
  • Remove ELLog dependency
  • Add a target that builds a static framework for iOS platform.
  • Xcode 9.3 updates
  • Add a firehose function to capture route execution
  • Migrate to Swift 4
  • Change QoS level from background to userInitiated for the dispatch queue that handles route processing. This fixes an issue that was preventing some route handlers from running properly on cold app starts.
  • Use default settings for bitcode
  • Add @discardableResult to a few more Route APIs
  • Pass associatedData to .fixed routes
  • Added open func deregister(_ route: RouteEnum): Registered routes that doesn't have .fixed type can be deregistered.
  • Added open func register(fixedRoute route: Route, atIndex index: Int): Routes with .fixed type can be registered after navigator is initialized, allowing incremental changes on existing tab bar content.
  • Added open func deregister(fixedRoute route: RouteEnum, atIndex index: Int): Routes with .fixed type can be deregistered after navigator is initialized, allowing incremental changes on existing tab bar content.
  • Resolve Xcode 8.3 warnings.
  • Configure Travis CI to install dependencies with Carthage.
  • Make navigator and sharedInstance properties public
  • Migrate to Swift 3
  • Changed deepLinkComponents to not decode escaped slashes when determining path components, but to pass encoded parts on instead.
  • Added support for Xcode 8, Swift 2.3, and iOS 10
  • Added support for Xcode 8, Swift 2.3, and iOS 10

Fixes

  • Changed deepLinkComponents to not decode escaped slashes when determining path components, but to pass encoded parts on instead.

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.

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.

Fixes

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