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