Skip to content

Release v2.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Apr 19:47
0136e7f

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: