Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/labstack/echo/v4 from 4.1.17 to 4.2.2 in /instrumentation/github.com/labstack/echo/otelecho #490

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2021

Bumps github.com/labstack/echo/v4 from 4.1.17 to 4.2.2.

Release notes

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

v4.2.2

Fixes

  • Allow proxy middleware to use query part in rewrite (#1802)
  • Fix timeout middleware not sending status code when handler returns an error (#1805)
  • Fix Bind() when target is array/slice and path/query params complains bind target not being struct (#1835)
  • Fix panic in redirect middleware on short host name (#1813)
  • Fix timeout middleware docs (#1836)

v4.2.1

Important notes

Due to a datarace the config parameters for the newly added timeout middleware required a change. See the docs. A performance regression has been fixed, even bringing better performance than before for some routing scenarios.

Fixes

  • Fix performance regression caused by path escaping (#1777, #1798, #1799, aldas)
  • Avoid context canceled errors (#1789, clwluvw)
  • Improve router to use on stack backtracking (#1791, aldas, stffabi)
  • Fix panic in timeout middleware not being not recovered and cause application crash (#1794, aldas)
  • Fix Echo.Serve() not serving on HTTP port correctly when TLSListener is used (#1785, #1793, aldas)
  • Apply go fmt (#1788, Le0tk0k)
  • Uses strings.Equalfold (#1790, rkilingr)
  • Improve code quality (#1792, withshubh)

This release was made possible by our contributors: aldas, clwluvw, lammel, Le0tk0k, maciej-jezierski, rkilingr, stffabi, withshubh

v4.2.0

Important notes

The behavior for binding data has been reworked for compatibility with echo before v4.1.11 by enforcing explicit tagging for processing parameters. This may break your code if you expect combined handling of query/path/form params. Please see the updated documentation for request and binding

The handling for rewrite rules has been slightly adjusted to expand * to a non-greedy (.*?) capture group. This is only relevant if multiple asterisks are used in your rules. Please see rewrite and proxy for details.

Security

  • Fix directory traversal vulnerability for Windows (#1718, little-cui)
  • Fix open redirect vulnerability with trailing slash (#1771,#1775 aldas,GeoffreyFrogeye)

Enhancements

  • Add Echo#ListenerNetwork as configuration (#1667, pafuent)
  • Add ability to change the status code using response beforeFuncs (#1706, RashadAnsari)
  • Echo server startup to allow data race free access to listener address
  • Binder: Restore pre v4.1.11 behaviour for c.Bind() to use query params only for GET or DELETE methods (#1727, aldas)
  • Binder: Add separate methods to bind only query params, path params or request body (#1681, aldas)

... (truncated)

Changelog

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

v4.2.2 - 2020-04-07

Fixes

  • Allow proxy middleware to use query part in rewrite (#1802)
  • Fix timeout middleware not sending status code when handler returns an error (#1805)
  • Fix Bind() when target is array/slice and path/query params complains bind target not being struct (#1835)
  • Fix panic in redirect middleware on short host name (#1813)
  • Fix timeout middleware docs (#1836)

v4.2.1 - 2020-03-08

Important notes

Due to a datarace the config parameters for the newly added timeout middleware required a change. See the docs. A performance regression has been fixed, even bringing better performance than before for some routing scenarios.

Fixes

  • Fix performance regression caused by path escaping (#1777, #1798, #1799, aldas)
  • Avoid context canceled errors (#1789, clwluvw)
  • Improve router to use on stack backtracking (#1791, aldas, stffabi)
  • Fix panic in timeout middleware not being not recovered and cause application crash (#1794, aldas)
  • Fix Echo.Serve() not serving on HTTP port correctly when TLSListener is used (#1785, #1793, aldas)
  • Apply go fmt (#1788, Le0tk0k)
  • Uses strings.Equalfold (#1790, rkilingr)
  • Improve code quality (#1792, withshubh)

This release was made possible by our contributors: aldas, clwluvw, lammel, Le0tk0k, maciej-jezierski, rkilingr, stffabi, withshubh

v4.2.0 - 2020-02-11

Important notes

The behaviour for binding data has been reworked for compatibility with echo before v4.1.11 by enforcing explicit tagging for processing parameters. This may break your code if you expect combined handling of query/path/form params. Please see the updated documentation for request and binding

The handling for rewrite rules has been slightly adjusted to expand * to a non-greedy (.*?) capture group. This is only relevant if multiple asterisks are used in your rules. Please see rewrite and proxy for details.

Security

  • Fix directory traversal vulnerability for Windows (#1718, little-cui)
  • Fix open redirect vulnerability with trailing slash (#1771,#1775 aldas,GeoffreyFrogeye)

Enhancements

... (truncated)

Commits
  • 8da8e16 Update version and changelog for 4.2.2 (#1838)
  • 10d8c53 Fix timeout middleware docs (fixes #1816) (#1836)
  • ae4665c Fix panic in redirect middleware on short host name (fix #1811) (#1813)
  • 67f6346 Fix Bind() when target is array/slice and path/query params complain target n...
  • dec96f0 fix timeout middleware not sending status code when handler returns an error ...
  • 4c2fd1f Allow proxy middleware to use query part in rewrite (fix #1798) (#1802)
  • a97052e Update version to v4.2.1
  • d6127fe Rework timeout middleware to use http.TimeoutHandler implementation (fix #176...
  • 5622ecc Fix performance regression caused by path escaping (#1777, #1798, #1799)
  • cffd3ef Avoid context canceled errors (#1789)
  • 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 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.1.17 to 4.2.2.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](labstack/echo@v4.1.17...v4.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from evantorrie as a code owner April 11, 2021 05:18
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2021

The following labels could not be found: dependencies, go, Skip Changelog.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 9, 2021

Superseded by #563.

@dependabot dependabot bot closed this May 9, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/instrumentation/github.com/labstack/echo/otelecho/github.com/labstack/echo/v4-4.2.2 branch May 9, 2021 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants