build(deps): Bump github.com/labstack/echo/v4 from 4.13.4 to 4.14.0 #72

Closed
dependabot[bot] wants to merge 1 commit from dependabot/go_modules/github.com/labstack/echo/v4-4.14.0 into master
dependabot[bot] commented 2025-12-15 03:15:44 -05:00 (Migrated from github.com)

Bumps github.com/labstack/echo/v4 from 4.13.4 to 4.14.0.

Release notes

Sourced from github.com/labstack/echo/v4's releases.

v4.14.0

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:

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

Changelog

Sourced from github.com/labstack/echo/v4's changelog.

v4.14.0 - 2025-12-11

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:

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

Security

Enhancements

Commits
  • 6392cb4 Changelog for 4.14.0
  • c9bd2cd Update golang.org/x/* deps (#2850)
  • c12cb08 Logger middleware json string escaping and deprecation (#2849)
  • 612967a Update deps
  • 53b692c Ensure proxy connection is closed in proxyRaw function
  • e644ff8 Replace custom private IP range check with built-in net.IP.IsPrivate() method
  • 40e2e8f Fix typo "+"
  • 55cb3b6 Optimize realm quoting to happen once during middleware creation
  • dbd583f Add comprehensive tests for realm quoting behavior
  • 432a2ad Improve BasicAuth middleware: use strings.Cut and RFC compliance
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.13.4 to 4.14.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/labstack/echo/releases">github.com/labstack/echo/v4's releases</a>.</em></p> <blockquote> <h2>v4.14.0</h2> <p><code>middleware.Logger()</code> has been deprecated. For request logging, use <code>middleware.RequestLogger()</code> or <code>middleware.RequestLoggerWithConfig()</code>.</p> <p><code>middleware.RequestLogger()</code> replaces <code>middleware.Logger()</code>, offering comparable configuration while relying on the Go standard library’s new <code>slog</code> logger.</p> <p>The previous default output format was JSON. The new default follows the standard <code>slog</code> logger settings. To continue emitting request logs in JSON, configure <code>slog</code> accordingly:</p> <pre lang="go"><code>slog.SetDefault(slog.New(slog.NewJSONHandler(os.Stdout, nil))) e.Use(middleware.RequestLogger()) </code></pre> <p>If you are developing anything more substantial than a demo, use <code>middleware.RequestLoggerWithConfig()</code></p> <p><strong>Security</strong></p> <ul> <li>Logger middleware json string escaping and deprecation by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2849">labstack/echo#2849</a></li> </ul> <h2>What's Changed</h2> <ul> <li>Update deps by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2807">labstack/echo#2807</a></li> <li>refactor to use reflect.TypeFor by <a href="https://github.com/cuiweixie"><code>@​cuiweixie</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2812">labstack/echo#2812</a></li> <li>Use Go 1.25 in CI by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2810">labstack/echo#2810</a></li> <li>Modernize context.go by replacing interface{} with any by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2822">labstack/echo#2822</a></li> <li>Fix typo in SetParamValues comment by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2828">labstack/echo#2828</a></li> <li>Fix typo in ContextTimeout middleware comment by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2827">labstack/echo#2827</a></li> <li>Improve BasicAuth middleware: use strings.Cut and RFC compliance by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2825">labstack/echo#2825</a></li> <li>Fix duplicate plus operator in router backtracking logic by <a href="https://github.com/yuya-morimoto"><code>@​yuya-morimoto</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2832">labstack/echo#2832</a></li> <li>Replace custom private IP range check with built-in net.IP.IsPrivate by <a href="https://github.com/kumapower17"><code>@​kumapower17</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2835">labstack/echo#2835</a></li> <li>Ensure proxy connection is closed in proxyRaw function(<a href="https://redirect.github.com/labstack/echo/issues/2837">#2837</a>) by <a href="https://github.com/kumapower17"><code>@​kumapower17</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2838">labstack/echo#2838</a></li> <li>Update deps by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2843">labstack/echo#2843</a></li> <li>Logger middleware json string escaping and deprecation by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2849">labstack/echo#2849</a></li> <li>Update golang.org/x/* deps by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2850">labstack/echo#2850</a></li> <li>Changelog for 4.14.0 by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2851">labstack/echo#2851</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/cuiweixie"><code>@​cuiweixie</code></a> made their first contribution in <a href="https://redirect.github.com/labstack/echo/pull/2812">labstack/echo#2812</a></li> <li><a href="https://github.com/yuya-morimoto"><code>@​yuya-morimoto</code></a> made their first contribution in <a href="https://redirect.github.com/labstack/echo/pull/2832">labstack/echo#2832</a></li> <li><a href="https://github.com/kumapower17"><code>@​kumapower17</code></a> made their first contribution in <a href="https://redirect.github.com/labstack/echo/pull/2835">labstack/echo#2835</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/labstack/echo/compare/v4.13.4...v4.14.0">https://github.com/labstack/echo/compare/v4.13.4...v4.14.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/labstack/echo/blob/master/CHANGELOG.md">github.com/labstack/echo/v4's changelog</a>.</em></p> <blockquote> <h2>v4.14.0 - 2025-12-11</h2> <p><code>middleware.Logger</code> has been deprecated. For request logging, use <code>middleware.RequestLogger</code> or <code>middleware.RequestLoggerWithConfig</code>.</p> <p><code>middleware.RequestLogger</code> replaces <code>middleware.Logger</code>, offering comparable configuration while relying on the Go standard library’s new <code>slog</code> logger.</p> <p>The previous default output format was JSON. The new default follows the standard <code>slog</code> logger settings. To continue emitting request logs in JSON, configure <code>slog</code> accordingly:</p> <pre lang="go"><code>slog.SetDefault(slog.New(slog.NewJSONHandler(os.Stdout, nil))) e.Use(middleware.RequestLogger()) </code></pre> <p><strong>Security</strong></p> <ul> <li>Logger middleware json string escaping and deprecation by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2849">labstack/echo#2849</a></li> </ul> <p><strong>Enhancements</strong></p> <ul> <li>Update deps by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2807">labstack/echo#2807</a></li> <li>refactor to use reflect.TypeFor by <a href="https://github.com/cuiweixie"><code>@​cuiweixie</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2812">labstack/echo#2812</a></li> <li>Use Go 1.25 in CI by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2810">labstack/echo#2810</a></li> <li>Modernize context.go by replacing interface{} with any by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2822">labstack/echo#2822</a></li> <li>Fix typo in SetParamValues comment by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2828">labstack/echo#2828</a></li> <li>Fix typo in ContextTimeout middleware comment by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2827">labstack/echo#2827</a></li> <li>Improve BasicAuth middleware: use strings.Cut and RFC compliance by <a href="https://github.com/vishr"><code>@​vishr</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2825">labstack/echo#2825</a></li> <li>Fix duplicate plus operator in router backtracking logic by <a href="https://github.com/yuya-morimoto"><code>@​yuya-morimoto</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2832">labstack/echo#2832</a></li> <li>Replace custom private IP range check with built-in net.IP.IsPrivate by <a href="https://github.com/kumapower17"><code>@​kumapower17</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2835">labstack/echo#2835</a></li> <li>Ensure proxy connection is closed in proxyRaw function(<a href="https://redirect.github.com/labstack/echo/issues/2837">#2837</a>) by <a href="https://github.com/kumapower17"><code>@​kumapower17</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2838">labstack/echo#2838</a></li> <li>Update deps by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2843">labstack/echo#2843</a></li> <li>Update golang.org/x/* deps by <a href="https://github.com/aldas"><code>@​aldas</code></a> in <a href="https://redirect.github.com/labstack/echo/pull/2850">labstack/echo#2850</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/labstack/echo/commit/6392cb459842d2c1747902ec2a1809c1387df5d8"><code>6392cb4</code></a> Changelog for 4.14.0</li> <li><a href="https://github.com/labstack/echo/commit/c9bd2cd8e32d07c2d445ff07300338bf5a28362f"><code>c9bd2cd</code></a> Update golang.org/x/* deps (<a href="https://redirect.github.com/labstack/echo/issues/2850">#2850</a>)</li> <li><a href="https://github.com/labstack/echo/commit/c12cb08a8679d45dbefe31ab604e60c9ebb64c3c"><code>c12cb08</code></a> Logger middleware json string escaping and deprecation (<a href="https://redirect.github.com/labstack/echo/issues/2849">#2849</a>)</li> <li><a href="https://github.com/labstack/echo/commit/612967a9fec11b112a16c7b62efc2344eae308e8"><code>612967a</code></a> Update deps</li> <li><a href="https://github.com/labstack/echo/commit/53b692c4d4de6306d5306d2c81b8335e71ddc016"><code>53b692c</code></a> Ensure proxy connection is closed in proxyRaw function</li> <li><a href="https://github.com/labstack/echo/commit/e644ff8f7bb01c694cacec3ad22a7471609ea106"><code>e644ff8</code></a> Replace custom private IP range check with built-in net.IP.IsPrivate() method</li> <li><a href="https://github.com/labstack/echo/commit/40e2e8faf95226d541ecce3ca27def3cb9c7f592"><code>40e2e8f</code></a> Fix typo &quot;+&quot;</li> <li><a href="https://github.com/labstack/echo/commit/55cb3b625d1228827fa35a3cfc4dd15b3a3a406b"><code>55cb3b6</code></a> Optimize realm quoting to happen once during middleware creation</li> <li><a href="https://github.com/labstack/echo/commit/dbd583fa4d9e1b327f06cfe9abc97b044b273289"><code>dbd583f</code></a> Add comprehensive tests for realm quoting behavior</li> <li><a href="https://github.com/labstack/echo/commit/432a2adf46fe74403b7df3a81aca7583da02c054"><code>432a2ad</code></a> Improve BasicAuth middleware: use strings.Cut and RFC compliance</li> <li>Additional commits viewable in <a href="https://github.com/labstack/echo/compare/v4.13.4...v4.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/labstack/echo/v4&package-manager=go_modules&previous-version=4.13.4&new-version=4.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
maxpeterkaya closed this pull request 2026-01-25 19:01:54 -05:00

Pull request closed

Sign in to join this conversation.
No description provided.