Releases: cloudevents/sdk-go
Release 0.3.0 - Rewrite of SDK
In this release the SDK has been rewritten to decouple the event from the transport. It is suggested that your client code integrate with the client.Client interface. You can inject your own transport if it adheres to transport.Transport interface.
This is still a work in progress with many open issues. Please file bugs or feature requests for interesting things you encounter.
Release 0.2.0
For this release extensions have been moved to top level properties. Previously extensions were defined in an extensions map, which was itself a top level property. All CloudEvent properties can be accessed using the generic Get method, or the type checked versions, e.g. GetString, GetMap, etc., but only the well known properties allow for direct field access. The marshallers handle packing and unpacking the extensions into an internal map.
This release also makes significant changes to the CloudEvent property names. All property names on the wire are now lower case with no separator characters. This ensures that these names are recognized across transports, which have different standards for property names. This release also removes the redundant 'event' prefix on property names. So EventType becomes Type and EventID become ID, etc. One special case is CloudEventsVersion, which becomes SpecVersion.