v0.13.0
Breaking Changes:
- blob
- Modified
Bucket.Attributes
to return*Attributes
instead ofAttributes
. - gcsblob: Modified
As
forReader
to return*storage.Reader
, notstorage.Reader
.
- Modified
- pubsub
- awssnssqs: Modified
OpenTopic
andOpenSubscription
constructors to take AWSConfigProvider
instead of the rawSNS/SQS
connections. - awssnssqs: Changed the URL scheme from
awssnssqs
toawssns
for Topics andawssqs
for Subscriptions. - natspubsub: Renamed
CreateTopic/CreateSubscription
toOpenTopic/OpenSubscription
for consistency.
- awssnssqs: Modified
- secrets
- Some provider constructors were renamed from
NewKeeper
toOpenKeeper
for consistency.
- Some provider constructors were renamed from
- runtimevar
- Some provider constructors were renamed from
NewVariable
toOpenVariable
for consistency. Decode
now takes acontext.Context
argument.
- Some provider constructors were renamed from
- server
New
now takes anhttp.Handler
argument (rather than passing it later inListenAndServe
).
- sql:
- The GCP Cloud SQL/Postgres
Open
function now return an additional function used to close the returned*sql.DB
.
- The GCP Cloud SQL/Postgres
Highlights:
- all: Added functions to
URLMux
to retrieve a slice of registered schemes (e.g.,blob.DefaultURLMux().BucketSchemes()
, and a separate function to see if a specific scheme has been registered (e.g.,blob.DefaultURLMux().ValidBucketScheme()
). - runtimevar
- Added a new
httpvar
provider.
- Added a new
- blob
- Added a
Copy
method, for copying a blob within aBucket
. - azureblob: Fixed bug when using
SASToken
. - fileblob: Improved
List
performance when usingPrefix
. - s3blob: Fixed a bug where
Attribute.MD5
would sometimes report an incorrect MD5 hash.
- Added a
- pubsub
- A bunch of performance improvements in the portable type and in various providers.
- Added support for
Nack
.
- secrets
- Added a
Close
function toKeeper
.
- Added a
- sql
- Added support for Azure Database for MySQL.
- Added URLOpener support for GCP PostgreSQL and RDS PostgreSQL.