Releases: google/go-cloud
v0.36.0
blob
- all: Allow disabling of
ContentTypeauto-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
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
v0.33.0
blob
- all: Avoid infinite recursion when using
io.Copybetween 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
PublishBatchfor sending messages in SNS. - natspubsub: Added support for NATS v2.2.0+ native message headers and message encoding.
v0.32.0
Redoing v0.31.0 since I think I messed up the tags. Copying the release notes:
all
- Update
goversion ingo.modto maintain cleanergo.modandgo.sumfiles.
blob
- all: Pass through reader/writer to
WriteTo/ReadFromif available (optimization). - all: Make
blob.Bucketimplementio/fs.FSandio/fs.SubFS. - gcsblob: Add support for forcing an unauthenticated client.
server
- Make
requestloginternal structs implementhttp.Flusher. - Don't always read the full request in order to calculate the request size; use
Content-Lengthwhen available.
v0.30.0
blob
- all: Add
UploadandDownloadmethods 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
BREAKING CHANGES
- Updated to latest
azureblob, which had some non-backward-compatible changes (again).
all
- Defaulting to
goversion1.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
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
BeforeSendto take a pointer to theSendMessageBatchRequestEntrystruct, so that it can be modified.
blob
- memblob: Fixed bug where use of
BeforeCopycallback 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
ListenerTimeoutconfigurable. - gcppubsub and awssnssqs: Support lazy mode for
Nack(where no explicitNackis sent). - awssnssqs: Fixed
BeforeSendto take a pointer to theSendMessageBatchRequestEntrystruct, 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
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
all
- Updated to Go 1.19 (with compatibility for Go 1.18).
blob
- all: Made
blob.Readerimplement io.ReadSeekCloser. - all: Added
WriterOption.MaxConcurrency. - azureblob: Fixed a capture bug in
AsforList.
pubsub
- gcppubsub: Exposed ReceivedMessage in As (for AckId)
- rabbitpubsub: Switch to using github.com/rabbitmq/amqp091-go.
runtimevar
- awsparamstore: Drop the
DescribeParameterscall, it's not needed.
sql
- gcp/cloudsql: Enable IAM login.

