diff --git a/CHANGELOG.md b/CHANGELOG.md index a15e69cff..358701c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## v5.1.0 - 2026-03-31 + +**Security** + +This change does not break the API contract, but it does introduce breaking changes in logic/behavior. +If your application is using `c.RealIP()` beware and read https://echo.labstack.com/docs/ip-address + +`v4` behavior can be restored with: +```go +e := echo.New() +e.IPExtractor = echo.LegacyIPExtractor() +``` + +* Remove legacy IP extraction logic from context.RealIP method by @aldas in https://github.com/labstack/echo/pull/2933 + + +**Enhancements** + +* Add echo-opentelemetry to the README.md by @aldas in https://github.com/labstack/echo/pull/2908 +* fix: correct spelling mistakes in comments and field name by @crawfordxx in https://github.com/labstack/echo/pull/2916 +* Add https://github.com/labstack/echo-prometheus to the middleware list in README.md by @aldas in https://github.com/labstack/echo/pull/2919 +* Add StartConfig.Listener so server with custom Listener is easier to create by @aldas in https://github.com/labstack/echo/pull/2920 +* Fix rate limiter documentation for default burst value by @karesansui-u in https://github.com/labstack/echo/pull/2925 +* Add doc comments to clarify usage of File related methods and leading slash handling by @aldas in https://github.com/labstack/echo/pull/2928 +* Add NewDefaultFS function to help create filesystem that allows absolute paths by @aldas in https://github.com/labstack/echo/pull/2931 +* Do not set http.Server.WriteTimeout in StartConfig by @aldas in https://github.com/labstack/echo/pull/2932 + + + ## v5.0.4 - 2026-02-15 **Enhancements** diff --git a/README.md b/README.md index 6ba1801fd..2c958a55a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Sourcegraph](https://sourcegraph.com/github.com/labstack/echo/-/badge.svg?style=flat-square)](https://sourcegraph.com/github.com/labstack/echo?badge) -[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/labstack/echo/v4) +[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/labstack/echo/v5) [![Go Report Card](https://goreportcard.com/badge/github.com/labstack/echo?style=flat-square)](https://goreportcard.com/report/github.com/labstack/echo) [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/labstack/echo/echo.yml?style=flat-square)](https://github.com/labstack/echo/actions) [![Codecov](https://img.shields.io/codecov/c/github/labstack/echo.svg?style=flat-square)](https://codecov.io/gh/labstack/echo) @@ -50,11 +50,7 @@ Click [here](https://github.com/sponsors/labstack) for more information on spons ### Supported Echo versions - Latest major version of Echo is `v5` as of 2026-01-18. - - Until 2026-03-31, any critical issues requiring breaking API changes will be addressed, even if this violates - semantic versioning. - See [API_CHANGES_V5.md](./API_CHANGES_V5.md) for public API changes between `v4` and `v5`, notes on upgrading. - - If you are using Echo in a production environment, it is recommended to wait until after 2026-03-31 before - upgrading. - Echo `v4` is supported with **security*** updates and **bug** fixes until **2026-12-31** ### Installation diff --git a/version.go b/version.go index 739a04b97..208112090 100644 --- a/version.go +++ b/version.go @@ -5,5 +5,5 @@ package echo const ( // Version of Echo - Version = "5.0.4" + Version = "5.1.0" )