Skip to content

Releases: IngeniozIT/router

Bugfix

10 May 21:25
Compare
Choose a tag to compare

Fix a bug where route names could have 2 consecutive dots.

Ex:

new RouteGroup(
    [
        new RouteGroup(
            [
                Route::get('/foo', 'foo', name: 'route_name'),
            ],
        ),
    ],
    name: 'group',
);

Previously, the route ended up with the name group..route_name.
Now, its name is just group.route_name.

Improve method signature

20 Apr 21:52
Compare
Choose a tag to compare

Previously, the with parameters of a route group or a route could only take string values.
It now takes any value (mixed).

Ex:

Route::get('/foo', MyController::class, with: ['param' => true]); // This is now valid

Bugfix

13 Apr 22:44
Compare
Choose a tag to compare
  • Prevent a bug that allowed middlewares to pass data to routes outside of their route group.

New version

13 Apr 13:51
16c9bcc
Compare
Choose a tag to compare

Full documentation is available on the README file.

  • Make router easier to use
  • Improve routes parameters handling
  • Improve PSR integration
  • Add a way to get a route path from its name
  • Improve exceptions hierarchy
  • Improve code quality

Official release

13 Dec 22:22
Compare
Choose a tag to compare
v1.1.0

Update README

First release (beta)

13 Dec 11:40
Compare
Choose a tag to compare
v1.0.0

rename tests