Sitelet https://web.archive.org/web/20210802173725/https://github.com/labstack/echo/commits/master
Skip to content
Permalink
master

Commits on Aug 1, 2021

  1. JWT middleware has been changed from github.com/dgrijalva/jwt-go to…

    … github.com/golang-jwt/jwt` due former library being unmaintained and having security
    
    issues.
    NOTE: `golang-jwt/jwt` now only supports last 2 Go releases. So 1.15+
    For detailed information please read #1940
    aldas committed Aug 1, 2021

Commits on Jul 12, 2021

Commits on Jul 10, 2021

  1. Fixing Timeout middleware Context propagation (#1910)

    This will let middlewares/handler later on the chain to properly handle
    the Timeout middleware Context cancellation.
    
    Fixes #1909
    pafuent committed Jul 10, 2021

Commits on Jul 5, 2021

  1. Allow for custom JSON encoding implementations (#1880)

    * Allow for custom JSON encoding implementations
    
    Co-authored-by: toimtoimtoim <desinformatsioon@gmail.com>
    hoshsadiq and aldas committed Jul 5, 2021

Commits on Jun 25, 2021

Commits on Jun 13, 2021

  1. Adds JWTConfig.ParseTokenFunc to JWT middleware to allow different li…

    …braries implementing JWT parsing.
    aldas committed Jun 13, 2021

Commits on Jun 2, 2021

  1. Split XFF header only by comma

    osavchenko authored and aldas committed Jun 2, 2021
  2. fix rateLimiteDoc

    harukitosa authored and aldas committed Jun 2, 2021

Commits on Jun 1, 2021

  1. docs: Added comment about TokenLookup

    Signed-off-by: Kaan Karakaya <yusufkaan142@gmail.com>
    TheYkk authored and aldas committed Jun 1, 2021

Commits on May 25, 2021

  1. feat: Bind data using headers as source (#1866)

    Currently, echo supports binding data from query, path or body.
    Sometimes we need to read bind data from headers. It would be nice to
    automatically bind those using the `bindData` func, which is already
    well prepared to accept `http.Header`.
    
    I didn't add this to the `Bind` func, so this will not happen
    automatically. Main reason is backwards compatability. It might be
    confusing if variables are bound from headers when upgrading, and might
    even have become a security issue as pointed out in #1670.
    
    * Add docs for BindHeaders
    * Add test for BindHeader with invalid data type
    noseglid committed May 25, 2021

Commits on May 8, 2021

  1. explicitly return an error instead of hiding it

    lipengwei authored and aldas committed May 8, 2021
  2. Fix #1858: Add query params binding support for anonymous struct poin…

    …ter filed
    lipengwei authored and aldas committed May 8, 2021
  3. restore originalWriter in case of panic inside echoHandlerFuncWrapper…

    ….ServeHTTP method
    VoltBoy authored and aldas committed May 8, 2021
  4. Fix #1787: Add support for optional filesystem to the static middlewa…

    …re (#1797)
    
    * Add optional filesystem to static middleware.
    lukasdietrich committed May 8, 2021
  5. Jwt lookup from multiple sources (#1845)

    * Jwt lookup from multiple sources
    TheYkk committed May 8, 2021
  6. add a custom error handler to key-auth middleware (#1847)

    * add a custom error handler to key-auth middleware
    hyacinthus committed May 8, 2021
  7. feat(jwt): make KeyFunc public in JWT middleware (#1756)

    * feat(jwt): make KeyFunc public in JWT middleware
    
    It allows a user-defined function to supply the key for a token
    verification.
    antonindrawan committed May 8, 2021

Commits on Apr 27, 2021

  1. Fix router not matching param route with trailing slash and implement…

    … matching by path+method (#1812)
    
    * when url ends with slash first param route is the match (fix #1804)
    * router should check if method is suitable for matching route and if not then continue search in tree (fix #1808)
    aldas committed Apr 27, 2021

Commits on Apr 17, 2021

  1. Create LICENSE

    vishr committed Apr 17, 2021

Commits on Apr 16, 2021

  1. Add Go 1.16 to CI and drop 1.12 specific code (#1850)

    * Correct incorrect years in CHANGELOG.md
    * CI tests with last 4 versions. Remove 1.12 and below specific code
    * Rename proxy test
    aldas committed Apr 16, 2021

Commits on Apr 9, 2021

Commits on Apr 7, 2021

Commits on Apr 6, 2021

  1. Fix Bind() when target is array/slice and path/query params complain …

    …target not being struct (#1835)
    
    For path/query params binding we do not try (silently return) to bind when target is not struct.
    Recreates PR #1574 and fixes #1565
    aldas committed Apr 6, 2021

Commits on Mar 12, 2021

Commits on Mar 8, 2021

  1. Update version to v4.2.1

    lammel committed Mar 8, 2021
  2. Fix performance regression caused by path escaping (#1777, #1798, #1799)

    * Fix performance regression #1777 and avoid double escaping in rewrite/proxy middleware.
    * Add rewrite test for correct escaping of replacement (#1798)
    
    Co-authored-by: Roland Lammel <rl@neotel.at>
    aldas and lammel committed Mar 8, 2021

Commits on Mar 7, 2021

  1. Avoid context canceled errors (#1789)

    * Avoid context canceled errors
    
    Return 499 Client Closed Request when the client has closed the request before the server could send a response
    
    Signed-off-by: Seena Fallah <seenafallah@gmail.com>
    clwluvw committed Mar 7, 2021

Commits on Mar 5, 2021

  1. Refactor router for readability (#1796)

    * refactor router tests to table driven (this way it is easier to debug test cases with breakpoints)
    * refactor router variables to be more readable
    aldas committed Mar 5, 2021
Older