Skip to content

chore(deps): update golang-dependencies (major)#1205

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/major-golang-deps
Open

chore(deps): update golang-dependencies (major)#1205
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/major-golang-deps

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux Bot commented May 12, 2026

This PR contains the following updates:

Package Change Age Confidence
cloud.google.com/go/ai v0.7.0v1.0.0 age confidence
cloud.google.com/go/longrunning v0.6.2v1.0.0 age confidence
github.com/dlclark/regexp2 v1.10.0v2.0.3 age confidence

Release Notes

googleapis/google-cloud-go (cloud.google.com/go/ai)

v0.20.0

Compare Source

  • bigquery: Support SchemaUpdateOptions for load jobs.

  • bigtable:

    • Add SampleRowKeys.
    • cbt: Support union, intersection GCPolicy.
    • Retry admin RPCS.
    • Add trace spans to retries.
  • datastore: Add OpenCensus tracing.

  • firestore:

    • Fix queries involving Null and NaN.
    • Allow Timestamp protobuffers for time values.
  • logging: Add a WriteTimeout option.

  • spanner: Support Batch API.

  • storage: Add OpenCensus tracing.

v0.19.0

Compare Source

  • bigquery:

    • Support customer-managed encryption keys.
  • bigtable:

    • Improved emulator support.
    • Support GetCluster.
  • datastore:

    • Add general mutations.
    • Support pointer struct fields.
    • Support transaction options.
  • firestore:

    • Add Transaction.GetAll.
    • Support document cursors.
  • logging:

    • Support concurrent RPCs to the service.
    • Support per-entry resources.
  • profiler:

    • Add config options to disable heap and thread profiling.
    • Read the project ID from $GOOGLE_CLOUD_PROJECT when it's set.
  • pubsub:

    • BEHAVIOR CHANGE: Release flow control after ack/nack (instead of after the
      callback returns).
    • Add SubscriptionInProject.
    • Add OpenCensus instrumentation for streaming pull.
  • storage:

    • Support CORS.

v0.18.0

Compare Source

  • bigquery:

    • Marked stable.
    • Schema inference of nullable fields supported.
    • Added TimePartitioning to QueryConfig.
  • firestore: Data provided to DocumentRef.Set with a Merge option can contain
    Delete sentinels.

  • logging: Clients can accept parent resources other than projects.

  • pubsub:

    • pubsub/pstest: A lighweight fake for pubsub. Experimental; feedback welcome.
    • Support updating more subscription metadata: AckDeadline,
      RetainAckedMessages and RetentionDuration.
  • oslogin/apiv1beta: New client for the Cloud OS Login API.

  • rpcreplay: A package for recording and replaying gRPC traffic.

  • spanner:

    • Add a ReadWithOptions that supports a row limit, as well as an index.
    • Support query plan and execution statistics.
    • Added OpenCensus support.
  • storage: Clarify checksum validation for gzipped files (it is not validated
    when the file is served uncompressed).

v0.17.0

Compare Source

  • firestore BREAKING CHANGES:
    • Remove UpdateMap and UpdateStruct; rename UpdatePaths to Update.
      Change
      docref.UpdateMap(ctx, map[string]interface{}{"a.b", 1})
      to
      docref.Update(ctx, []firestore.Update{{Path: "a.b", Value: 1}})

      Change
      docref.UpdateStruct(ctx, []string{"Field"}, aStruct)
      to
      docref.Update(ctx, []firestore.Update{{Path: "Field", Value: aStruct.Field}})

    • Rename MergePaths to Merge; require args to be FieldPaths

    • A value stored as an integer can be read into a floating-point field, and vice versa.

  • bigtable/cmd/cbt:
    • Support deleting a column.
    • Add regex option for row read.
  • spanner: Mark stable.
  • storage:
    • Add Reader.ContentEncoding method.
    • Fix handling of SignedURL headers.
  • bigquery:
    • If Uploader.Put is called with no rows, it returns nil without making a
      call.
    • Schema inference supports the "nullable" option in struct tags for
      non-required fields.
    • TimePartitioning supports "Field".

v0.16.0

Compare Source

  • Other bigquery changes:

    • JobIterator.Next returns *Job; removed JobInfo (BREAKING CHANGE).
    • UseStandardSQL is deprecated; set UseLegacySQL to true if you need
      Legacy SQL.
    • Uploader.Put will generate a random insert ID if you do not provide one.
    • Support time partitioning for load jobs.
    • Support dry-run queries.
    • A Job remembers its last retrieved status.
    • Support retrieving job configuration.
    • Support labels for jobs and tables.
    • Support dataset access lists.
    • Improve support for external data sources, including data from Bigtable and
      Google Sheets, and tables with external data.
    • Support updating a table's view configuration.
    • Fix uploading civil times with nanoseconds.
  • storage:

    • Support PubSub notifications.
    • Support Requester Pays buckets.
  • profiler: Support goroutine and mutex profile types.

v0.15.0

Compare Source

  • firestore: beta release. See the
    announcement.

  • errorreporting: The existing package has been redesigned.

  • errors: This package has been removed. Use errorreporting.

v0.14.0

Compare Source

  • bigquery BREAKING CHANGES:

    • Standard SQL is the default for queries and views.
    • Table.Create takes TableMetadata as a second argument, instead of
      options.
    • Dataset.Create takes DatasetMetadata as a second argument.
    • DatasetMetadata field ID renamed to FullID
    • TableMetadata field ID renamed to FullID
  • Other bigquery changes:

    • The client will append a random suffix to a provided job ID if you set
      AddJobIDSuffix to true in a job config.
    • Listing jobs is supported.
    • Better retry logic.
  • vision, language, speech: clients are now stable

  • monitoring: client is now beta

  • profiler:

    • Rename InstanceName to Instance, ZoneName to Zone
    • Auto-detect service name and version on AppEngine.

v0.13.0

  • bigquery: UseLegacySQL options for CreateTable and QueryConfig. Use these
    options to continue using Legacy SQL after the client switches its default
    to Standard SQL.

  • bigquery: Support for updating dataset labels.

  • bigquery: Set DatasetIterator.ProjectID to list datasets in a project other
    than the client's. DatasetsInProject is no longer needed and is deprecated.

  • bigtable: Fail ListInstances when any zones fail.

  • spanner: support decoding of slices of basic types (e.g. []string, []int64,
    etc.)

  • logging/logadmin: UpdateSink no longer creates a sink if it is missing
    (actually a change to the underlying service, not the client)

  • profiler: Service and ServiceVersion replace Target in Config.

v0.12.0

  • pubsub: Subscription.Receive now uses streaming pull.

  • pubsub: add Client.TopicInProject to access topics in a different project
    than the client.

  • errors: renamed errorreporting. The errors package will be removed shortly.

  • datastore: improved retry behavior.

  • bigquery: support updates to dataset metadata, with etags.

  • bigquery: add etag support to Table.Update (BREAKING: etag argument added).

  • bigquery: generate all job IDs on the client.

  • storage: support bucket lifecycle configurations.

v0.11.0

  • Clients for spanner, pubsub and video are now in beta.

  • New client for DLP.

  • spanner: performance and testing improvements.

  • storage: requester-pays buckets are supported.

  • storage, profiler, bigtable, bigquery: bug fixes and other minor improvements.

  • pubsub: bug fixes and other minor improvements

v0.10.0

Compare Source

  • pubsub: Subscription.ModifyPushConfig replaced with Subscription.Update.

  • pubsub: Subscription.Receive now runs concurrently for higher throughput.

  • vision: cloud.google.com/go/vision is deprecated. Use
    cloud.google.com/go/vision/apiv1 instead.

  • translation: now stable.

  • trace: several changes to the surface. See the link below.

Code changes required from v0.9.0
  • pubsub: Replace

    sub.ModifyPushConfig(ctx, pubsub.PushConfig{Endpoint: "https://example.com/push"})
    

    with

    sub.Update(ctx, pubsub.SubscriptionConfigToUpdate{
        PushConfig: &pubsub.PushConfig{Endpoint: "https://example.com/push"},
    })
    
  • trace: traceGRPCServerInterceptor will be provided from *trace.Client.
    Given an initialized *trace.Client named tc, instead of

    s := grpc.NewServer(grpc.UnaryInterceptor(trace.GRPCServerInterceptor(tc)))
    

    write

    s := grpc.NewServer(grpc.UnaryInterceptor(tc.GRPCServerInterceptor()))
    
  • trace trace.GRPCClientInterceptor will also provided from *trace.Client.
    Instead of

    conn, err := grpc.Dial(srv.Addr, grpc.WithUnaryInterceptor(trace.GRPCClientInterceptor()))
    

    write

    conn, err := grpc.Dial(srv.Addr, grpc.WithUnaryInterceptor(tc.GRPCClientInterceptor()))
    
  • trace: We removed the deprecated trace.EnableGRPCTracing. Use the gRPC
    interceptor as a dial option as shown below when initializing Cloud package
    clients:

    c, err := pubsub.NewClient(ctx, "project-id", option.WithGRPCDialOption(grpc.WithUnaryInterceptor(tc.GRPCClientInterceptor())))
    if err != nil {
        ...
    }
    

v0.9.0

  • Breaking changes to some autogenerated clients.
  • rpcreplay package added.

v0.8.0

Compare Source

  • profiler package added.
  • storage:
    • Retry Objects.Insert call.
    • Add ProgressFunc to WRiter.
  • pubsub: breaking changes:
    • Publish is now asynchronous (announcement).
    • Subscription.Pull replaced by Subscription.Receive, which takes a callback (announcement).
    • Message.Done replaced with Message.Ack and Message.Nack.
dlclark/regexp2 (github.com/dlclark/regexp2)

v2.0.3

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

v1.12.0

Compare Source

v1.11.5

Compare Source

v1.11.4

Compare Source

v1.11.3

Compare Source

v1.11.2

Compare Source

v1.11.1

Compare Source

v1.11.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented May 12, 2026

Reviewer's Guide

Bumps Go toolchain and several Google Cloud and telemetry-related dependencies for the agent-splunk and agent-scan components, aligning both modules on newer major/minor versions and refreshing their go.sum locks.

File-Level Changes

Change Details Files
Update Go toolchain version and align module Go versions for agent-splunk and agent-scan.
  • Bump go directive from 1.25.3 to 1.26 in tools/agents/agent-splunk/go.mod.
  • Bump go directive from 1.25.3 to 1.26 in images/assets/agent-scan/go.mod.
tools/agents/agent-splunk/go.mod
images/assets/agent-scan/go.mod
Upgrade Google Cloud AI/Vertex, longrunning, and related auth/runtime dependencies to newer major/minor versions.
  • Update cloud.google.com/go from v0.116.0 to v0.123.0 and cloud.google.com/go/ai from v0.7.0 to v1.0.0 in both modules.
  • Update cloud.google.com/go/aiplatform, iam, longrunning, vertexai, and google.golang.org/api to the latest Renovate-suggested versions.
  • Refresh google.golang.org/genproto (core, googleapis/api, googleapis/rpc) pseudo-versions to current heads.
  • Bump github.com/googleapis/enterprise-certificate-proxy and github.com/googleapis/gax-go/v2 to newer versions.
tools/agents/agent-splunk/go.mod
images/assets/agent-scan/go.mod
Refresh OpenTelemetry and core golang.org/x libraries to newer versions.
  • Update go.opentelemetry.io/otel, metric, trace and gRPC/net/http instrumentation packages to v1.42.0 / v0.61.0 where applicable.
  • Bump golang.org/x/crypto, x/net, x/sync, x/sys, x/text, and x/time to newer minor versions.
tools/agents/agent-splunk/go.mod
images/assets/agent-scan/go.mod
Align gRPC and protobuf dependencies and regenerate go.sum locks for both modules.
  • Upgrade google.golang.org/grpc and google.golang.org/protobuf to the latest Renovate-suggested versions in both modules.
  • Update go.sum files for agent-splunk and agent-scan to reflect the new dependency graph, including any transitive updates such as github.com/dlclark/regexp2.
tools/agents/agent-splunk/go.mod
images/assets/agent-scan/go.mod
tools/agents/agent-splunk/go.sum
images/assets/agent-scan/go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • Since the Go version is bumped to 1.26, verify that any build images, CI pipelines, and local tooling used for agent-splunk and agent-scan are pinned to a compatible Go toolchain to avoid version drift issues.
  • Given the major version upgrades for cloud.google.com/go/ai and github.com/dlclark/regexp2, scan the codebases for any deprecated or changed APIs from those libraries and align usage to the new interfaces to prevent subtle runtime behavior changes.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since the Go version is bumped to 1.26, verify that any build images, CI pipelines, and local tooling used for `agent-splunk` and `agent-scan` are pinned to a compatible Go toolchain to avoid version drift issues.
- Given the major version upgrades for `cloud.google.com/go/ai` and `github.com/dlclark/regexp2`, scan the codebases for any deprecated or changed APIs from those libraries and align usage to the new interfaces to prevent subtle runtime behavior changes.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/major-golang-deps branch from 4426e93 to 615b490 Compare May 14, 2026 06:12
@red-hat-konflux
Copy link
Copy Markdown
Contributor Author

red-hat-konflux Bot commented May 14, 2026

ℹ️ Artifact update notice

File name: images/assets/agent-scan/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 17 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.3 -> 1.26
cloud.google.com/go v0.116.0 -> v0.123.0
cloud.google.com/go/aiplatform v1.69.0 -> v1.120.0
cloud.google.com/go/auth v0.14.0 -> v0.18.2
cloud.google.com/go/auth/oauth2adapt v0.2.7 -> v0.2.8
cloud.google.com/go/iam v1.2.2 -> v1.5.3
github.com/googleapis/enterprise-certificate-proxy v0.3.4 -> v0.3.14
github.com/googleapis/gax-go/v2 v2.14.1 -> v2.21.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 -> v0.61.0
go.opentelemetry.io/otel v1.39.0 -> v1.42.0
go.opentelemetry.io/otel/metric v1.39.0 -> v1.42.0
go.opentelemetry.io/otel/trace v1.39.0 -> v1.42.0
golang.org/x/net v0.51.0 -> v0.52.0
golang.org/x/time v0.9.0 -> v0.15.0
google.golang.org/api v0.218.0 -> v0.274.0
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 -> v0.0.0-20260319201613-d00831a3d3e7
google.golang.org/genproto/googleapis/api v0.0.0-20260120221211-b8f7ae30c516 -> v0.0.0-20260401024825-9d38bb4040a9
google.golang.org/genproto/googleapis/rpc v0.0.0-20260120221211-b8f7ae30c516 -> v0.0.0-20260401024825-9d38bb4040a9
File name: tools/agents/agent-splunk/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 23 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.3 -> 1.26
cloud.google.com/go v0.116.0 -> v0.123.0
cloud.google.com/go/aiplatform v1.69.0 -> v1.120.0
cloud.google.com/go/auth v0.14.0 -> v0.18.2
cloud.google.com/go/auth/oauth2adapt v0.2.7 -> v0.2.8
cloud.google.com/go/iam v1.2.2 -> v1.5.3
github.com/googleapis/enterprise-certificate-proxy v0.3.4 -> v0.3.14
github.com/googleapis/gax-go/v2 v2.14.1 -> v2.21.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 -> v0.61.0
go.opentelemetry.io/otel v1.39.0 -> v1.42.0
go.opentelemetry.io/otel/metric v1.39.0 -> v1.42.0
go.opentelemetry.io/otel/trace v1.39.0 -> v1.42.0
golang.org/x/crypto v0.48.0 -> v0.49.0
golang.org/x/net v0.51.0 -> v0.52.0
golang.org/x/sync v0.19.0 -> v0.20.0
golang.org/x/sys v0.41.0 -> v0.42.0
golang.org/x/text v0.34.0 -> v0.35.0
golang.org/x/time v0.9.0 -> v0.15.0
google.golang.org/api v0.218.0 -> v0.274.0
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 -> v0.0.0-20260319201613-d00831a3d3e7
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 -> v0.0.0-20260401024825-9d38bb4040a9
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 -> v0.0.0-20260401024825-9d38bb4040a9
google.golang.org/grpc v1.79.3 -> v1.80.0
google.golang.org/protobuf v1.36.10 -> v1.36.11

@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/major-golang-deps branch 2 times, most recently from a065458 to e334749 Compare May 18, 2026 16:11
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/major-golang-deps branch from e334749 to 9be5681 Compare May 18, 2026 22:13
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.

0 participants