Skip to content

Releases: go-playground/pure

Release 2.4.0

02 Oct 17:51
Compare
Choose a tag to compare

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

29 Sep 13:13
Compare
Choose a tag to compare

What's new?

Update LoggingAndRecovery middleware

  • added option for color or not
  • updated status colors to be constants.

Release 2.2.1

27 Sep 19:39
Compare
Choose a tag to compare

What was fixed?

  • FormDecoder wasn't using interface, corrected.

Release 2.2.0

27 Sep 16:00
Compare
Choose a tag to compare

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

26 Sep 20:59
Compare
Choose a tag to compare

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

26 Sep 15:16
Compare
Choose a tag to compare

What's changed?

  • Change the Pure struct name to Mux to avoid stutter; pure.Pure stutters pure.Mux doesn't

although no other changes were made, had to increment Major to 2 to follow semantic versioning rules.

Release 1.1.0

26 Sep 00:37
Compare
Choose a tag to compare

What's new?

Added new helper functions

  1. 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.
  2. Modify Decode(...) function to use the new #1 functions when includeQueryParams=true

Release 1.0.0

23 Sep 20:18
Compare
Choose a tag to compare

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