Releases: go-playground/pure
Releases · go-playground/pure
Release 2.4.0
What's new?
- Changed to reuse
context.Context
objects for efficiency, effectively the same except not created each request. - change some core logic to use maps instead of switch statements, not so much for performance, but much better code readability and maintainability.
Release 2.3.0
What's new?
Update LoggingAndRecovery middleware
- added option for color or not
- updated status colors to be constants.
Release 2.2.1
What was fixed?
- FormDecoder wasn't using interface, corrected.
Release 2.2.0
What's new?
update redirect on non GET methods using 308
- hadn't realized is was added to the http package, wasn't in previous releases.
Release 2.1.0
What's new?
Added another case for Decode(..)
function for if you want to parse query params, including SEO params, for a GET
request it will decode the r.URL.Query()
params and any SEO query params.
Release 2.0.0
What's changed?
- Change the
Pure
struct name toMux
to avoid stutter;pure.Pure
stutterspure.Mux
doesn't
although no other changes were made, had to increment Major to 2
to follow semantic versioning rules.
Release 1.1.0
What's new?
Added new helper functions
- Add
ParseForm(...)
&ParseMultiPartForm(...)
functions that also add the SEO params to the parsed Form eg./users/:id
,id
will be added to the request.Form just like normal query params would be. - Modify
Decode(...)
function to use the new #1 functions whenincludeQueryParams=true
Release 1.0.0
Initial Release
Hello All,
Pure is a fast radix-tree based HTTP router that sticks to the native implementations of Go's "net/http" package.
It remains pure
by sticking to Go's http handler definitions and passing only scoped data through the new context
package in Go 1.7
this of this as a pure version of lars