Skip to content

fix(deps): update all non-major dependencies#46

Open
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/all-minor-patch
Open

fix(deps): update all non-major dependencies#46
renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
renovate-bot:renovate/all-minor-patch

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Sep 13, 2025

This PR contains the following updates:

Package Change Age Confidence
cloud.google.com/go/compute/metadata v0.3.0 -> v0.9.0 age confidence
github.com/segmentio/kafka-go v0.4.47 -> v0.4.49 age confidence
github.com/stretchr/testify v1.8.0 -> v1.11.1 age confidence
golang.org/x/oauth2 v0.27.0 -> v0.31.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Reviewer is responsible for dependency update. Ensure adequate automated or manual testing is performed before merge.


Release Notes

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

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.

v0.7.0

Compare Source

  • Release of a client library for Spanner. See
    the
    blog
    post
    .
    Note that although the Spanner service is beta, the Go client library is alpha.

v0.6.0

  • Beta release of BigQuery, DataStore, Logging and Storage. See the
    blog post.

  • bigquery:

    • struct support. Read a row directly into a struct with
      RowIterator.Next, and upload a row directly from a struct with Uploader.Put.
      You can also use field tags. See the [package documentation][cloud-bigquery-ref]
      for details.

    • The ValueList type was removed. It is no longer necessary. Instead of

    var v ValueList
    ... it.Next(&v) ..

    use

    var v []Value
    ... it.Next(&v) ...
    • Previously, repeatedly calling RowIterator.Next on the same []Value or
      ValueList would append to the slice. Now each call resets the size to zero first.

    • Schema inference will infer the SQL type BYTES for a struct field of
      type []byte. Previously it inferred STRING.

    • The types uint, uint64 and uintptr are no longer supported in schema
      inference. BigQuery's integer type is INT64, and those types may hold values
      that are not correctly represented in a 64-bit signed integer.

v0.5.0

Compare Source

  • bigquery:
    • The SQL types DATE, TIME and DATETIME are now supported. They correspond to
      the Date, Time and DateTime types in the new cloud.google.com/go/civil
      package.
    • Support for query parameters.
    • Support deleting a dataset.
    • Values from INTEGER columns will now be returned as int64, not int. This
      will avoid errors arising from large values on 32-bit systems.
  • datastore:
    • Nested Go structs encoded as Entity values, instead of a
      flattened list of the embedded struct's fields. This means that you may now have twice-nested slices, eg.
      type State struct {
        Cities  []struct{
          Populations []int
        }
      }
      See the announcement for
      more details.
    • Contexts no longer hold namespaces; instead you must set a key's namespace
      explicitly. Also, key functions have been changed and renamed.
    • The WithNamespace function has been removed. To specify a namespace in a Query, use the Query.Namespace method:
      q := datastore.NewQuery("Kind").Namespace("ns")
    • All the fields of Key are exported. That means you can construct any Key with a struct literal:
      k := &Key{Kind: "Kind",  ID: 37, Namespace: "ns"}
    • As a result of the above, the Key methods Kind, ID, d.Name, Parent, SetParent and Namespace have been removed.
    • NewIncompleteKey has been removed, replaced by IncompleteKey. Replace
      NewIncompleteKey(ctx, kind, parent)
      with
      IncompleteKey(kind, parent)
      and if you do use namespaces, make sure you set the namespace on the returned key.
    • NewKey has been removed, replaced by NameKey and IDKey. Replace
      NewKey(ctx, kind, name, 0, parent)
      NewKey(ctx, kind, "", id, parent)
      with
      NameKey(kind, name, parent)
      IDKey(kind, id, parent)
      and if you do use namespaces, make sure you set the namespace on the returned key.
    • The Done variable has been removed. Replace datastore.Done with iterator.Done, from the package google.golang.org/api/iterator.
    • The Client.Close method will have a return type of error. It will return the result of closing the underlying gRPC connection.
    • See the announcement for
      more details.

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.

segmentio/kafka-go (github.com/segmentio/kafka-go)

v0.4.49

Compare Source

What's Changed

New Contributors

Full Changelog: segmentio/kafka-go@v0.4.48...v0.4.49

v0.4.48

Compare Source

What's Changed

New Contributors

Full Changelog: segmentio/kafka-go@v0.4.47...v0.4.48

stretchr/testify (github.com/stretchr/testify)

v1.11.1

Compare Source

This release fixes #​1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

What's Changed

Full Changelog: stretchr/testify@v1.11.0...v1.11.1

v1.11.0

Compare Source

What's Changed

Functional Changes

v1.11.0 Includes a number of performance improvements.

Fixes
Documentation, Build & CI

New Contributors

Full Changelog: stretchr/testify@v1.10.0...v1.11.0

v1.10.0

Compare Source

What's Changed

Functional Changes
Fixes
Documentation, Build & CI

New Contributors

Full Changelog: stretchr/testify@v1.9.0...v1.10.0

v1.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: stretchr/testify@v1.8.4...v1.9.0

v1.8.4

Compare Source

What's Changed

New Contributors

Full Changelog: stretchr/testify@v1.8.3...v1.8.4

v1.8.3

Compare Source

What's Changed

New Contributors


Configuration

📅 Schedule: Branch creation - "every 2 weeks on Saturday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Never, 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 was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate bot added semver: minor A new feature was added. No breaking changes. semver: patch A minor bug fix or small change. labels Sep 13, 2025
@renovate-bot renovate-bot requested a review from a team September 13, 2025 23:08
@forking-renovate
Copy link

forking-renovate bot commented Sep 13, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: sasl-plain-access-token/segmentio/saslplainoauthmechanism/go.sum
Command failed: go get -t ./...
go: module cloud.google.com/go/compute/metadata@v0.9.0 requires go >= 1.24.0; switching to go1.24.7
go: downloading go1.24.7 (linux/amd64)
go: download go1.24.7: golang.org/toolchain@v0.0.1-go1.24.7.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

@dpebot
Copy link

dpebot commented Sep 13, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/all-minor-patch branch from a63146f to 7c8a6b0 Compare September 27, 2025 02:13
@dpebot
Copy link

dpebot commented Sep 27, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/all-minor-patch branch from 7c8a6b0 to 6c959e4 Compare September 27, 2025 04:44
@dpebot
Copy link

dpebot commented Sep 27, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/all-minor-patch branch from 6c959e4 to c8976f1 Compare September 27, 2025 09:21
@dpebot
Copy link

dpebot commented Sep 27, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/all-minor-patch branch from c8976f1 to 1ac9bec Compare September 27, 2025 13:31
@dpebot
Copy link

dpebot commented Sep 27, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/all-minor-patch branch from 1ac9bec to 159ecfa Compare September 27, 2025 17:46
@dpebot
Copy link

dpebot commented Sep 27, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/all-minor-patch branch from 159ecfa to 5199da7 Compare September 27, 2025 20:25
@dpebot
Copy link

dpebot commented Sep 27, 2025

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver: minor A new feature was added. No breaking changes. semver: patch A minor bug fix or small change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants