nikic / FastRoute

Fast request router for PHP
Other
5.12k stars 445 forks source link

Missing API in v2? #285

Open mikespub opened 6 months ago

mikespub commented 6 months ago

Hi @lcobucci in the current v2 beta you make dispatcher() and uriGenerator() available from the FastRoute() instance created by the factory method FastRoute::recommendedSettings() - but neither allows you to get a list of all defined routes. Did I miss something here?

See also #247

mikespub commented 2 months ago

Hi @lcobucci any update/timeline on any "official" release of v2.x yet?

I can certainly relate to shifting priorities in open source projects, but as this is a dependency for many other packages, it would help to clarify the expected timelines a bit... :-)

Thanks!

lcobucci commented 2 months ago

@mikespub thank you for your patience and understanding.

In the past months I had to shift my focus to paid work and family and couldn't get to finish this release.

Answering your initial question: my intent was to release v2.0 without the list of registered routes and then add it in v2.1.

I expect to handle the stable release still this month, but (unfortunately) can't promise - there are minor tweaks that I want to do before shipping it.