Skip to content

Releases: BerliozFramework/Router

v2.0.2

01 Dec 11:18
Compare
Choose a tag to compare

Fixed

  • Optional attributes are empty value instead of not returned

v2.0.1

15 Dec 11:16
Compare
Choose a tag to compare

Fixed

  • NULL parameters aren't excluded from generation of route

v1.2.0

26 Nov 10:17
Compare
Choose a tag to compare

Added

  • PHP 8.1 compatibility

v2.0.0

08 Sep 21:03
Compare
Choose a tag to compare

No changes were introduced since the previous beta 3 release.

v2.0.0-beta3

07 Jul 20:25
1cca2ad
Compare
Choose a tag to compare
v2.0.0-beta3 Pre-release
Pre-release

Fixed

  • RouteAttributes and multi-dimensional parameters doesn't work

v2.0.0-beta2

07 Jun 20:18
Compare
Choose a tag to compare
v2.0.0-beta2 Pre-release
Pre-release

Changed

  • Router::isValid() accepts a string value
  • Add RouteAttributes interface in signature of method RouterInterface::generate()

v2.0.0-beta1

29 Apr 21:41
Compare
Choose a tag to compare
v2.0.0-beta1 Pre-release
Pre-release

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

29 Apr 21:38
Compare
Choose a tag to compare
v2.0.0-alpha1 Pre-release
Pre-release

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

v1.1.0

05 Nov 14:47
c572ba0
Compare
Choose a tag to compare

Added

  • PHP 8 compatibility

v1.0.1

30 Jul 15:22
Compare
Choose a tag to compare

Changed

  • Method Route::filterParameters() with multidimensional parameters array fixed