Release v2.4.0
General
- JSON stream writer for faster marshaling (#621).
- Lots of Optimizations on Event parsing (#620 #622 #626 #628).
- New Protocol! Websockets.
- New minimum golang version: 1.14.
WARNING: We had to introduce a breaking change to importing client.EventTraceAttributes
, this can now be found in a new import:
import "github.com/cloudevents/sdk-go/observability/opencensus/v2/client"
// Then use:
_ = client.EventTraceAttributes
Diff:
+ "github.com/cloudevents/sdk-go/observability/opencensus/v2/client"
- "github.com/cloudevents/sdk-go/v2/client"
Websockets
- Added Websockets Client support (#606).
HTTP
STAN
- Implemented context decorator for inbound STAN messages to expose message metadata (#658).
Kafka
- Fix Kafka ConsumeClaim loop to Mark right offset (#645).
AMQP
- Fix for stalled queue consumers (#656).
Thanks
Thank you to everyone who has used and contributed to the CloudEvents SDK for Golang, special shoutouts to: