Releases: Electrode-iOS/ELRouter
Releases · Electrode-iOS/ELRouter
v5.1.0
v4.2.3
Fixes
- Change QoS level from
background
touserInitiated
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.
v4.2.2
- Use default settings for bitcode
v4.2.1
- Add
@discardableResult
to a few more Route APIs
v4.2.0
- Pass
associatedData
to.fixed
routes
v4.1.0
- 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 afternavigator
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 afternavigator
is initialized, allowing incremental changes on existing tab bar content. - Resolve Xcode 8.3 warnings.
- Configure Travis CI to install dependencies with Carthage.
v4.0.1
- Make
navigator
andsharedInstance
properties public
v4.0.0
- Migrated to Swift 3
API Naming Changes
Route
- Removed:
public func routesByName(name: String) -> [Route]
- Added:
open func routes(forName name: String) -> [Route]
- Added:
- Removed:
public func routeByName(name: String) -> Route?
- Added:
open func route(forName name: String) -> Route?
- Added:
- Removed:
public func routesByType(type: RoutingType) -> [Route]
- Added:
open func routes(forType type: RoutingType) -> [Route]
- Added:
- Removed:
public func routeByType(type: RoutingType) -> Route?
- Added:
open func route(forType type: RoutingType) -> Route?
- Added:
Router
- Removed:
public func routeByEnum(routeEnum: RouteEnum) -> Route?
- Added:
open func route(forEnum routeEnum: RouteEnum) -> Route?
- Added:
- Removed:
public func routesByType(type: RoutingType) -> [Route]
- Added:
open func routes(forType type: RoutingType) -> [Route]
- Added:
- Removed:
public func routesForURL(url: NSURL) -> [Route]
- Added:
open func routes(matchingURL url: URL) -> [Route]
- Added:
RoutingType
RoutingType.Static
is nowRoutingType.fixed
v3.1.1
- Changed
deepLinkComponents
to not decode escaped slashes when determining path components, but to pass encoded parts on instead.
v3.0.1
Fixes
- Changed
deepLinkComponents
to not decode escaped slashes when determining path components, but to pass encoded parts on instead.