Skip to content

Upgrade nikic/fast-route to version 2.0.0-beta1#51

Draft
gsteel wants to merge 1 commit intomezzio:3.15.xfrom
gsteel:fastroute-v2
Draft

Upgrade nikic/fast-route to version 2.0.0-beta1#51
gsteel wants to merge 1 commit intomezzio:3.15.xfrom
gsteel:fastroute-v2

Conversation

@gsteel
Copy link
Member

@gsteel gsteel commented Nov 25, 2025

Also, bumps dev deps and refreshes the lock.

Please don't merge… Unless we want to release this with v2 beta of fast-route.

The BC break involves adding ConfigureRoutes to the union of FastRouteRouter's constructor. Considering it's soft final, and RouteCollector implements ConfigureRoutes, it doesn't seem like a BC break to me…

Signed-off-by: George Steel <george@net-glue.co.uk>
@gsteel gsteel requested review from a team and lcobucci November 25, 2025 22:11
@gsteel gsteel added Enhancement New feature or request dependencies Pull requests that update a dependency file labels Nov 25, 2025
"laminas/laminas-stdlib": "^3.19.0",
"mezzio/mezzio-router": "^3.18 || ^4.0.1",
"nikic/fast-route": "^1.2",
"nikic/fast-route": "^2.0.0-beta1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my PoV, this is OK, but we need to wait for a stable release before releasing on our end

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my PoV, this is OK, but we need to wait for a stable release before releasing on our end

That can be a problem, waiting for a stable release.
As the current beta is 8 months old and there are no signs that a stable release will coming soon.

It is quite unsual to require a beta package, but still ...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a stable release. But another option could be to release a beta version here as well.
Or we can put the topic on the agenda for the next meeting and ask if @lcobucci will be present.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 1 works just fine - I made this patch more so that I could test the beta and provide some feedback to @lcobucci eg nikic/FastRoute#302 - There's no rush!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a pointer to nikic/FastRoute#295.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants