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: update go dependencies #555

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore: update go dependencies #555

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
cloud.google.com/go/profiler v0.3.0 -> v0.4.1 age adoption passing confidence require minor
cloud.google.com/go/storage v1.36.0 -> v1.43.0 age adoption passing confidence require minor
github.com/99designs/gqlgen v0.17.43 -> v0.17.54 age adoption passing confidence require patch
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.21.0 -> v1.24.1 age adoption passing confidence require minor
github.com/avast/retry-go/v4 v4.0.4 -> v4.6.0 age adoption passing confidence require minor
github.com/aws/aws-sdk-go-v2 v1.25.3 -> v1.31.0 age adoption passing confidence require minor
github.com/aws/aws-sdk-go-v2/config v1.27.7 -> v1.27.36 age adoption passing confidence require patch
github.com/aws/aws-sdk-go-v2/service/s3 v1.52.0 -> v1.63.0 age adoption passing confidence require minor
github.com/gavv/httpexpect/v2 v2.3.1 -> v2.16.0 age adoption passing confidence require minor
github.com/goccy/go-yaml v1.11.3 -> v1.12.0 age adoption passing confidence require minor
github.com/joho/godotenv v1.4.0 -> v1.5.1 age adoption passing confidence require minor
github.com/labstack/echo/v4 v4.11.4 -> v4.12.0 age adoption passing confidence require minor
github.com/paulmach/go.geojson v1.4.0 -> v1.5.0 age adoption passing confidence require minor
github.com/ravilushqa/otelgqlgen v0.15.0 -> v0.17.0 age adoption passing confidence require minor
github.com/samber/lo v1.39.0 -> v1.47.0 age adoption passing confidence require minor
github.com/stretchr/testify v1.8.4 -> v1.9.0 age adoption passing confidence require minor
github.com/twpayne/go-kml v1.5.2 -> v3.1.1 age adoption passing confidence require major
github.com/vektah/gqlparser/v2 v2.5.11 -> v2.5.16 age adoption passing confidence require patch
github.com/zitadel/oidc v1.13.5 -> v3.30.0 age adoption passing confidence require major
go (source) 1.21.0 -> 1.23.1 age adoption passing confidence toolchain minor
go (source) 1.21 -> 1.23.1 age adoption passing confidence golang minor
go.mongodb.org/mongo-driver v1.13.1 -> v1.17.0 age adoption passing confidence require minor
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.32.0 -> v0.55.0 age adoption passing confidence require minor
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo v0.32.0 -> v0.55.0 age adoption passing confidence require minor
go.opentelemetry.io/otel v1.22.0 -> v1.30.0 age adoption passing confidence require minor
go.opentelemetry.io/otel/sdk v1.22.0 -> v1.30.0 age adoption passing confidence require minor
golang.org/x/net v0.20.0 -> v0.29.0 age adoption passing confidence require minor
golang.org/x/oauth2 v0.16.0 -> v0.23.0 age adoption passing confidence require minor
golang.org/x/text v0.14.0 -> v0.18.0 age adoption passing confidence require minor
golang.org/x/tools v0.17.0 -> v0.25.0 age adoption passing confidence require minor
google.golang.org/api v0.161.0 -> v0.198.0 age adoption passing confidence require minor

Release Notes

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

v0.4.0

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

99designs/gqlgen (github.com/99designs/gqlgen)

v0.17.54

Compare Source

What's Changed

Full Changelog: 99designs/gqlgen@v0.17.53...v0.17.54

v0.17.53

Compare Source

What's Changed

Full Changelog: 99designs/gqlgen@v0.17.52...v0.17.53

v0.17.52

Compare Source

What's Changed

Full Changelog: 99designs/gqlgen@v0.17.51...v0.17.52

v0.17.51

Compare Source

What's Changed

Full Changelog: 99designs/gqlgen@v0.17.50...v0.17.51

v0.17.50

Compare Source

1855758d chore(deps): bump dset in /integration in the npm_and_yarn group (#​3268)

Bumps the npm_and_yarn group in /integration with 1 update: dset.

Updates dset from 3.1.3 to 3.1.4


updated-dependencies:

  • dependency-name: dset
    dependency-type: indirect
    dependency-group: npm_and_yarn
    ...
fda0539e Bump some more module versions (#​3262)
  • Bump some more module versions

  • Update aurora

  • Avoid upgrade to go 1.23

  • downgrade goquery to support pre-Go 1.23 for now

  • Downgrade moq to support pre-Go 1.23 as well


cf42b253 chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 (#​3259)

Bumps golang.org/x/text from 0.17.0 to 0.18.0.


updated-dependencies:

  • dependency-name: golang.org/x/text
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
b728c12f chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 in /_examples (#​3256)

Bumps golang.org/x/text from 0.17.0 to 0.18.0.


updated-dependencies:

  • dependency-name: golang.org/x/text
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
cba40a38 chore(deps-dev): bump vite from 5.4.2 to 5.4.3 in /integration (#​3257)

Bumps vite from 5.4.2 to 5.4.3.


updated-dependencies:

  • dependency-name: vite
    dependency-type: direct:development
    update-type: version-update:semver-patch
    ...
f7bee06f chore(deps-dev): bump [@​apollo](https://redirect.github.com/apollo)/client in /integration (#​3258)

updated-dependencies:
dependency-type: direct:development
update-type: version-update:semver-patch
...

81ac627d chore(deps): bump robherley/go-test-action from 0.4.1 to 0.5.0 (#​3255)

Bumps robherley/go-test-action from 0.4.1 to 0.5.0.


updated-dependencies:

  • dependency-name: robherley/go-test-action
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
86ac6b36 internal/code: `Unalias` element of pointer (#​3250) (closes #​3247)

This reverts commit 4c4be0a.

  • code: Unalias element of pointer

  • chore: added comment

ab1781b1 codegen: Go 1.23 alias support (#​3246)
  • code: added Unalias for Go 1.22

  • codegen: Go 1.23 alias support

814f7c71 chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (#​3235)

Bumps actions/upload-artifact from 4.3.6 to 4.4.0.


updated-dependencies:

  • dependency-name: actions/upload-artifact
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
1cbbc120 chore(deps): bump github.com/rs/cors from 1.11.0 to 1.11.1 in /_examples (#​3236)

Bumps github.com/rs/cors from 1.11.0 to 1.11.1.


updated-dependencies:

  • dependency-name: github.com/rs/cors
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...
2da2ac36 chore(deps-dev): bump [@​apollo](https://redirect.github.com/apollo)/client in /integration (#​3237)

updated-dependencies:
dependency-type: direct:development
update-type: version-update:semver-patch
...

0b9bd5ee refactor: don't extract [@​goField](https://redirect.github.com/goField) twice (#​3234)

We already extract the values in config.Init(). Remove the duplicate logic in the modelgen plugin.

We leave the reference to GoFieldHook even though it's a noop since it's public. This makes this a non-breaking change. We will remove this during the next breaking release.

18378f90 feat: allow argument directives to be called even if the argument is null (#​3233) (closes #​3188)

The existing implementation assumes that if an input argument is null, you don't want to call the directive. This is a very constraining assumption — directives may want to not just mutate an argument but to actually outright set it.

This is a breaking change as argument directives now need to handle null input values. Added a new config switch:

call_argument_directives_with_nulls: bool

to control this new behavior.

  • Run go generate ./...
256794aa chore(deps-dev): bump vite from 5.4.0 to 5.4.2 in /integration (#​3229)

Bumps vite from 5.4.0 to 5.4.2.


updated-dependencies:

  • dependency-name: vite
    dependency-type: direct:development
    update-type: version-update:semver-patch
    ...
6acc182c Go 1.23 support (#​3226)
  • Added support for go 1.23

  • Added handling for *types.Alias

  • Updated golang ci lint to 1.60.2

  • Fixed lint issues and ignore SA1019 on generated test files

  • Update coverage.yml

  • Update fmt-and-generate.yml

  • Update integration.yml

  • Update lint.yml

  • Update test.yml


f6a82204 chore(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0 (#​3219)
  • chore(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0

Bumps golang.org/x/tools from 0.23.0 to 0.24.0.


updated-dependencies:

  • dependency-name: golang.org/x/tools
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
  • _examples fixup

1849e124 chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 (#​3218)

Bumps golang.org/x/text from 0.16.0 to 0.17.0.


updated-dependencies:

  • dependency-name: golang.org/x/text
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
2f7772c9 [proposal] Add [@​concurrent](https://redirect.github.com/concurrent) directive for types (#​3203)
  • Issue 3202

  • Issue 3202

  • Issue 3202

  • Make optional concurrent for fields of objects

  • Make optional concurrent for fields of objects

3556475a Fix marshaling interfaces and union types (#​3211)
  • Fixed marshaling interfaces and union

  • Fixed marshaling interfaces and union

23abdc56 chore(deps): bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 (#​3217)

Bumps github.com/urfave/cli/v2 from 2.27.3 to 2.27.4.


updated-dependencies:

  • dependency-name: github.com/urfave/cli/v2
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...
  • bbc354c Add local toolchain for matrix
3fe8329d chore(deps-dev): bump [@​apollo](https://redirect.github.com/apollo)/client in /integration (#​3215)

updated-dependencies:
dependency-type: direct:development
update-type: version-update:semver-patch
...

edca7992 chore(deps-dev): bump vite from 5.3.5 to 5.4.0 in /integration (#​3216)

Bumps vite from 5.3.5 to 5.4.0.


updated-dependencies:

  • dependency-name: vite
    dependency-type: direct:development
    update-type: version-update:semver-minor
    ...
f0b7ee3f chore(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 (#​3220)

Bumps actions/upload-artifact from 4.3.5 to 4.3.6.


updated-dependencies:

  • dependency-name: actions/upload-artifact
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...
719b7af3 chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 in /_examples (#​3221)

Bumps golang.org/x/text from 0.16.0 to 0.17.0.


updated-dependencies:

  • dependency-name: golang.org/x/text
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
d14fd791 chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 (#​3208)

Bumps actions/upload-artifact from 4.3.4 to 4.3.5.


updated-dependencies:

  • dependency-name: actions/upload-artifact
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...
564e2dc5 chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#​3207)

Bumps golangci/golangci-lint-action from 6.0.1 to 6.1.0.


updated-dependencies:

  • dependency-name: golangci/golangci-lint-action
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...
d3d147e6 chore(deps): bump golang.org/x/tools from 0.22.0 to 0.23.0 (#​3172)
  • chore(deps): bump golang.org/x/tools from 0.22.0 to 0.23.0

Bumps golang.org/x/tools from 0.22.0 to 0.23.0.


updated-dependencies:

  • dependency-name: golang.org/x/tools
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

2d7e00b5 chore(deps-dev): bump typescript from 5.5.3 to 5.5.4 in /integration (#​3196)

Bumps typescript from 5.5.3 to 5.5.4.


updated-dependencies:

  • dependency-name: typescript
    dependency-type: direct:development
    update-type: version-update:semver-patch
    ...
5f86c55a chore(deps-dev): bump [@​graphql](https://redirect.github.com/graphql)-codegen/client-preset in /integration (#​3197)

updated-dependencies:
dependency-type: direct:development
update-type: version-update:semver-patch
...

552bb4b9 chore(deps-dev): bump vite from 5.3.4 to 5.3.5 in /integration (#​3199)

Bumps vite from 5.3.4 to 5.3.5.


updated-dependencies:

  • dependency-name: vite
    dependency-type: direct:development
    update-type: version-update:semver-patch
    ...
45a29fe0 chore(deps): bump github.com/urfave/cli/v2 from 2.27.2 to 2.27.3 (#​3200)

Bumps github.com/urfave/cli/v2 from 2.27.2 to 2.27.3.

@renovate renovate bot requested a review from rot1024 as a code owner July 4, 2023 00:56
@netlify
Copy link

netlify bot commented Jul 4, 2023

Deploy Preview for reearth-web canceled.

Name Link
🔨 Latest commit f2c6ddb
🔍 Latest deploy log https://app.netlify.com/sites/reearth-web/deploys/66eeb561fef91100084515c0

@github-actions github-actions bot added the server label Jul 4, 2023
@renovate renovate bot force-pushed the renovate/gomod branch 20 times, most recently from d441bd8 to 1d0a051 Compare July 10, 2023 12:31
@renovate renovate bot force-pushed the renovate/gomod branch 7 times, most recently from 7212b26 to f5fb762 Compare July 12, 2023 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants