Releases: google/go-cloud
Releases · google/go-cloud
v0.26.0
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
forList
.
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
blob:
- Added support for
SingleKeyBucket
viakey
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
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 andEnforcedAbsentContentType
isfalse
.
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
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 forAfterSend
. - rabbitpubsub: Made the default URL opener reconnect if needed.
docstore:
- memdocstore: Fixed a bug in
OrderBy
when usingLimit
.
secrets:
- hashivault: Added support for
VAULT_ADDR
andVAULT_TOKEN
as aliases for existing environment variables. - azurekeyvault: Added support for private clouds.
server:
Logger
is now passed the fullRequest
(sansBody
).
v0.22.0
-
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)
.
- Fixed parsing of URL hostnames in the form of
-
docstore
- all: Improved handling of byte arrays and non-pointer protocol buffers.
- dynamodocstore: Added support for a
consistent_read
option to theURLOpener
.
All commits:
v0.21.0
-
blob
- all: added a ListPage function for listing blobs in pages.
- all: added
bucket.IsAccessible
. - all: added
CreateTime
andETag
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
viaAs
inWriterOptions
. - 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 AWSReceiveMessage
via aSubscriberOption
. - 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
-
all
- Dropped explicit support for
go 1.11
andgo 1.12
and addedgo 1.14
. - Updated dependencies.
- Dropped explicit support for
-
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
.
- all: * Improved support for writing external drivers by moving
-
runtimevar
- awsparamstore: Use
WithDecryption=true
to decrypt encrypted parameters.
- awsparamstore: Use
-
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
No breaking changes.
- all: Updated various dependencies.
- blob: Enabled setting
Content-Type
forPUT
requests. - blob: Added
ReadFrom
toblob.Writer
andWriteTo
toblob.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 implementshttp.Hijacker
.
v0.18.0
Breaking changes:
- None
Highlights:
- blob: Fixed n return value from blob.Writer when content sniffing is active.
- blob/azureblob: Added support for User Delegation Credentials.
- blob/fileblob: Now handles empty filepath better.
- pubsub: Fixed race when retrying across multiple batches.
- pubsub/awssnssqs: Dropped leading slash from ARNs in SNS URLs.
- pubsub/gcppubsub: Now supports pubsub emulator.
- runtimevar:
Latest
now correctly checks for good snapshot before selecting on passed-inctx
.