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

fix(deps): update module gocloud.dev to v0.40.0 #5905

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
gocloud.dev v0.18.0 -> v0.40.0 age adoption passing confidence

Release Notes

google/go-cloud (gocloud.dev)

v0.40.0

Compare Source

What's Changed
New Contributors

Full Changelog: google/go-cloud@v0.39.0...v0.40.0

v0.39.0

Compare Source

BREAKING CHANGE (AWS only, V1 vs V2 SDK)

Context: AWS has announced maintenance mode for the Go V1 SDK.

Go CDK has changed the default SDK for URLs across all modules except docstore/awsdynamodb to be V2 (previously you needed to add awssdk=v2 to the URL to get V2). Most URLs should continue to work, but in some cases you may need to add awssdk=v1 to force V1 explicitly.

Also, concrete type constructors (e.g., OpenBucket) for V1 (again, except docstore/awsdynamodb) have been marked deprecated; please migrate to using the V2 versions (e.g., OpenBucketV2).

Our tentative plan is to remove support for V1 in early 2025; please file a bug if you have concerns about that.

What's Changed

New Contributors

Full Changelog: google/go-cloud@v0.38.0...v0.39.0

v0.38.0

Compare Source

blob

pubsub

docstore

New Contributors

Full Changelog: google/go-cloud@v0.37.0...v0.38.0

v0.37.0

Compare Source

  • blob

    • s3blob: Support S3 server side encryption headers for Write and Copy.
    • gcsblob: Ensure driver sets Content-Type auto-detection properly.
  • pubsub

    • azpubsub: Ensure 401s are not retryable.
    • azpubsub: Allow configuring max_recv_batch_size in via URL.
    • mongodocstore: Fix error when calling the update function with no 'set' operations.
  • docstore

    • all: Add Offset method, useful for pagination

v0.36.0

Compare Source

blob

  • all: Allow disabling of ContentType auto-detection during writes.

pubsub

  • azuresb: Added a new auth method to support Service principal/kubelet identity/Workload identity auth methods.

docstore

  • all: Add in/not-in operators for Query.
  • gcpfirestore: Added a missing resource header when running query.

mysql

  • Pass TLS config directly to MySQL's config

v0.35.0

Compare Source

BREAKING CHANGES

This release updates the dependency on AWS/S3, which included some breaking changes; see https://github.com/google/go-cloud/pull/3342 for details.

blob

  • gcsblob: Fix unauthenticated requests.

runtimevar

  • constantvar: Add support for reading the constant variable value from the environment.

docstore

  • gcpfilestore: Add support for non-default databases.

v0.34.0

Compare Source

  • blob

    • fileblob: Added an option to avoid using os.TempDir for temp files.
    • gcsblob: Don't hard-fail if no DefaultCredentials are found.
  • aws/rds: Switch AWS RDS CA bundle to the officially documented URL

v0.33.0

Compare Source

blob

  • all: Avoid infinite recursion when using io.Copy between Reader and Writer.
  • azblob: Fixed bug in use of SAS token in service URLs.
  • fileblob: Create temp files in os.TempDir so they don't leak.

pubsub

  • awssnssqs: Use PublishBatch for sending messages in SNS.
  • natspubsub: Added support for NATS v2.2.0+ native message headers and message encoding.

v0.32.0

Compare Source

Redoing v0.31.0 since I think I messed up the tags. Copying the release notes:

all

  • Update go version in go.mod to maintain cleaner go.mod and go.sum files.

blob

  • all: Pass through reader/writer to WriteTo/ReadFrom if available (optimization).
  • all: Make blob.Bucket implement io/fs.FS and io/fs.SubFS.
  • gcsblob: Add support for forcing an unauthenticated client.

server

  • Make requestlog internal structs implement http.Flusher.
  • Don't always read the full request in order to calculate the request size; use Content-Length when available.

v0.31.0

Compare Source

v0.30.0

Compare Source

blob

  • all: Add Upload and Download methods that may be more efficient for some drivers.
  • s3blob: Add support for per-request s3v2.Options.
  • s3blob: Stop escaping second / in //; it's no longer necessary.

pubsub

  • gcppubsub: Make it possible to configure max_send_batch_size.

v0.29.0

Compare Source

BREAKING CHANGES

  • Updated to latest azureblob, which had some non-backward-compatible changes (again).

all

  • Defaulting to go version 1.2.
  • aws: Added support for custom endpoints for AWS SDK v2.
  • gcp: Updated imports for credentialspb.

blob

  • azureblob: Updated to latest (breaking change).

pubsub

  • kafkapub: Fixed nil Options pointer dereference.

v0.28.0

Compare Source

BREAKING CHANGES:

  • secrets/azurekeyvault: Updated to latest Azure SDK.
  • blob/azureblob: Updated to match recent breaking changes in the Azure packages (yes, again).
  • pubsub/awssnssqs: Fixed BeforeSend to take a pointer to the SendMessageBatchRequestEntry struct, so that it can be modified.

blob

  • memblob: Fixed bug where use of BeforeCopy callback would drop the actual copying.
  • azureblob: Updated to match recent breaking changes in the Azure packages.

pubsub

  • all: Simplified and improved batch sizing, should resolve issues with too-frequent polling in some situations.
  • azurepubsub: Made ListenerTimeout configurable.
  • gcppubsub and awssnssqs: Support lazy mode for Nack (where no explicit Nack is sent).
  • awssnssqs: Fixed BeforeSend to take a pointer to the SendMessageBatchRequestEntry struct, so that it can be modified.

secrets

  • secrets/azurekeyvault: Updated to latest Azure SDK. Use azidentity.NewDefaultAzureCredential.

sql

  • gcp/cloudsql: Fixed IAM login.

v0.27.0

Compare Source

ANNOUNCEMENT: In the next release we plan to switch over from using OpenCensus to using OpenTelemetry; see #​2877 for discussion. Please comment on that issue if this is a concern for you.

BREAKING CHANGES:
blob/azureblob, pubsub/azuresb: Switched over to using the new Azure beta release. Constructors and As types have changed.

pubsub:
all: Added support for overriding batching for AWS, GCP, Azure.

blob:
fileblob: Fixed file permissions on temporary files.

runtimevar:
etcdvar: Brought back this package now that the upstream issues have been resolved.

secrets:
awskms: Added support for EncryptionContext parameters.

v0.26.0

Compare Source

all

  • Updated to Go 1.19 (with compatibility for Go 1.18).

blob

  • all: Made blob.Reader implement io.ReadSeekCloser.
  • all: Added WriterOption.MaxConcurrency.
  • azureblob: Fixed a capture bug in As for List.

pubsub

  • gcppubsub: Exposed ReceivedMessage in As (for AckId)
  • rabbitpubsub: Switch to using github.com/rabbitmq/amqp091-go.

runtimevar

  • awsparamstore: Drop the DescribeParameters call, it's not needed.

sql

  • gcp/cloudsql: Enable IAM login.

v0.25.0

Compare Source

blob:

  • Added support for SingleKeyBucket via key URL parameter.
  • s3blob: Added support for using AWS SDK V2.
  • azblob: Allowed for providing client id in MSI authentication via AZURE_CLIENT_ID.
  • fileblob: Stopped overwriting URLOpener.Metadata if there's no URL param.
  • fileblob: Fixed pagination for dirs that end in characters smaller than the delimiter.

pubsub:

  • gcppubsub: Added retries on DeadlineExceeded for subscriptions.
  • awssnssqs: Added support for using AWS SDK V2.

runtimevar:

  • all: Added support for setting wait/timeout Option in URL params.
  • httpdvar: Added support for using basic authentication on the HTTP requests.

v0.24.0

Compare Source

all

  • Updated to use go 1.17 (tests still run with `go 1.16 as well).

blob

  • s3blob: Enable choosing an AWS session profile via the URLOpener.
  • s3blob: Don't set ContentType in the S3 input for signing if it is an empty string and EnforcedAbsentContentType is false.

pubsub

  • gcppubsub: Allow configuration of batch sizes.
  • gcppubsub: Consider publish request body size limitation when batching.
  • kafkapubsub: Enable configuration of initial offset in URLOpener.
  • mempubsub: Log if message sent to subscriber-less topic.

runtimevar

  • awsparamstore: Added support for using AWS SDK V2.
  • awssecretsmanager: Added support for using AWS SDK V2.

secrets

  • awskms: Added support for using AWS SDK V2.

docstore

  • gcpfirestore: Add support for Firestore emulator.

v0.23.0

Compare Source

blob:

  • azblob: Add support for CDN domains.
  • fileblob: Minor fixes and performance improvements; new option to skip writing sidecar/metadata files.
  • azblob: Fixed bug where Copy could fail with permission denied when using SAS tokens.

pubsub:

  • Added a Message.LoggableID field for logging.
  • Added an As hook for AfterSend.
  • rabbitpubsub: Made the default URL opener reconnect if needed.

docstore:

  • memdocstore: Fixed a bug in OrderBy when using Limit.

secrets:

  • hashivault: Added support for VAULT_ADDR and VAULT_TOKEN as aliases for existing environment variables.
  • azurekeyvault: Added support for private clouds.

server:

  • Logger is now passed the full Request (sans Body).

v0.22.0

Compare Source

  • blob

    • azblob: Fixed a bug where a SAS token was not being used during Open.
  • pubsub

    • gcppubsub: Tell gRPC to allow messages up to 10MB.
    • azurepubsub: Fixed a bug when the number of messages returned is empty.
    • azurepubsub: Now using a new SendBatchDisposition function to simplify sending of acks/nacks.
    • awssnssqs: Fixed Message.As when used with multiple concurrent workers.
    • kafka: Fixed to use default partitioning when no KeyName is set.
  • runtimevar

    • Added a new driver for GCP Secret Manager.
  • mysql

    • Fixed parsing of URL hostnames in the form of protocol(addr).
  • docstore

    • all: Improved handling of byte arrays and non-pointer protocol buffers.
    • dynamodocstore: Added support for a consistent_read option to the URLOpener.

All commits:

v0.21.0

Compare Source

  • blob

    • all: added a ListPage function for listing blobs in pages.
    • all: added bucket.IsAccessible.
    • all: added CreateTime and ETag to blob.Attributes.
    • all: added BeforeSign support to SignedURL.
    • azureblob: added support for local emulators via http.
    • azureblob: added support for setting the storage domain in URL opener.
    • azureblob: added MSI based authentication for Azure buckets, including signing.
    • s3blob: added access to s3manager.Uploader via As in WriterOptions.
    • fileblob: fixed List() when the bucket is rooted at /.
    • fileblob: added an Option to create the base fileblob directory if it does not already exist.
    • fileblob: added support for various As functions.
  • runtimevar

    • NEW DRIVER for AWS Secrets Manager!
    • etcdvar: dropped support (hopefully temporarily, until they can fix their dependency issues).
    • httpvar: fixed to respect context when watching values.
  • pubsub

    • all: now allowing batch size to decay when there aren't any messages.
    • awssnssqs: exposed the WaitTime parameter to AWS ReceiveMessage via a SubscriberOption.
    • awssnssqs: requesting Attributes be returned in messages (accessible via As).
    • azurepubsub: fixed bugs in error handling from ReceiveOne.
  • docstore:

    • mongodocstore: no longer include revision field projection twice.
  • secrets

    • localsecrets: now using separate key decoders for URL and Std base64.
  • sql

    • awsmysql: add parsing of DSN options from the URL.

v0.20.0

Compare Source

  • all

    • Dropped explicit support for go 1.11 and go 1.12 and added go 1.14.
    • Updated dependencies.
  • blob

    • all: Reduced allocations in bucket.Read() and bucket.Write().
    • gcsblob: Set defaults for SignURL from any credentials file, and fall back to using IAM for signing.
    • s3blob: Fixed bug with ListObject.As returning the wrong object reference.
    • fileblob: Support relative paths in URL openers via a . Host.
  • pubsub

    • all: * Improved support for writing external drivers by moving batcher out of internal.
    • gcppubsub: Dial emulator with insecure options by default.
    • natspubsub: Added support for opening Queue subscriptions via SubscriptionOptions.
  • runtimevar

    • awsparamstore: Use WithDecryption=true to decrypt encrypted parameters.
  • secrets

    • azurekeyvault Added support for other Azure keyvault regions.
    • ** awskms**: Support ARNs in URLs by using an empty Host.
  • sql

    • gcpmysql: Parse Options in DSN.
  • server

    • Added ListenAndServeTLS.

v0.19.0

Compare Source

No breaking changes.

  • all: Updated various dependencies.
  • blob: Enabled setting Content-Type for PUT requests.
  • blob: Added ReadFrom to blob.Writer and WriteTo to blob.Reader.
  • blob/gcsblob: BeforeRead now correctly returns false if the read is going to fail.
  • blob/gcsblob: Updated to use STORAGE_EMULATOR_HOST if present.
  • blob/gcsblob: Fixed object attributes via As when listing bucket contents.
  • blob/azureblob: Added support for specifying Azure Cloud Environment.
  • blob/fileblob: Now correctly returns NotFound when key addresses a directory.
  • docstore: Fixed batch Creates.
  • server: Now using ochttp to create spans.
  • server: ResponseStats now implements http.Hijacker.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Nov 7, 2024

ℹ Artifact update notice

File name: go.mod

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

  • 66 additional dependencies were updated

Details:

Package Change
cloud.google.com/go/storage v1.30.1 -> v1.43.0
github.com/aws/aws-sdk-go v1.48.14 -> v1.55.5
github.com/aws/aws-sdk-go-v2 v1.16.11 -> v1.30.3
github.com/aws/aws-sdk-go-v2/config v1.17.1 -> v1.27.27
github.com/aws/smithy-go v1.12.1 -> v1.20.3
github.com/onsi/gomega v1.27.6 -> v1.29.0
github.com/prometheus/client_golang v1.17.0 -> v1.19.1
github.com/prometheus/common v0.45.0 -> v0.55.0
golang.org/x/sync v0.7.0 -> v0.8.0
golang.org/x/time v0.5.0 -> v0.6.0
google.golang.org/grpc v1.59.0 -> v1.65.0
k8s.io/api v0.28.14 -> v0.29.3
k8s.io/apimachinery v0.28.14 -> v0.29.3
k8s.io/client-go v0.28.14 -> v0.29.3
k8s.io/klog/v2 v2.110.1 -> v2.130.1
k8s.io/utils v0.0.0-20230711102312-30195339c3c7 -> v0.0.0-20230726121419-3b25d923346b
cloud.google.com/go v0.110.10 -> v0.115.0
cloud.google.com/go/compute/metadata v0.2.3 -> v0.5.0
cloud.google.com/go/iam v1.1.5 -> v1.1.13
github.com/aws/aws-sdk-go-v2/credentials v1.12.14 -> v1.17.27
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.12 -> v1.16.11
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.18 -> v1.3.15
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.12 -> v2.6.15
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.19 -> v1.8.0
github.com/cenkalti/backoff/v4 v4.2.1 -> v4.3.0
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/emicklei/go-restful/v3 v3.10.2 -> v3.11.0
github.com/go-logr/logr v1.3.0 -> v1.4.2
github.com/go-openapi/jsonpointer v0.20.0 -> v0.20.2
github.com/go-openapi/jsonreference v0.20.2 -> v0.20.4
github.com/go-openapi/swag v0.22.4 -> v0.22.9
github.com/google/s2a-go v0.1.7 -> v0.1.8
github.com/google/uuid v1.4.0 -> v1.6.0
github.com/google/wire v0.3.0 -> v0.6.0
github.com/googleapis/gax-go/v2 v2.12.0 -> v2.13.0
github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd -> v0.0.0-20240518133315-a468a5bfb3bc
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 -> v2.20.0
github.com/klauspost/compress v1.17.4 -> v1.17.9
github.com/prometheus/procfs v0.11.1 -> v0.15.1
github.com/prometheus/prometheus v0.49.1 -> v0.54.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0 -> v0.53.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 -> v0.53.0
go.opentelemetry.io/otel v1.21.0 -> v1.28.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 -> v1.28.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 -> v1.28.0
go.opentelemetry.io/otel/metric v1.21.0 -> v1.28.0
go.opentelemetry.io/otel/sdk v1.21.0 -> v1.28.0
go.opentelemetry.io/otel/trace v1.21.0 -> v1.28.0
go.opentelemetry.io/proto/otlp v1.0.0 -> v1.3.1
go.uber.org/zap v1.23.0 -> v1.27.0
golang.org/x/crypto v0.25.0 -> v0.26.0
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb -> v0.0.0-20240119083558-1b970713d09a
golang.org/x/net v0.27.0 -> v0.28.0
golang.org/x/oauth2 v0.15.0 -> v0.22.0
golang.org/x/sys v0.22.0 -> v0.24.0
golang.org/x/term v0.22.0 -> v0.23.0
golang.org/x/text v0.16.0 -> v0.17.0
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 -> v0.0.0-20240716161551-93cc26a95ae9
google.golang.org/api v0.153.0 -> v0.191.0
google.golang.org/appengine v1.6.7 -> v1.6.8
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f -> v0.0.0-20240812133136-8ffd90a71988
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4 -> v0.0.0-20240812133136-8ffd90a71988
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f -> v0.0.0-20240812133136-8ffd90a71988
google.golang.org/protobuf v1.33.0 -> v1.34.2
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 -> v0.0.0-20240228011516-70dd3763d340
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 -> v4.4.1

Copy link
Contributor

ti-chi-bot bot commented Nov 7, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign sdojjy for approval. For more information see the Code Review Process.

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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@csuzhangxc csuzhangxc closed this Nov 7, 2024
@csuzhangxc csuzhangxc deleted the renovate/go-cloud-monorepo branch November 7, 2024 09:38
Copy link
Contributor Author

renovate bot commented Nov 7, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v0.40.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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

Successfully merging this pull request may close these issues.

1 participant