You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/09/30 16:07:27 UTC

[GitHub] [servicecomb-service-center] dependabot[bot] opened a new pull request, #1343: Bump github.com/labstack/echo/v4 from 4.7.2 to 4.9.0

dependabot[bot] opened a new pull request, #1343:
URL: https://github.com/apache/servicecomb-service-center/pull/1343

   Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.7.2 to 4.9.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.9.0</h2>
   <p><strong>Security</strong></p>
   <ul>
   <li>Fix open redirect vulnerability in handlers serving static directories (e.Static, e.StaticFs, echo.StaticDirectoryHandler) <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2260">#2260</a></li>
   </ul>
   <p><strong>Enhancements</strong></p>
   <ul>
   <li>Allow configuring ErrorHandler in CSRF middleware <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2257">#2257</a></li>
   <li>Replace HTTP method constants in tests with stdlib constants <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2247">#2247</a></li>
   </ul>
   <h2>v4.8.0</h2>
   <p><strong>Most notable things</strong></p>
   <p>You can now add any arbitrary HTTP method type as a route <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2237">#2237</a></p>
   <pre lang="go"><code>e.Add(&quot;COPY&quot;, &quot;/*&quot;, func(c echo.Context) error 
     return c.String(http.StatusOK, &quot;OK COPY&quot;)
   })
   </code></pre>
   <p>You can add custom 404 handler for specific paths <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2217">#2217</a></p>
   <pre lang="go"><code>e.RouteNotFound(&quot;/*&quot;, func(c echo.Context) error { return c.NoContent(http.StatusNotFound) })
   <p>g := e.Group(&quot;/images&quot;)
   g.RouteNotFound(&quot;/*&quot;, func(c echo.Context) error { return c.NoContent(http.StatusNotFound) })
   </code></pre></p>
   <p><strong>Enhancements</strong></p>
   <ul>
   <li>Add new value binding methods (UnixTimeMilli,TextUnmarshaler,JSONUnmarshaler) to Valuebinder <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2127">#2127</a></li>
   <li>Refactor: body_limit middleware unit test <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2145">#2145</a></li>
   <li>Refactor: Timeout mw: rework how test waits for timeout. <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2187">#2187</a></li>
   <li>BasicAuth middleware returns 500 InternalServerError on invalid base64 strings but should return 400 <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2191">#2191</a></li>
   <li>Refactor: duplicated findStaticChild process at findChildWithLabel <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2176">#2176</a></li>
   <li>Allow different param names in different methods with same path scheme <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2209">#2209</a></li>
   <li>Add support for registering handlers for different 404 routes <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2217">#2217</a></li>
   <li>Middlewares should use errors.As() instead of type assertion on HTTPError <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2227">#2227</a></li>
   <li>Allow arbitrary HTTP method types to be added as routes <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2237">#2237</a></li>
   </ul>
   </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.9.0 - 2022-09-04</h2>
   <p><strong>Security</strong></p>
   <ul>
   <li>Fix open redirect vulnerability in handlers serving static directories (e.Static, e.StaticFs, echo.StaticDirectoryHandler) <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2260">#2260</a></li>
   </ul>
   <p><strong>Enhancements</strong></p>
   <ul>
   <li>Allow configuring ErrorHandler in CSRF middleware <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2257">#2257</a></li>
   <li>Replace HTTP method constants in tests with stdlib constants <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2247">#2247</a></li>
   </ul>
   <h2>v4.8.0 - 2022-08-10</h2>
   <p><strong>Most notable things</strong></p>
   <p>You can now add any arbitrary HTTP method type as a route <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2237">#2237</a></p>
   <pre lang="go"><code>e.Add(&quot;COPY&quot;, &quot;/*&quot;, func(c echo.Context) error 
     return c.String(http.StatusOK, &quot;OK COPY&quot;)
   })
   </code></pre>
   <p>You can add custom 404 handler for specific paths <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2217">#2217</a></p>
   <pre lang="go"><code>e.RouteNotFound(&quot;/*&quot;, func(c echo.Context) error { return c.NoContent(http.StatusNotFound) })
   <p>g := e.Group(&quot;/images&quot;)
   g.RouteNotFound(&quot;/*&quot;, func(c echo.Context) error { return c.NoContent(http.StatusNotFound) })
   </code></pre></p>
   <p><strong>Enhancements</strong></p>
   <ul>
   <li>Add new value binding methods (UnixTimeMilli,TextUnmarshaler,JSONUnmarshaler) to Valuebinder <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2127">#2127</a></li>
   <li>Refactor: body_limit middleware unit test <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2145">#2145</a></li>
   <li>Refactor: Timeout mw: rework how test waits for timeout. <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2187">#2187</a></li>
   <li>BasicAuth middleware returns 500 InternalServerError on invalid base64 strings but should return 400 <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2191">#2191</a></li>
   <li>Refactor: duplicated findStaticChild process at findChildWithLabel <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2176">#2176</a></li>
   <li>Allow different param names in different methods with same path scheme <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2209">#2209</a></li>
   <li>Add support for registering handlers for different 404 routes <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2217">#2217</a></li>
   <li>Middlewares should use errors.As() instead of type assertion on HTTPError <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2227">#2227</a></li>
   <li>Allow arbitrary HTTP method types to be added as routes <a href="https://github-redirect.dependabot.com/labstack/echo/pull/2237">#2237</a></li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/labstack/echo/commit/16d3b65eb09664fe95dc6e4e7e2a082010d0eb68"><code>16d3b65</code></a> Changelog for 4.9.0</li>
   <li><a href="https://github.com/labstack/echo/commit/0ac4d74402391912ff6da733bb09fd4c3980b4e1"><code>0ac4d74</code></a> Fix <a href="https://github-redirect.dependabot.com/labstack/echo/issues/2259">#2259</a> open redirect vulnerability in echo.StaticDirectoryHandler (used by...</li>
   <li><a href="https://github.com/labstack/echo/commit/d77e8c09b21bb23fa8d2dc0250c998d0da0815fa"><code>d77e8c0</code></a> Added ErrorHandler and ErrorHandlerWithContext in CSRF middleware (<a href="https://github-redirect.dependabot.com/labstack/echo/issues/2257">#2257</a>)</li>
   <li><a href="https://github.com/labstack/echo/commit/534bbb81e3a13f04c7c1513d23659ae599e421c0"><code>534bbb8</code></a> replace POST constance with stdlib constance</li>
   <li><a href="https://github.com/labstack/echo/commit/fb57d96a6dc0e35c7016153ac6d028ced1ca0e41"><code>fb57d96</code></a> replace GET constance with stdlib constance</li>
   <li><a href="https://github.com/labstack/echo/commit/d48197db7af19becf2363496493ed0e2a8d1caea"><code>d48197d</code></a> Changelog for 4.8.0</li>
   <li><a href="https://github.com/labstack/echo/commit/cba12a570e8caa1fafabc2d41afc97bd7a83d758"><code>cba12a5</code></a> Allow arbitrary HTTP method types to be added as routes</li>
   <li><a href="https://github.com/labstack/echo/commit/a327884b682cc1458580ac583e04dc610429b6fc"><code>a327884</code></a> add:README.md-Third-party middlewares-github.com/go-woo/protoc-gen-echo</li>
   <li><a href="https://github.com/labstack/echo/commit/61422dd7de9b0359708ff56b67099b91b5954c31"><code>61422dd</code></a> Update CI-flow (Go 1.19 +deps)</li>
   <li><a href="https://github.com/labstack/echo/commit/a9879ffa6b6fe73e43a0e062884f83eb959e6c1a"><code>a9879ff</code></a> Middlewares should use errors.As() instead of type assertion on HTTPError</li>
   <li>Additional commits viewable in <a href="https://github.com/labstack/echo/compare/v4.7.2...v4.9.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.7.2&new-version=4.9.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 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)
   - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/servicecomb-service-center/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-service-center] tianxiaoliang merged pull request #1343: Bump github.com/labstack/echo/v4 from 4.7.2 to 4.9.0

Posted by GitBox <gi...@apache.org>.
tianxiaoliang merged PR #1343:
URL: https://github.com/apache/servicecomb-service-center/pull/1343


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org