Releases: labstack/echo
Releases · labstack/echo
Encapsulation
Encapsulated Context
's fields and exposed them via public functions.
Echo.HandlerFunc changed
Echo.HandlerFunc
changed from func (*Context) *HTTPError
to func (*Context) error
Smashing new features
- Added following middleware
- Panic recover
- Basic auth
- Strip trailing slash
- Redirect to slash
- Gzip
- Support to serve favicon
- Enhanced priority in router
- Wrapped
Flush
,Hijack
andCloseNotify
functions in response. - Fixed issues: #51, #53, #57, #63, #65, #67, #68
- Dropped
NotFoundHandler
in favor ofHTTPErrorHandler
Centralized HTTP error handling
- Centralized HTTP error handling http://labstack.github.io/echo/guide/#error-handling
- Default handler function changed from
func(*Context) error
tofunc(*Context) *echo.HTTPError
. - Most of the response helper functions now return
*echo.HTTPError
http://labstack.github.io/echo/guide/#response
- Default handler function changed from
- Fixed issues #46, #49 and #50.
- Added
echo.HandlerFunc
to the list of supported handlers. - More documentation.
v0.0.11
v0.0.10: Fixed a typo
- Moved middleware package to root
- HandlerFunc signature change to
func(*Context) error
- Support for handlers which return error for central error handling
- Introduced centralized HTTP error handler
- New website for the project
- Dropped support for
func(http.Handler) http.Handler
middleware
v0.0.9
v0.0.8
v0.0.7: New renderer interface #21
Signed-off-by: Vishal Rana <vr@labstack.com>
v0.0.6: Fixed example/main.go
Signed-off-by: Vishal Rana <vr@labstack.com>