Update dependencies and resolve mongo-driver advisory#20
Merged
Conversation
Resolve Dependabot alert GHSA-cp6g-7hqx-qxhp (medium): heap out-of-bounds read in mongo-go-driver GSSAPI error handling, by raising go.mongodb.org/mongo-driver from v1.17.4 to v1.17.9 (>= 1.17.7 patched). Root module updates: - go directive 1.24 -> 1.25.0 - github.com/stretchr/testify v1.10.0 -> v1.11.1 - go.mongodb.org/mongo-driver v1.17.4 -> v1.17.9 - golang.org/x/text v0.28.0 -> v0.38.0 - modernc.org/sqlite v1.38.2 -> v1.53.0 - plus transitive bumps; golang.org/x/exp no longer required _examples/status module updates: - go directive 1.24 -> 1.25.0 - github.com/stretchr/testify v1.10.0 -> v1.11.1 - modernc.org/sqlite v1.35.0 -> v1.53.0 - plus transitive bumps Bump CI go-version 1.24 -> 1.25 to match the raised go directive, and update the embedded test-module template in the generator integration test to the same versions. Replace the deprecated parser.ParseDir (deprecated as of Go 1.25) with a directory walk over parser.ParseFile, preserving the existing package-grouping behaviour.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates all dependencies to their latest versions across both modules (root and
_examples/status) and resolves the open Dependabot alert.Security
Resolves Dependabot alert GHSA-cp6g-7hqx-qxhp (medium) — a heap out-of-bounds read in mongo-go-driver's GSSAPI error handling — by raising
go.mongodb.org/mongo-driverfromv1.17.4tov1.17.9(patched in1.17.7).Root module
godirective1.24→1.25.0github.com/stretchr/testifyv1.10.0→v1.11.1go.mongodb.org/mongo-driverv1.17.4→v1.17.9golang.org/x/textv0.28.0→v0.38.0modernc.org/sqlitev1.38.2→v1.53.0golang.org/x/expno longer required_examples/statusmodulegodirective1.24→1.25.0github.com/stretchr/testifyv1.10.0→v1.11.1modernc.org/sqlitev1.35.0→v1.53.0Other changes
go-version1.24→1.25to match the raisedgodirective.parser.ParseDir(deprecated as of Go 1.25) with a directory walk overparser.ParseFile, preserving the existing package-grouping behaviour.Verification (local, Go 1.26)
gofmt -l .clean,go vet,go buildcleango test -racepasses for both modulesgolangci-lint run(v2.12.2): 0 issues in both modulesgovulncheck ./...: no vulnerabilities found in either module