mux v1.5.0 Release Notes
Release Date: 2017-09-12 // over 6 years ago-
v1.5.0 major changes:
- A HTTP 405 "Method Not Allowed" will be returned when the method does not match for the route. This is a change from existing behaviour, where a 404 is returned instead. This behaviour, and the error message, can be customized by setting the
MethodNotAllowed
property of a*Router
instance. Walk
will now walk all attached sub-routers
๐ CHANGELOG
๐ 24fca30 [docs] README.md: add missing
.
(#292)
๐ bb285ea [docs] Fix missing space in docstring (#289)
a659b61 Fix #271: Return 405 instead of 404 when request method doesn't match the route
๐ ac112f7 Prefer scheme on child route when building URLs.
๐ 37b3a6c Use scheme from parent router when building URLs.
8c683ee Fix typo
โ 18fca31 Add test and fix for escaped query values.
โก๏ธ c7a138d Update docs.
โ f9aa23a Add tests for support for queries in URL reversing.
๐ 9c9af15 Add support for queries in URL reversing.
โก๏ธ 043ee65 Update Walking Routes Section
59ce668 Fix invalid example code
85b8c20 Removing half of conflict marker (#268)
โก๏ธ 456bcfa Update README with example for Router.Walk
โก๏ธ 4d814f7 Update ancestors parameter for WalkFunc for matcher subrouters
โก๏ธ a322b2c Update Walk to match all subrouters - A HTTP 405 "Method Not Allowed" will be returned when the method does not match for the route. This is a change from existing behaviour, where a 404 is returned instead. This behaviour, and the error message, can be customized by setting the