Skip to content

Releases

Released version 3.1.5

Choose a tag to compare

@dg dg released this 26 Oct 22:00
  • PHP 8.6 support
  • RouteList with withDomain() or withPath() no longer keeps growing its internal cache in long-running applications (workers like FrankenPHP or RoadRunner)
  • constructUrl() with an array or object as a path parameter now skips the route instead of throwing a TypeError

Released version 3.1.4

Choose a tag to compare

@dg dg released this 09 Aug 14:03
  • Double quotes in URL path segments are now percent-encoded as RFC 3986 requires. Previously an unencoded " in a generated URL could break out of an HTML attribute in output contexts that are not HTML-escaped.
  • Host wildcards (%tld%, %domain%, %sld%) no longer mangle IP addresses: IPv6 hosts like [::1] and the address 0.0.0.0 were mistakenly split on dots as if they were domain names. Routes with host masks now work correctly when the site is accessed via an IP address.

Released version 3.1.3

Choose a tag to compare

@dg dg released this 23 Feb 04:08

A code quality release that tightens static analysis and cleans up internals.

  • Fixed all PHPStan errors and improved phpDoc annotations
  • Switched to singleline declare statements across the codebase

Released version 3.1.2

Choose a tag to compare

@dg dg released this 30 Oct 22:49
  • support for PHP 8.5
  • optimized global function calls

Released version 3.1.1

Choose a tag to compare

@dg dg released this 04 Nov 12:07
  • support for PHP 8.4
  • Route::param2path() allows all characters defined by RFC 3986 #14

Released version 3.1.0

Choose a tag to compare

@dg dg released this 21 Jan 21:06
  • requires PHP 8.1
  • uses PHP 8.1 features

Released version 3.0.5 (end of support)

Choose a tag to compare

@dg dg released this 09 Oct 00:09
  • RouteList: match() split into prepareRequest() and completeParameters()
  • RouteList::withPath() trailing slash is optional #11

Released version 3.0.4

Choose a tag to compare

@dg dg released this 18 Jan 05:00
  • composer: allows nette/utils & http 4.0
  • cs

Released version 3.0.3

Choose a tag to compare

@dg dg released this 16 Apr 23:12
  • SimpleRouter: fix compatibility with non-stringable (e.g. Closure) default parameter values (#9)
  • RouteList: added getDomain() & getPath()
  • Route: ignores multiple /// #6
  • Route: refactoring
  • constants are PascalCase

Released version 3.0.2

Choose a tag to compare

@dg dg released this 06 Feb 04:30
  • added RouteList::getFlags()