knative / pkg

Knative common packages
Apache License 2.0
257 stars 330 forks source link

Bump cloud.google.com/go/compute/metadata from 0.2.3 to 0.3.0 #3022

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps cloud.google.com/go/compute/metadata from 0.2.3 to 0.3.0.

Release notes

Sourced from cloud.google.com/go/compute/metadata's releases.

compute/metadata: v0.3.0

0.3.0 (2024-04-15)

Features

  • compute/metadata: Add context aware functions (#9733) (e4eb5b4)

netapp: v0.2.7

0.2.7 (2024-03-25)

Documentation

  • netapp: Rephrase comment on psa_range (1ef5b19)
Changelog

Sourced from cloud.google.com/go/compute/metadata's changelog.

v0.3.0

  • storage:
    • AdminClient replaced by methods on Client. Replace

      adminClient.CreateBucket(ctx, bucketName, attrs)
      

      with

      client.Bucket(bucketName).Create(ctx, projectID, attrs)
      
    • BucketHandle.List replaced by BucketHandle.Objects. Replace

      for query != nil {
          objs, err := bucket.List(d.ctx, query)
          if err != nil { ... }
          query = objs.Next
          for _, obj := range objs.Results {
              fmt.Println(obj)
          }
      }
      

      with

      iter := bucket.Objects(d.ctx, query)
      for {
          obj, err := iter.Next()
          if err == iterator.Done {
              break
          }
          if err != nil { ... }
          fmt.Println(obj)
      }
      

      (The iterator package is at google.golang.org/api/iterator.)

      Replace Query.Cursor with ObjectIterator.PageInfo().Token.

      Replace Query.MaxResults with ObjectIterator.PageInfo().MaxSize.

    • ObjectHandle.CopyTo replaced by ObjectHandle.CopierFrom. Replace

      attrs, err := src.CopyTo(ctx, dst, nil)
      

      with

... (truncated)

Commits
  • 44b3a7d Add autogenerated clients: debugger, iam, and trace
  • c6705a9 bigquery: restore backwards-compatible Query.TableDefinitions.
  • b8c1696 bigquery: add RowIterator, to replace Iterator
  • 5d33b1b bigquery: Make Query more configurable and add a Run method.
  • 07f82cd bigtable/bttest: Allow more time for concurrent mod test.
  • b9d51d5 pubsub: implement on top of generated client
  • fa279f9 storage: don't fail tests loudly if cleanup fails
  • 139d2e0 examples/bigquery: update WriteDisposition field
  • 2912d48 bigquery: shorten Disposition field names
  • 2096d28 bigquery: add Table.Update
  • Additional commits viewable in compare view


Dependabot compatibility score

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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
knative-prow[bot] commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dependabot[bot], ReToCode

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/knative/pkg/blob/main/OWNERS)~~ [ReToCode] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment