mux v1.6.2 Release Notes
Release Date: 2018-05-13 // almost 6 years ago-
โ Adds the
CORSMethodMiddleware
middleware, which allows package users to automatically generate aAccess-Control-Allow-Methods
HTTP response header based on which methods are configured for a given route. This is useful when dealing with cross-origin requests, and can be easily enabled viarouter.Use(mux.CORSMethodMiddleware)
.๐ This release otherwise includes documentation fixes and improvements. We are always looking to improve the documentation for mux, and contributions are welcome!
๐ CHANGELOG
๐ e3702be [docs] Improve docstrings for middleware, skipclean (#375)
โ fdeb7bc [docs] Doc fix for testing variables in path (#374)
5e55a4a Add CORSMethodMiddleware (#366)
๐ ded0c29 Fix linter issues (docs) (#370)
โก๏ธ b57cb16 [build] Update Go versions; add 1.10.x (#364)
๐ 94231ff Fix table-driven example documentation (#363)
4dbd923 Make Use() variadic (#355)
07ba1fd Modify http status code to variable in README (#350)
d284fd8 Modify 403 status code to const variable (#349)