Skip to content

Commit

Permalink
release: Release cloud_events 0.6.0 (#70)
Browse files Browse the repository at this point in the history
Signed-off-by: CNCF CloudEvents Bot <[email protected]>
  • Loading branch information
github-actions[bot] authored Aug 23, 2021
1 parent c04639d commit 688ec7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

### v0.6.0 / 2021-08-23

This update further clarifies and cleans up the encoding behavior of event payloads. In particular, the event object now includes explicitly encoded data in the new `data_encoded` field, and provides information on whether the existing `data` field contains an encoded or decoded form of the payload.

* Added `data_encoded`, `data_decoded?` and `data?` methods to `CloudEvents::Event::V1`, added `:data_encoded` as an input attribute, and clarified the encoding semantics of each field.
* Changed `:attributes` keyword argument in event constructors to `:set_attributes`, to avoid any possible collision with a real extension attribute name. (The old argument name is deprecated and will be removed in 1.0.)
* Fixed various inconsistencies in the data encoding behavior of `JsonFormat` and `HttpBinding`.
* Support passing a data content encoder/decoder into `JsonFormat#encode_event` and `JsonFormat#decode_event`.
* Provided `TextFormat` to handle media types with trivial encoding.
* Provided `Format::Multi` to handle checking a series of encoders/decoders.

### v0.5.1 / 2021-06-28

* ADDED: Add HttpBinding#probable_event?
Expand Down
2 changes: 1 addition & 1 deletion lib/cloud_events/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module CloudEvents
# Version of the Ruby CloudEvents SDK
# @return [String]
#
VERSION = "0.5.1"
VERSION = "0.6.0"
end

0 comments on commit 688ec7d

Please sign in to comment.