master
Commits on Aug 1, 2021
-
-
JWT middleware has been changed from
github.com/dgrijalva/jwt-goto…… 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
Commits on Jul 12, 2021
Commits on Jul 5, 2021
-
Allow for custom JSON encoding implementations (#1880)
* Allow for custom JSON encoding implementations Co-authored-by: toimtoimtoim <desinformatsioon@gmail.com>
-
Commits on Jun 25, 2021
Commits on Jun 13, 2021
-
Adds JWTConfig.ParseTokenFunc to JWT middleware to allow different li…
…braries implementing JWT parsing.
Commits on Jun 2, 2021
Commits on Jun 1, 2021
-
docs: Added comment about TokenLookup
Signed-off-by: Kaan Karakaya <yusufkaan142@gmail.com>
Commits on May 25, 2021
-
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
Commits on May 8, 2021
-
-
-
restore originalWriter in case of panic inside echoHandlerFuncWrapper…
….ServeHTTP method
-
Fix #1787: Add support for optional filesystem to the static middlewa…
…re (#1797) * Add optional filesystem to static middleware.
-
Jwt lookup from multiple sources (#1845)
* Jwt lookup from multiple sources
-
add a custom error handler to key-auth middleware (#1847)
* add a custom error handler to key-auth middleware
-
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.
Commits on Apr 27, 2021
Commits on Apr 17, 2021
Commits on Apr 16, 2021
-
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
Commits on Apr 9, 2021
Commits on Apr 7, 2021
Commits on Apr 6, 2021
Commits on Mar 12, 2021
Commits on Mar 8, 2021
Commits on Mar 7, 2021
-
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>
Commits on Mar 5, 2021
-
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