Echo v4.4.0 Release Notes

Release Date: 2021-07-12 // 14 days ago
  • ๐Ÿ›  Fixes

    • Split HeaderXForwardedFor header only by comma #1878
    • ๐Ÿ›  Fix Timeout middleware Context propagation #1910

    โœจ Enhancements

    • Bind data using headers as source #1866
    • โž• Adds JWTConfig.ParseTokenFunc to JWT middleware to allow different libraries implementing JWT parsing. #1887
    • โž• Adding tests for Echo#Host #1895
    • โž• Adds RequestIDHandler function to RequestID middleware #1898
    • ๐Ÿ‘ Allow for custom JSON encoding implementations #1880

Previous changes from v4.3.0

  • Important notes

    • Route matching has improvements for following cases:
      1. Correctly match routes with parameter part as last part of route (with trailing backslash)
      2. Considering handlers when resolving routes and search for matching http method handler
    • Echo minimal Go version is now 1.13.

    ๐Ÿ›  Fixes

    • When url ends with slash first param route is the match #1804
    • Router should check if node is suitable as matching route by path+method and if not then continue search in tree #1808
    • ๐Ÿ›  Fix timeout middleware not writing response correctly when handler panics #1864
    • ๐Ÿ›  Fix binder not working with embedded pointer structs #1861
    • โž• Add Go 1.16 to CI and drop 1.12 specific code #1850

    โœจ Enhancements

    • ๐Ÿ‘‰ Make KeyFunc public in JWT middleware #1756
    • โž• Add support for optional filesystem to the static middleware #1797
    • โž• Add a custom error handler to key-auth middleware #1847
    • ๐Ÿ‘ Allow JWT token to be looked up from multiple sources #1845