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(all): update deps #10116

Merged
merged 1 commit into from
May 7, 2024

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented May 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cloud.google.com/go/accesscontextmanager v1.8.6 -> v1.8.7 age adoption passing confidence
cloud.google.com/go/auth v0.3.0 -> v0.4.0 age adoption passing confidence
cloud.google.com/go/datacatalog v1.20.0 -> v1.20.1 age adoption passing confidence
cloud.google.com/go/grafeas v0.3.5 -> v0.3.6 age adoption passing confidence
cloud.google.com/go/iam v1.1.7 -> v1.1.8 age adoption passing confidence
cloud.google.com/go/kms v1.15.8 -> v1.15.9 age adoption passing confidence
cloud.google.com/go/longrunning v0.5.6 -> v0.5.7 age adoption passing confidence
cloud.google.com/go/orgpolicy v1.12.2 -> v1.12.3 age adoption passing confidence
cloud.google.com/go/osconfig v1.12.6 -> v1.12.7 age adoption passing confidence
cloud.google.com/go/pubsub v1.37.0 -> v1.38.0 age adoption passing confidence
cloud.google.com/go/translate v1.10.2 -> v1.10.3 age adoption passing confidence
github.com/google/pprof v0.0.0-20240430035430-e4905b036c4e -> v0.0.0-20240507165812-eadc5834db1b age adoption passing confidence
github.com/googleapis/gax-go/v2 v2.12.3 -> v2.12.4 age adoption passing confidence
golang.org/x/net v0.24.0 -> v0.25.0 age adoption passing confidence
golang.org/x/oauth2 v0.19.0 -> v0.20.0 age adoption passing confidence
golang.org/x/text v0.14.0 -> v0.15.0 age adoption passing confidence
golang.org/x/tools v0.20.0 -> v0.21.0 age adoption passing confidence
google.golang.org/api v0.177.0 -> v0.178.0 age adoption passing confidence
google.golang.org/genproto/googleapis/api v0.0.0-20240429193739-8cf5692501f6 -> v0.0.0-20240506185236-b8a5c65736ae age adoption passing confidence
google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 -> v0.0.0-20240506185236-b8a5c65736ae age adoption passing confidence
google.golang.org/protobuf v1.34.0 -> v1.34.1 age adoption passing confidence

Release Notes

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

v0.4.0

Compare Source

  • bigquery:
    -NewGCSReference is now a function, not a method on Client.

    • Table.LoaderFrom now accepts a ReaderSource, enabling
      loading data into a table from a file or any io.Reader.
    • Client.Table and Client.OpenTable have been removed.
      Replace

      client.OpenTable("project", "dataset", "table")

      with

      client.DatasetInProject("project", "dataset").Table("table")
    • Client.CreateTable has been removed.
      Replace

      client.CreateTable(ctx, "project", "dataset", "table")

      with

      client.DatasetInProject("project", "dataset").Table("table").Create(ctx)
    • Dataset.ListTables have been replaced with Dataset.Tables.
      Replace

      tables, err := ds.ListTables(ctx)

      with

      it := ds.Tables(ctx)
      for {
          table, err := it.Next()
          if err == iterator.Done {
              break
          }
          if err != nil {
              // TODO: Handle error.
          }
          // TODO: use table.
      }
    • Client.Read has been replaced with Job.Read, Table.Read and Query.Read.
      Replace

      it, err := client.Read(ctx, job)

      with

      it, err := job.Read(ctx)

      and similarly for reading from tables or queries.

    • The iterator returned from the Read methods is now named RowIterator. Its
      behavior is closer to the other iterators in these libraries. It no longer
      supports the Schema method; see the next item.
      Replace

      for it.Next(ctx) {
          var vals ValueList
          if err := it.Get(&vals); err != nil {
              // TODO: Handle error.
          }
          // TODO: use vals.
      }
      if err := it.Err(); err != nil {
          // TODO: Handle error.
      }

      with
      for {
      var vals ValueList
      err := it.Next(&vals)
      if err == iterator.Done {
      break
      }
      if err != nil {
      // TODO: Handle error.
      }
      // TODO: use vals.
      }
      Instead of the RecordsPerRequest(n) option, write

      it.PageInfo().MaxSize = n

      Instead of the StartIndex(i) option, write

      it.StartIndex = i
    • ValueLoader.Load now takes a Schema in addition to a slice of Values.
      Replace

      func (vl *myValueLoader) Load(v []bigquery.Value)

      with

      func (vl *myValueLoader) Load(v []bigquery.Value, s bigquery.Schema)
    • Table.Patch is replace by Table.Update.
      Replace

      p := table.Patch()
      p.Description("new description")
      metadata, err := p.Apply(ctx)

      with

      metadata, err := table.Update(ctx, bigquery.TableMetadataToUpdate{
          Description: "new description",
      })
    • Client.Copy is replaced by separate methods for each of its four functions.
      All options have been replaced by struct fields.

      • To load data from Google Cloud Storage into a table, use Table.LoaderFrom.

        Replace

        client.Copy(ctx, table, gcsRef)

        with

        table.LoaderFrom(gcsRef).Run(ctx)

        Instead of passing options to Copy, set fields on the Loader:

        loader := table.LoaderFrom(gcsRef)
        loader.WriteDisposition = bigquery.WriteTruncate
      • To extract data from a table into Google Cloud Storage, use
        Table.ExtractorTo. Set fields on the returned Extractor instead of
        passing options.

        Replace

        client.Copy(ctx, gcsRef, table)

        with

        table.ExtractorTo(gcsRef).Run(ctx)
      • To copy data into a table from one or more other tables, use
        Table.CopierFrom. Set fields on the returned Copier instead of passing options.

        Replace

        client.Copy(ctx, dstTable, srcTable)

        with

        dst.Table.CopierFrom(srcTable).Run(ctx)
      • To start a query job, create a Query and call its Run method. Set fields
        on the query instead of passing options.

        Replace

        client.Copy(ctx, table, query)

        with

        query.Run(ctx)
    • Table.NewUploader has been renamed to Table.Uploader. Instead of options,
      configure an Uploader by setting its fields.
      Replace

      u := table.NewUploader(bigquery.UploadIgnoreUnknownValues())

      with

      u := table.NewUploader(bigquery.UploadIgnoreUnknownValues())
      u.IgnoreUnknownValues = true
  • pubsub: remove pubsub.Done. Use iterator.Done instead, where iterator is the package
    google.golang.org/api/iterator.

googleapis/gax-go (github.com/googleapis/gax-go/v2)

v2.12.4

Compare Source

Bug Fixes
googleapis/google-api-go-client (google.golang.org/api)

v0.178.0

Compare Source

Features
Documentation
protocolbuffers/protobuf-go (google.golang.org/protobuf)

v1.34.1

Compare Source

Minor fixes for editions compliance:

  • CL/582635: all: update to protobuf 27.0-rc1 and regenerate protos
  • CL/582755: encoding/proto[json|text]: accept lower case names for group-like fields

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested review from a team and shollyman as code owners May 6, 2024 01:27
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 6, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 6, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 6, 2024
@renovate-bot renovate-bot requested review from jba, eliben and a team as code owners May 6, 2024 15:17
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 6, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 6, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 6, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 6, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 6, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 7, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 7, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 7, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 7, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 7, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 7, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 7, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 7, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 7, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 7, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2024
@quartzmo quartzmo added the automerge Merge the pull request once unit tests and other checks pass. label May 7, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit 37220bd into googleapis:main May 7, 2024
335 of 337 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 7, 2024
@renovate-bot renovate-bot deleted the renovate/deps branch May 7, 2024 18:49
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.

None yet

3 participants