Skip to content

Commit 688ec7d

Browse files
release: Release cloud_events 0.6.0 (#70)
Signed-off-by: CNCF CloudEvents Bot <[email protected]>
1 parent c04639d commit 688ec7d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
### v0.6.0 / 2021-08-23
4+
5+
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.
6+
7+
* 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.
8+
* 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.)
9+
* Fixed various inconsistencies in the data encoding behavior of `JsonFormat` and `HttpBinding`.
10+
* Support passing a data content encoder/decoder into `JsonFormat#encode_event` and `JsonFormat#decode_event`.
11+
* Provided `TextFormat` to handle media types with trivial encoding.
12+
* Provided `Format::Multi` to handle checking a series of encoders/decoders.
13+
314
### v0.5.1 / 2021-06-28
415

516
* ADDED: Add HttpBinding#probable_event?

lib/cloud_events/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ module CloudEvents
55
# Version of the Ruby CloudEvents SDK
66
# @return [String]
77
#
8-
VERSION = "0.5.1"
8+
VERSION = "0.6.0"
99
end

0 commit comments

Comments
 (0)