Releases: BerliozFramework/Router
Releases · BerliozFramework/Router
v2.0.2
v2.0.1
v1.2.0
v2.0.0
v2.0.0-beta3
Fixed
RouteAttributes
and multi-dimensional parameters doesn't work
v2.0.0-beta2
Changed
Router::isValid()
accepts a string value- Add
RouteAttributes
interface in signature of methodRouterInterface::generate()
v2.0.0-beta1
Changed
RoutingException
details all missing attributes to generate root
Removed
- Remove multiple routes with same name
Fixed
- Fixed
Route
with empty path - Fixed serialization of sub routes
v2.0.0-alpha1
Added
- Allow routes with same name
- Allow declaration of attribute type in path
- Allow optional part in path
- Route can be a group of routes with inheritance of attributes
- Used of \Generator class
- New Attribute object to manage attributes in routes
- Dependency with
psr/http-message
library - Compilation concept to generate regex when necessary or before serialization of Route object
Changed
- Refactoring
- Bump compatibility to PHP 8 minimum
- Route object can be a group of routes
Removed
- Remove RouteGenerator class
- Remove dependency with
berlioz/php-doc
library - Remove dependency with
berlioz/http-message
library - Remove dependency with
mbstring
extension - Remove RouteSet class