Skip to content

Commit 4a689cb

Browse files
authored
chore(release): prepare 2.2.0 with datacontenttype fix and dependency updates (#298)
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
1 parent cb57615 commit 4a689cb

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.2.0]
10+
911
### Changed
1012

1113
- Updated dev and build-time dependencies.
1214

1315
### Fixed
1416

15-
- Fixed an issue where setting a non-JSON datacontenttype (e.g., application/octet-stream) with dict data produced non-JSON-decodable output; now best-effort json-encoding is applied regardless of datacontenttype. ([#291])
16-
- Updated behavior when datacontenttype is unset: now treats events as application/json in line with spec recommendation. ([#291])
17+
- Fixed an issue where setting a non-JSON datacontenttype (e.g.,
18+
application/octet-stream) with dict data produced non-JSON-decodable output; now
19+
best-effort json-encoding is applied regardless of datacontenttype. ([#291])
20+
- Updated behavior when datacontenttype is unset: now treats events as application/json
21+
in line with spec recommendation. ([#291])
1722

1823
## [2.1.0]
1924

@@ -362,3 +367,4 @@ CloudEvents v2 is a rewrite with ongoing development ([#271])
362367
[#278]: https://github.com/cloudevents/sdk-python/pull/278
363368
[#279]: https://github.com/cloudevents/sdk-python/pull/279
364369
[#284]: https://github.com/cloudevents/sdk-python/pull/284
370+
[#291]: https://github.com/cloudevents/sdk-python/pull/291

‎src/cloudevents/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
__version__ = "2.1.0"
15+
__version__ = "2.2.0"

0 commit comments

Comments
 (0)