Skip to content

Commit 5b8fa69

Browse files
committed
Update version and changelog for 4.5.0
1 parent 647af2a commit 5b8fa69

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## v4.5.0 - 2021-08-01
4+
5+
**Important notes**
6+
7+
A **BREAKING CHANGE** is introduced for JWT middleware users.
8+
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
9+
[github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt) due former library being unmaintained and affected by security
10+
issues.
11+
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.
12+
So for JWT middleware users Go 1.15+ is required. For detailed information please read [#1940](https://github.com/labstack/echo/discussions/)
13+
14+
To change the library imports in all .go files in your project replace all occurrences of `dgrijalva/jwt-go` with `golang-jwt/jwt`.
15+
16+
For Linux CLI you can use:
17+
```bash
18+
find -type f -name "*.go" -exec sed -i "s/dgrijalva\/jwt-go/golang-jwt\/jwt/g" {} \;
19+
go mod tidy
20+
```
21+
22+
**Fixes**
23+
24+
* Change JWT library to `github.com/golang-jwt/jwt` [#1946](https://github.com/labstack/echo/pull/1946)
25+
326
## v4.4.0 - 2021-07-12
427

528
**Fixes**

echo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const (
241241

242242
const (
243243
// Version of Echo
244-
Version = "4.4.0"
244+
Version = "4.5.0"
245245
website = "https://echo.labstack.com"
246246
// http://patorjk.com/software/taag/#p=display&f=Small%20Slant&t=Echo
247247
banner = `

0 commit comments

Comments
 (0)