mirror of
https://github.com/labstack/echo.git
synced 2025-01-12 01:22:21 +02:00
Update version and changelog for 4.5.0
This commit is contained in:
parent
647af2acec
commit
5b8fa6979f
23
CHANGELOG.md
23
CHANGELOG.md
@ -1,5 +1,28 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v4.5.0 - 2021-08-01
|
||||||
|
|
||||||
|
**Important notes**
|
||||||
|
|
||||||
|
A **BREAKING CHANGE** is introduced for JWT middleware users.
|
||||||
|
The JWT library used for the JWT middleware had to be changed from [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go) to
|
||||||
|
[github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt) due former library being unmaintained and affected by security
|
||||||
|
issues.
|
||||||
|
The [github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt) project is a drop-in replacement, but supports only the latest 2 Go versions.
|
||||||
|
So for JWT middleware users Go 1.15+ is required. For detailed information please read [#1940](https://github.com/labstack/echo/discussions/)
|
||||||
|
|
||||||
|
To change the library imports in all .go files in your project replace all occurrences of `dgrijalva/jwt-go` with `golang-jwt/jwt`.
|
||||||
|
|
||||||
|
For Linux CLI you can use:
|
||||||
|
```bash
|
||||||
|
find -type f -name "*.go" -exec sed -i "s/dgrijalva\/jwt-go/golang-jwt\/jwt/g" {} \;
|
||||||
|
go mod tidy
|
||||||
|
```
|
||||||
|
|
||||||
|
**Fixes**
|
||||||
|
|
||||||
|
* Change JWT library to `github.com/golang-jwt/jwt` [#1946](https://github.com/labstack/echo/pull/1946)
|
||||||
|
|
||||||
## v4.4.0 - 2021-07-12
|
## v4.4.0 - 2021-07-12
|
||||||
|
|
||||||
**Fixes**
|
**Fixes**
|
||||||
|
2
echo.go
2
echo.go
@ -241,7 +241,7 @@ const (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// Version of Echo
|
// Version of Echo
|
||||||
Version = "4.4.0"
|
Version = "4.5.0"
|
||||||
website = "https://echo.labstack.com"
|
website = "https://echo.labstack.com"
|
||||||
// http://patorjk.com/software/taag/#p=display&f=Small%20Slant&t=Echo
|
// http://patorjk.com/software/taag/#p=display&f=Small%20Slant&t=Echo
|
||||||
banner = `
|
banner = `
|
||||||
|
Loading…
Reference in New Issue
Block a user