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

chore(deps): bump the gomod-normal-deps group across 2 directories with 3 updates #260

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Bumps the gomod-normal-deps group with 2 updates in the / directory: golang.org/x/tools and google.golang.org/grpc.
Bumps the gomod-normal-deps group with 2 updates in the /tests directory: google.golang.org/grpc and github.com/labstack/echo/v4.

Updates golang.org/x/tools from 0.27.0 to 0.28.0

Commits
  • 44670c7 go.mod: update golang.org/x dependencies
  • 7eebab3 gopls/internal/golang: support extract variable at top level
  • e334696 gopls/internal/golang: ignore effects for change signature refactoring
  • 3901733 internal/refactor/inline: substitute groups of dependent arguments
  • 61b2408 gopls/internal/golang: add "Extract constant" counterpart
  • c01eead internal/gcimporter: require binary export data header
  • 9a04136 gopls/internal/golang/stubmethods: refine crash into bug report
  • 01e0b05 internal/refactor/inline: fix condition for splice assignment strategy
  • 557f540 gopls/internal/golang: don't offer to move variadic parameters
  • 399ee16 internal/gcimporter: update FindExportData to return a non-negative size
  • Additional commits viewable in compare view

Updates google.golang.org/grpc from 1.68.0 to 1.68.1

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.68.1

Bug Fixes

  • credentials/alts: avoid SRV and TXT lookups for handshaker service to work around hangs caused by buggy versions of systemd-resolved. (#7861)

Dependencies

  • Relax minimum Go version requirement from go1.22.7 to go1.22. (#7831)
Commits

Updates google.golang.org/grpc from 1.68.0 to 1.68.1

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.68.1

Bug Fixes

  • credentials/alts: avoid SRV and TXT lookups for handshaker service to work around hangs caused by buggy versions of systemd-resolved. (#7861)

Dependencies

  • Relax minimum Go version requirement from go1.22.7 to go1.22. (#7831)
Commits

Updates github.com/labstack/echo/v4 from 4.12.0 to 4.13.0

Release notes

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

JWT Middleware Removed

BREAKING CHANGE: JWT Middleware Removed from Core

The JWT middleware has been removed from Echo core due to another security vulnerability, CVE-2024-51744. For more details, refer to issue #2699. A drop-in replacement is available in the labstack/echo-jwt repository or see alternative implementation

Important: Direct assignments like token := c.Get("user").(*jwt.Token) will now cause a panic due to an invalid cast. Update your code accordingly. Replace the current imports from "github.com/golang-jwt/jwt" in your handlers to the new middleware version using "github.com/golang-jwt/jwt/v5".

Background:

The version of golang-jwt/jwt (v3.2.2) previously used in Echo core has been in an unmaintained state for some time. This is not the first vulnerability affecting this library; earlier issues were addressed in [PR #1946](labstack/echo#1946). JWT middleware was marked as deprecated in Echo core as of v4.10.0 on 2022-12-27. If you did not notice that, consider leveraging tools like Staticcheck to catch such deprecations earlier in you dev/CI flow. For bonus points - check out gosec.

We sincerely apologize for any inconvenience caused by this change. While we strive to maintain backward compatibility within Echo core, recurring security issues with third-party dependencies have forced this decision.

Enhancements

New Contributors

Full Changelog: labstack/echo@v4.12.0...v4.13.0

Changelog

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

v4.13.0 - 2024-12-04

BREAKING CHANGE JWT Middleware Removed from Core use labstack/echo-jwt instead

The JWT middleware has been removed from Echo core due to another security vulnerability, CVE-2024-51744. For more details, refer to issue #2699. A drop-in replacement is available in the labstack/echo-jwt repository.

Important: Direct assignments like token := c.Get("user").(*jwt.Token) will now cause a panic due to an invalid cast. Update your code accordingly. Replace the current imports from "github.com/golang-jwt/jwt" in your handlers to the new middleware version using "github.com/golang-jwt/jwt/v5".

Background:

The version of golang-jwt/jwt (v3.2.2) previously used in Echo core has been in an unmaintained state for some time. This is not the first vulnerability affecting this library; earlier issues were addressed in [PR #1946](labstack/echo#1946). JWT middleware was marked as deprecated in Echo core as of v4.10.0 on 2022-12-27. If you did not notice that, consider leveraging tools like Staticcheck to catch such deprecations earlier in you dev/CI flow. For bonus points - check out gosec.

We sincerely apologize for any inconvenience caused by this change. While we strive to maintain backward compatibility within Echo core, recurring security issues with third-party dependencies have forced this decision.

Enhancements

Commits
  • 3b01785 Changelog for 4.13.0 (#2712)
  • fe26277 remove jwt middleware
  • 9e73691 Shorten Github issue template and add test example
  • 118c163 CORS middleware should compile allowOrigin regexp at creation.
  • a973e3b add unit-test
  • c4410fe fix(bind body): content-length can be -1
  • 5d98929 Remove broken header
  • 5a0b4dd clean up field assignments with default values to make test configuration mor...
  • 03c0236 refactor basic_auth_test to utilize table driven tests
  • 822d11a Add TemplateRenderer struct to ease creating renderers for html/template an...
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

…th 3 updates

Bumps the gomod-normal-deps group with 2 updates in the / directory: [golang.org/x/tools](https://github.com/golang/tools) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).
Bumps the gomod-normal-deps group with 2 updates in the /tests directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go) and [github.com/labstack/echo/v4](https://github.com/labstack/echo).


Updates `golang.org/x/tools` from 0.27.0 to 0.28.0
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.27.0...v0.28.0)

Updates `google.golang.org/grpc` from 1.68.0 to 1.68.1
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.68.0...v1.68.1)

Updates `google.golang.org/grpc` from 1.68.0 to 1.68.1
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.68.0...v1.68.1)

Updates `github.com/labstack/echo/v4` from 4.12.0 to 4.13.0
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](labstack/echo@v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod-normal-deps
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod-normal-deps
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: gomod-normal-deps
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod-normal-deps
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.33%. Comparing base (2e70e2a) to head (42e9327).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #260   +/-   ##
=======================================
  Coverage   86.33%   86.33%           
=======================================
  Files          41       41           
  Lines        2729     2729           
=======================================
  Hits         2356     2356           
  Misses        273      273           
  Partials      100      100           
Flag Coverage Δ
unittests 86.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sysulq sysulq merged commit 0ad279d into main Dec 10, 2024
10 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/gomod-normal-deps-a851949ed3 branch December 10, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant