Skip to content

Releases: labstack/echo

v1.2.0

11 Oct 21:15
Compare
Choose a tag to compare
  • New API
    • Echo.Any - Any adds a route > handler to the router for all HTTP methods.
    • Echo.Match - Match adds a route > handler to the router for multiple HTTP methods provided.
    • Response.Committed - Getter function for committed status.
    • Context.File - Sends response as file with option to download as attachment.
    • Context.JSONP - JSONP sends a JSONP response with status code. It uses callback to construct the JSONP payload.
  • Dropped API
    • RedirectToSlash middleware
  • Refactored API
    • Echo.Debug
    • Echo.SetDebug
    • StripTrailingSlash middleware moved to Echo.StripTrailingSlash
  • Enhancements
  • Closed the following issues

v1.1.0

18 Jul 06:02
Compare
Choose a tag to compare

Production ready

22 Jun 22:50
Compare
Choose a tag to compare
  • New API
    • ServeDir - ServeDir serves files from a directory
    • DefaultHTTPErrorHandler - Invokes the default HTTP error handler
  • Improved router performance
  • More test coverage
  • Fixed issues
  • Examples
    • Steaming response
  • New URL for the website http://echo.labstack.com

Group separated from Echo

23 May 04:29
Compare
Choose a tag to compare
Pre-release
  • Better handling for WebSocket in middleware
  • Separated Group from Echo to limit API
  • Updated docs

Encapsulation

22 May 11:42
Compare
Choose a tag to compare
Encapsulation Pre-release
Pre-release

Encapsulated Context's fields and exposed them via public functions.

Echo.HandlerFunc changed

20 May 23:46
Compare
Choose a tag to compare
Pre-release

Echo.HandlerFunc changed from func (*Context) *HTTPError to func (*Context) error

Smashing new features

19 May 03:32
Compare
Choose a tag to compare
Smashing new features Pre-release
Pre-release
  • 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 and CloseNotify functions in response.
  • Fixed issues: #51, #53, #57, #63, #65, #67, #68
  • Dropped NotFoundHandler in favor of HTTPErrorHandler

Centralized HTTP error handling

06 May 23:39
Compare
Choose a tag to compare
Pre-release

v0.0.11

29 Apr 17:41
Compare
Choose a tag to compare
v0.0.11 Pre-release
Pre-release
  • Support for func(http.Handler) http.Handler middleware
  • Support for echo.HandlerFunc handler
  • Middleware in a separate package
  • Reverse route lookup using echo.URI
  • Improved website/documentation
  • Fixed issues

v0.0.10: Fixed a typo

21 Apr 04:59
Compare
Choose a tag to compare
v0.0.10: Fixed a typo Pre-release
Pre-release
  • 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