Skip to content

Releases: google/go-cloud

v0.37.0

12 Mar 17:10
720ec47
Compare
Choose a tag to compare
  • 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

28 Dec 06:57
Compare
Choose a tag to compare

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

08 Dec 22:38
27e0bca
Compare
Choose a tag to compare

BREAKING CHANGES

This release updates the dependency on AWS/S3, which included some breaking changes; see #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

25 Aug 21:11
22c0c79
Compare
Choose a tag to compare
  • 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

02 Aug 00:16
ffb5921
Compare
Choose a tag to compare

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

19 Jul 22:56
728b7c1
Compare
Choose a tag to compare

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

19 Jun 19:27
d2d5bed
Compare
Choose a tag to compare

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

04 Mar 17:46
6239712
Compare
Choose a tag to compare

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

09 Jan 18:06
2416609
Compare
Choose a tag to compare

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

30 Sep 17:46
Compare
Choose a tag to compare

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.