Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(all): update all#2676

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

renovate-bot
Copy link
Contributor

Mend Renovate

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidenceTypeUpdate
cloud.google.com/go/compute/metadatav0.3.0 ->v0.4.0ageadoptionpassingconfidencerequireminor
golang.org/x/netv0.26.0 ->v0.27.0ageadoptionpassingconfidencerequireminor
google.golang.org/genprotodc46fd2 ->f6361c8ageadoptionpassingconfidencerequiredigest
google.golang.org/genproto/googleapis/bytestreamdc46fd2 ->f6361c8ageadoptionpassingconfidencerequiredigest
google.golang.org/genproto/googleapis/rpcdc46fd2 ->f6361c8ageadoptionpassingconfidencerequiredigest
google.golang.org/grpcv1.64.0 ->v1.65.0ageadoptionpassingconfidencerequireminor

Release Notes

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

v0.4.0

Compare Source

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

    • Table.LoaderFrom now accepts aReaderSource, enabling
      loading data into a table from a file or anyio.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()iferr==iterator.Done {break    }iferr!=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

      forit.Next(ctx) {varvalsValueListiferr:=it.Get(&vals);err!=nil {// TODO: Handle error.    }// TODO: use vals.}iferr:=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 theRecordsPerRequest(n) option, write

      it.PageInfo().MaxSize=n

      Instead of theStartIndex(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: removepubsub.Done. Useiterator.Done instead, whereiterator is the package
    google.golang.org/api/iterator.

grpc/grpc-go (google.golang.org/grpc)

v1.65.0: Release 1.65.0

Compare Source

Dependencies

  • Change support policy to cover only the latest TWO releases of Go, matching the policy for Go itself. See#​7249 for more information. (#​7250)
  • Update x/net/http2 to addressCVE-2023-45288 (#​7282)

Behavior Changes

  • credentials/tls: clients and servers will now reject connections that don't support ALPN when environment variableGRPC_ENFORCE_ALPN_ENABLED is set to "true" (case insensitive). (#​7184)
    • NOTE: this behavior will become the default in a future release.
  • metadata: remove String method from MD to make printing more consistent (#​7373)

New Features

  • grpc: addWithMaxCallAttempts to configure gRPC's retry behavior per-channel. (#​7229)

Bug Fixes

  • ringhash: properly apply endpoint weights instead of ignoring them (#​7156)
  • xds: fix a bug that could cause xds-enabled servers to stop accepting new connections after handshaking errors (#​7128)

v1.64.1: Release 1.64.1

Compare Source

Dependencies


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. Getconfig help if that's undesired.


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

This PR has been generated byMend Renovate. View repository job loghere.

@renovate-botrenovate-bot requested a review froma team as acode ownerJuly 8, 2024 01:56
@forking-renovateForking Renovate
Copy link

ℹ Artifact update notice

File name: go.mod

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

  • 2 additional dependencies were updated

Details:

PackageChange
golang.org/x/cryptov0.24.0 ->v0.25.0
golang.org/x/sysv0.21.0 ->v0.22.0

@trusted-contributions-gcftrusted-contributions-gcfbot added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@kokoro-teamkokoro-team removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@trusted-contributions-gcftrusted-contributions-gcfbot added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@kokoro-teamkokoro-team removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@trusted-contributions-gcftrusted-contributions-gcfbot added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@codyosscodyoss added the automergeMerge the pull request once unit tests and other checks pass. labelJul 8, 2024
@kokoro-teamkokoro-team removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@trusted-contributions-gcftrusted-contributions-gcfbot added the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@kokoro-teamkokoro-team removed the kokoro:force-runAdd this label to force Kokoro to re-run the tests. labelJul 8, 2024
@gcf-merge-on-greengcf-merge-on-greenbot merged commit5cdcbe0 intogoogleapis:mainJul 8, 2024
5 checks passed
@gcf-merge-on-greengcf-merge-on-greenbot removed the automergeMerge the pull request once unit tests and other checks pass. labelJul 8, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@codyosscodyosscodyoss approved these changes

@yoshi-approveryoshi-approverAwaiting requested review from yoshi-approveryoshi-approver is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@renovate-bot@codyoss@kokoro-team

[8]ページ先頭

©2009-2025 Movatter.jp