All Versions
10
Latest Version
Avg Release Cycle
50 days
Latest Release
1916 days ago
Changelog History
Changelog History
-
v2.1 Changes
December 28, 2017๐ Release Notes
JLRoutes 2.1 has the following new features and improvements:
๐ New
- 0๏ธโฃ 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
- 0๏ธโฃ It is now possible to change the default route definition class using
-
v2.0.6 Changes
December 28, 2017๐ Release Notes
- ๐ Rewrote optional route parsing to be much less buggy and fragile.
-
v2.0.5 Changes
April 13, 2017๐ Release Notes
- ๐ Significantly improved documentation.
- Minor code cleanup.
-
v2.0.4 Changes
April 09, 2017๐ Release Notes
- โ Added an option to control how URL host is treated (#89)
- Other minor tweaks
-
v2.0.3 Changes
April 06, 2017๐ 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.
-
v2.0.2 Changes
March 23, 2017๐ Release Notes
- ๐ Query param evaluation now also takes into account the global
shouldDecodePlusSymbols
option. Previously it was only applied to parsed route parameters. (#87)
- ๐ Query param evaluation now also takes into account the global
-
v2.0.1 Changes
November 08, 2016 -
v2.0 Changes
October 11, 2016๐ 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
-
v1.6.4 Changes
October 10, 2016Notable 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.
-
v1.6.3 Changes
October 02, 2016Notable Changes
- โ Massive code cleanup in both JLRoutes.m and the unit test .m.
- ๐ Deprecated a bunch of class-method APIs that I don't want to support anymore. All depreciated APIs can be easily replaced by calling the same method on the
+globalRoutes
instance instead. - ๐ Fixed a bug where
unmatchedURLHandler
would get called when evaluatingcanRouteURL:
.
Contributors
- @Zeeker