Releases: joeldev/JLRoutes
Releases · joeldev/JLRoutes
JLRoutes 2.1.1
JLRoutes 2.1
Release Notes
JLRoutes 2.1 has the following new features and improvements:
New
- It is now possible to change the default route definition class using
+[JLRoutes setDefaultRouteDefinitionClass:]
- Much more of the
JLRRouteDefinition
API is exposed in the header and intended to be overridden in subclasses (see README for more details). - A new class,
JLRRouteHandler
, has been added to provide helper methods for creating route handler blocks that are routed to classes or object instances (see README for more details).
Improvements
- The initializer for
JLRRouteDefinition
no longer requires a scheme parameter to be provided JLRRouteResponse
now holds on to the final parameters passed to the handler block, via aparameters
propertyJLRRouteResponse
andJLRRouteDefinition
now conform toNSCopying
- Many miscellaneous API improvements
- Significant code cleanup
JLRoutes 2.0.6
Release Notes
- Rewrote optional route parsing to be much less buggy and fragile.
JLRoutes 2.0.5
Release Notes
- Significantly improved documentation.
- Minor code cleanup.
JLRoutes 2.0.4
Release Notes
- Added an option to control how URL host is treated (#89)
- Other minor tweaks
JLRoutes 2.0.3
Release Notes
- Fixed a regression where domain names were not properly excluded from the logic that prepends the URL host to the path components (#88).
- Added a few new methods for querying routes (#49):
+ (NSDictionary <NSString *, NSArray <JLRRouteDefinition *> *> *)allRoutes;
- (NSArray <JLRRouteDefinition *> *)routes;
- Added a new method for registering a route by instance, allowing for subclasses/customization:
- (void)addRoute:(JLRRouteDefinition *)routeDefinition;
- Turned on some stricter warning settings, including warnings as errors.
- Started improving documentation, more to come on this front.
JLRoutes 2.0.2
Release Notes
- Query param evaluation now also takes into account the global
shouldDecodePlusSymbols
option. Previously it was only applied to parsed route parameters. (#87)
JLRoutes 2.0.1
JLRoutes 2.0
Release Notes
- URL parsing has been entirely rewritten and now relies heavily on NSURLComponents
- Split apart functionality into internal classes to make the code easier to read and maintain
- Numerous misc bug fixes and improvements over the 1.x codebase
JLRoutes 1.6.4
Notable Changes
- Optional route parsing has been rewritten
Important Note: This will be the last release of the current parsing logic and architecture. The next release will feature completely rewritten route parsing (using NSURLComponents) and a greatly improved internal architecture.