Skip to content

Commit 5786024

Browse files
authored
Changelog for v5.2.0 (#3010)
Release v5.2.0. Bumps version.go and adds the changelog entry.
1 parent 8d1ae9d commit 5786024

2 files changed

Lines changed: 41 additions & 1 deletion

File tree

CHANGELOG.md

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

3+
## v5.2.0 - 2026-06-14
4+
5+
**Security**
6+
7+
* fix(static): reject encoded path separators that bypass route-level middleware by @vishr in https://github.com/labstack/echo/pull/3009
8+
* fix(middleware/static): don't double-unescape request path (#2599) by @vishr in https://github.com/labstack/echo/pull/3006
9+
10+
Fixes [GHSA-vfp3-v2gw-7wfq](https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq): an encoded path separator (`%2F` or `%5C`) in a static file URL could bypass route-level middleware (e.g. authentication on a sibling route) and disclose static files. Both `StaticDirectoryHandler`/`StaticFS` and the `Static` middleware are affected. Thanks to @a-tt-om and @oran-gugu for reporting.
11+
12+
**Enhancements**
13+
14+
* feat(middleware): optional RateLimiterStoreContext for response headers (#2961) by @vishr in https://github.com/labstack/echo/pull/3007
15+
* perf: optimize core hot paths (chain, context, binding, responses) by @vishr in https://github.com/labstack/echo/pull/3008
16+
* fix(binder): include field name in bind conversion errors (#2629) by @vishr in https://github.com/labstack/echo/pull/3005
17+
* fix(binder): serialize BindingError to structured JSON (#2771) by @vishr in https://github.com/labstack/echo/pull/3004
18+
* fix(binder): MustUnixTime docs say time.Time, not time.Duration by @c-tonneslan in https://github.com/labstack/echo/pull/2988
19+
* fix(middleware): reset ContentLength after gzip decompression by @shblue21 in https://github.com/labstack/echo/pull/3000
20+
* fix(middleware/proxy): append RealIP to X-Forwarded-For for WebSocket requests by @kawaway in https://github.com/labstack/echo/pull/2994
21+
* Fix proxy panic when balancer has no targets by @shblue21 in https://github.com/labstack/echo/pull/2977
22+
* fix(middleware): correct documented KeyAuth KeyLookup default by @leestana01 in https://github.com/labstack/echo/pull/2992
23+
* test: lock in v5 group route method-handling (405 + OPTIONS) by @vishr in https://github.com/labstack/echo/pull/3003
24+
* docs: liveness signals in README + public ROADMAP by @vishr in https://github.com/labstack/echo/pull/3002
25+
* Fix typos in CSRFConfig comments by @shblue21 in https://github.com/labstack/echo/pull/2979
26+
* refactor: modernize code usage using gofix by @kumapower17 in https://github.com/labstack/echo/pull/2970
27+
* refactor: replace Split in loops with more efficient SplitSeq by @box4wangjing in https://github.com/labstack/echo/pull/2969
28+
* refactor: use the built-in max/min to simplify the code by @criciss in https://github.com/labstack/echo/pull/2966
29+
* Update GitHub actions deps versions by @aldas in https://github.com/labstack/echo/pull/2971
30+
31+
**New Contributors**
32+
33+
* @criciss made their first contribution in https://github.com/labstack/echo/pull/2966
34+
* @box4wangjing made their first contribution in https://github.com/labstack/echo/pull/2969
35+
* @shblue21 made their first contribution in https://github.com/labstack/echo/pull/2977
36+
* @c-tonneslan made their first contribution in https://github.com/labstack/echo/pull/2988
37+
* @leestana01 made their first contribution in https://github.com/labstack/echo/pull/2992
38+
* @kawaway made their first contribution in https://github.com/labstack/echo/pull/2994
39+
40+
**Full Changelog**: https://github.com/labstack/echo/compare/v5.1.1...v5.2.0
41+
42+
343
## v5.1.1 - 2026-05-01
444

545
**Security**

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ package echo
55

66
const (
77
// Version of Echo
8-
Version = "5.1.1"
8+
Version = "5.2.0"
99
)

0 commit comments

Comments
 (0)