Download Latest Version v4.14.0 source code.tar.gz (412.7 kB)
Email in envelope

Get an email when there's a new version of Echo

Home / v4.14.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-12-11 2.7 kB
v4.14.0 source code.tar.gz 2025-12-11 412.7 kB
v4.14.0 source code.zip 2025-12-11 461.5 kB
Totals: 3 Items   876.9 kB 3

middleware.Logger() has been deprecated. For request logging, use middleware.RequestLogger() or middleware.RequestLoggerWithConfig().

middleware.RequestLogger() replaces middleware.Logger(), offering comparable configuration while relying on the Go standard library’s new slog logger.

The previous default output format was JSON. The new default follows the standard slog logger settings. To continue emitting request logs in JSON, configure slog accordingly:

:::go
slog.SetDefault(slog.New(slog.NewJSONHandler(os.Stdout, nil)))
e.Use(middleware.RequestLogger())

If you are developing anything more substantial than a demo, use middleware.RequestLoggerWithConfig()

Security

What's Changed

New Contributors

Full Changelog: https://github.com/labstack/echo/compare/v4.13.4...v4.14.0

Source: README.md, updated 2025-12-11