github cloudevents/sdk-go v2.4.0
Release v2.4.0

latest releases: sql/v2.15.2, protocol/ws/v2.15.2, protocol/stan/v2.15.2...
3 years ago

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

  • Adding NewClientHTTP (#653).
  • Pass http.Option through in NewDefault method (#597).

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:

Don't miss a new sdk-go release

NewReleases is sending notifications on new releases.