All Versions
Latest Version
Avg Release Cycle
63 days
Latest Release
556 days ago

Changelog History
Page 1

  • v4.9.1 Changes

    October 12, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix logger panicing (when template is set to empty) by bumping dependency version #2295

    โœจ Enhancements

    • ๐Ÿ‘Œ Improve CORS documentation #2272
    • โšก๏ธ Update readme about supported Go versions #2291
    • โœ… Tests: improve error handling on closing body #2254
    • ๐Ÿ”จ Tests: refactor some of the assertions in tests #2275
    • ๐Ÿ”จ Tests: refactor assertions #2301
  • v4.9.0 Changes

    September 04, 2022

    ๐Ÿ”’ Security

    • ๐Ÿ›  Fix open redirect vulnerability in handlers serving static directories (e.Static, e.StaticFs, echo.StaticDirectoryHandler) #2260

    โœจ Enhancements

    • ๐Ÿ‘ Allow configuring ErrorHandler in CSRF middleware #2257
    • โœ… Replace HTTP method constants in tests with stdlib constants #2247
  • v4.8.0 Changes

    August 10, 2022

    Most notable things

    You can now add any arbitrary HTTP method type as a route #2237

    e.Add("COPY", "/*", func(c echo.Context) error 
      return c.String(http.StatusOK, "OK COPY")

    You can add custom 404 handler for specific paths #2217

    e.RouteNotFound("/*", func(c echo.Context) error { return c.NoContent(http.StatusNotFound) })
    g := e.Group("/images")
    g.RouteNotFound("/*", func(c echo.Context) error { return c.NoContent(http.StatusNotFound) })

    โœจ Enhancements

    • โž• Add new value binding methods (UnixTimeMilli,TextUnmarshaler,JSONUnmarshaler) to Valuebinder #2127
    • ๐Ÿ”จ Refactor: body_limit middleware unit test #2145
    • ๐Ÿ”จ Refactor: Timeout mw: rework how test waits for timeout. #2187
    • BasicAuth middleware returns 500 InternalServerError on invalid base64 strings but should return 400 #2191
    • ๐Ÿ”จ Refactor: duplicated findStaticChild process at findChildWithLabel #2176
    • ๐Ÿ‘ Allow different param names in different methods with same path scheme #2209
    • โž• Add support for registering handlers for different 404 routes #2217
    • Middlewares should use errors.As() instead of type assertion on HTTPError #2227
    • ๐Ÿ‘ Allow arbitrary HTTP method types to be added as routes #2237
  • v4.7.2 Changes

    March 16, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix nil pointer exception when calling Start again after address binding error #2131
    • ๐Ÿ›  Fix CSRF middleware not being able to extract token from multipart/form-data form #2136
    • ๐Ÿ›  Fix Timeout middleware write race #2126

    โœจ Enhancements

    • ๐ŸŒฒ Recover middleware should not log panic for aborted handler #2134
  • v4.7.1 Changes

    March 13, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix e.Static, .File(), c.Attachment() being picky with paths starting with ./, ../ and / after 4.7.0 introduced echo.Filesystem support (Go1.16+) #2123

    โœจ Enhancements

    • โœ‚ Remove some unused code #2116
  • v4.7.0 Changes

    March 01, 2022

    โœจ Enhancements

    • โž• Add JWT, KeyAuth, CSRF multivalue extractors #2060
    • โž• Add LogErrorFunc to recover middleware #2072
    • โž• Add support for HEAD method query params binding #2027
    • ๐Ÿ‘Œ Improve filesystem support with echo.FileFS, echo.StaticFS, group.FileFS, group.StaticFS #2064

    ๐Ÿ›  Fixes


    • โž• Add cache-control and connection headers #2103
    • โž• Add Retry-After header constant #2078
    • โฌ†๏ธ Upgrade go directive in go.mod to 1.17 #2049
    • โž• Add Pagoda #2077 and Souin #2069 to 3rd-party middlewares in README
  • v4.6.3 Changes

    January 10, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed Echo version number in greeting message which was not incremented to 4.6.2 #2066
  • v4.6.2 Changes

    January 08, 2022

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed route containing escaped colon should be matchable but is not matched to request path #2047
    • ๐Ÿ›  Fixed a problem that returned wrong content-encoding when the gzip compressed content was empty. #1921
    • โšก๏ธ Update (test) dependencies #2021

    โœจ Enhancements

    • โž• Add support for configurable target header for the request_id middleware #2040
    • ๐Ÿ”„ Change decompress middleware to use stream decompression instead of buffering #2018
    • ๐Ÿ“š Documentation updates
  • v4.6.1 Changes

    September 26, 2021

    โœจ Enhancements

    • โž• Add start time to request logger middleware values #1991
  • v4.6.0 Changes

    September 20, 2021

    Introduced a new request logger middleware ๐ŸŒฒ to help with cases when you want to use some other logging library in your application.

    ๐Ÿ›  Fixes

    • ๐Ÿ›  fix timeout middleware warning: superfluous response.WriteHeader #1905

    โœจ Enhancements

    • โž• Add Cookie to KeyAuth middleware's KeyLookup #1929
    • JWT middleware should ignore case of auth scheme in request header #1951
    • ๐Ÿ”จ Refactor default error handler to return first if response is already committed #1956
    • โž• Added request logger middleware which helps to use custom logger library for logging requests. #1980
    • ๐Ÿ‘ Allow escaping of colon in route path so Google Cloud API "custom methods" could be implemented #1988