chore: update matchit dependency
Updated matchit dependency. This PR resolves https://github.com/cloudflare/workers-rs/issues/362
Tested and it is working, ready to be merged
Also, I am not sure how the release cycle works here, when can I expect to see v0.0.18 released?
Would love to see getting this merged. any updates on this? v0.4.6 was released on Feb 1, 2022...
@gytis-ivaskevicius the tests are failing though
any plan to merge this?
new version change the behavior of Catch-all Parameters
| version | doc |
|---|---|
| 0.4.6 | Catch-all parameters start with * and match everything including the trailing slash. |
| latest | Catch-all parameters start with * and match everything after the /. |
trim_start_matches("/"); in handler is too weird.
@hxzhao527 I just ended up forking it myself for my own use. It works great already. I recommend you do the same
But matchit really needs to be updated, otherwise I see no hope in workers-rs. The dependency is too old already and it doesn't work as expected
Done in #450