Releases: go-ozzo/ozzo-routing
Releases · go-ozzo/ozzo-routing
v2.4.0
- #64: Replaced dgrijalva/jwt-go with golang-jwt/jwt to solve a security issue
- #67: Fix negotiateContentType , if not match, the default should used
v2.3.0
- Added GracefulShutdown() to support gracefully shutting down HTTP server.
v2.1.4
- #44: Form reader support for encoding.TextUnmarshaler
- #46: Exposed
routing.Find()
to support finding a route
- Fixed the issue that static files are not served in correct content-type when using content type negotiator and file server together.
v2.1
- Added
Router.IgnoreTrailingSlash
to support removing trailing slashes in requests
slash.Remover
will now use status code 307 to handle non-GET requests
v2.0
- content.TypeNegotiator no longer HTML-escapes the JSON output
- removed the context.Context interface implementation by Context in favor of the context returned by Request
- Bumped up the minimal Go version requirement to be 1.7
v1.2
- Added JWT support with auth.JWT and auth.NewJWT
v1.1
- fault.Recovery is split into fault.ErrorHandler and fault.PanicHandler.
- The errorHandler parameter is removed from fault.Recovery