Skip to content

Update module cloud.google.com/go/compute/metadata to v0.10.0 - #356

Merged
JAORMX merged 1 commit into
mainfrom
renovate/cloud.google.com-go-compute-metadata-0.x
Oct 14, 2026
Merged

JAORMX merged 1 commit into
mainfrom
renovate/cloud.google.com-go-compute-metadata-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cloud.google.com/go/compute/metadata v0.9.0 → v0.10.0 age confidence

Release Notes

googleapis/google-cloud-go (cloud.google.com/go/compute/metadata)

v0.10.0

  • 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.1: compute/metadata: v0.9.1

Bug Fixes

Configuration

📅 Schedule: (UTC)

  • 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/cloud.google.com-go-compute-metadata-0.x branch from 90c84df to 6759f2e Compare October 14, 2026 06:44

@JAORMX JAORMX left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Dependency update reviewed; CI is green.

@JAORMX
JAORMX merged commit 3d8823a into main Oct 14, 2026
6 checks passed
@JAORMX
JAORMX deleted the renovate/cloud.google.com-go-compute-metadata-0.x branch October 14, 2026 07:00
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