Repository navigation
Releases
Releases · nette/routing
Released version 3.1.5
- PHP 8.6 support
RouteListwithwithDomain()orwithPath()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 aTypeError
Released version 3.1.4
- 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 address0.0.0.0were 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
A code quality release that tightens static analysis and cleans up internals.
- Fixed all PHPStan errors and improved phpDoc annotations
- Switched to singleline
declarestatements across the codebase
Released version 3.1.2
- support for PHP 8.5
- optimized global function calls
Released version 3.1.1
- support for PHP 8.4
Route::param2path()allows all characters defined by RFC 3986 #14
Released version 3.1.0
- requires PHP 8.1
- uses PHP 8.1 features
Released version 3.0.5 (end of support)
- RouteList:
match()split intoprepareRequest()andcompleteParameters() RouteList::withPath()trailing slash is optional #11
Released version 3.0.4
- composer: allows nette/utils & http 4.0
- cs