Skip to content

Releases: joeldev/JLRoutes

JLRoutes 2.1.1

10 Aug 19:10
d9f7489
Compare
Choose a tag to compare

Support for Swift Package Manager

JLRoutes 2.1

28 Dec 02:49
Compare
Choose a tag to compare

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 a parameters property
  • JLRRouteResponse and JLRRouteDefinition now conform to NSCopying
  • Many miscellaneous API improvements
  • Significant code cleanup

JLRoutes 2.0.6

28 Dec 02:13
Compare
Choose a tag to compare

Release Notes

  • Rewrote optional route parsing to be much less buggy and fragile.

JLRoutes 2.0.5

13 Apr 00:29
Compare
Choose a tag to compare

Release Notes

  • Significantly improved documentation.
  • Minor code cleanup.

JLRoutes 2.0.4

09 Apr 20:58
Compare
Choose a tag to compare

Release Notes

  • Added an option to control how URL host is treated (#89)
  • Other minor tweaks

JLRoutes 2.0.3

06 Apr 17:43
Compare
Choose a tag to compare

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

23 Mar 05:14
Compare
Choose a tag to compare

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

08 Nov 21:01
Compare
Choose a tag to compare

Release Notes

  • JLRoutes now explicitly requires iOS 8.0 or macOS 10.10 and higher, due to use of NSURLComponents queryItems. (#83)
    • If you require iOS 7 support, please continue to use version 1.6.4.
  • Fixed issues related to looping over the mutable routes array without copying it. (#81)

JLRoutes 2.0

11 Oct 03:01
Compare
Choose a tag to compare

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

10 Oct 06:32
Compare
Choose a tag to compare

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.