Skip to content

v0.14.0

Compare
Choose a tag to compare
@vangent vangent released this 30 May 00:34
· 728 commits to master since this release
7ab9ebe

Breaking changes:

  • pubsub/nats: Removed the ackFunc constructor argument URL query parameter. Message.Ack is now always a no-op for NATS, Message.Nackable will return false, and Message.Nack will panic.
  • pubsub/azuresb: Removed Options.AckFuncForReceiveAndDelete in favor of Options.ReceiveAndDelete; if the latter is set to true, Message.Ack will be a no-op for Azure ServiceBus, Message.Nackable will return false, and Message.Nack will panic.
  • secrets/localsecrets: Now more strict about the key material it is given; it must now always be exactly 32 bytes (previously it would crop as needed). The ByteKey helper and the stringkey scheme for URLs have been removed.

Highlights:

  • blob

    • Added support for a blob.Bucket that operates on a subfolder of a bucket (see blob.PrefixedBucket).
    • Added a ReaderOptions.BeforeRead hook for As.
    • gcsblob: Exposed more types via As.
  • pubsub

    • Added a Message.BeforeSend hook for As.
    • Added Message.Nackable to determine if the provider supports Nack.
    • awssnssqs: Added a pubsub.Topic implementation that sends directly to an SQS queue.
    • kafkapubsub: Added new provider for Kafka.
    • rabbitpubsub: Fixed high background CPU usage.
  • secrets

    • localsecrets: See breaking changes above.
  • server

    • Logged traces are no longer empty.
  • sql

    • Added RDS MySQL URLOpener.