diff --git a/CHANGELOG.md b/CHANGELOG.md index aa654e2a..3fcd3a44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,21 +6,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [2.2.0] +### Changed + +- Updated project maintainers list. ([#293]) +- Updated PyPI release workflow to skip publishing when a version tag already exists. ([#321]) +- Clarified `HTTPMessage` mutability in documentation. ([#328]) +- Updated CI GitHub Actions to latest SHA-pinned versions and migrated pinned Ubuntu runners to `ubuntu-26.04`. ([#329]) +- Updated dev dependencies and pre-commit hook versions. ([#330]) + +### Fixed + +- Fixed Kafka binary mode unmarshalling to ignore unrelated binary header values. ([#308]) +- Fixed JSON decoding to treat `null` attribute values as omitted per the CloudEvents specification. ([#309]) + +## [2.2.0] — 2026-06-11 ### Changed -- Updated dev and build-time dependencies. +- Updated dev and build-time dependencies. ([#294]) ### Fixed - 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]) + best-effort json-encoding is applied regardless of datacontenttype. ([#291], [#297]) - Updated behavior when datacontenttype is unset: now treats events as application/json - in line with spec recommendation. ([#291]) + in line with spec recommendation. ([#291], [#297]) -## [2.1.0] +## [2.1.0] — 2026-05-26 ### Added @@ -28,14 +41,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [rabbit-mq-spec]: https://github.com/knative-extensions/eventing-rabbitmq/blob/main/cloudevents-protocol-spec/spec.md -## [2.0.0] +## [2.0.0] — 2026-03-24 ### Changed - Released stable v2.0.0. See [migration](./MIGRATION.md) for details and migration guidelines. ([#279]) -## [2.0.0.alpha6] +## [2.0.0-alpha6] — 2026-03-22 ### Changed @@ -45,38 +58,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed the v1 compatibility layer. ([#276]) -## [2.0.0.alpha5] +## [2.0.0-alpha5] — 2026-03-22 ### Changed - Improved spec compatibility of attributes processing. ([#275]) -## [2.0.0.alpha4] +## [2.0.0-alpha4] — 2026-03-14 ### Changed - CloudEvents v2 is ready to become the main version. ([#273]) -## [1.12.1] +## [1.12.1] — 2026-03-12 ### Changed - CloudEvents v1 moved to security fixes support stage. -CloudEvents v2 is a rewrite with ongoing development ([#271]) + CloudEvents v2 is a rewrite with ongoing development. ([#271]) -## [1.12.0] +## [1.12.0] — 2025-06-02 ### Changed - Dropped Python3.8 support while it has reached EOL. ([#249]) -## [1.11.1] +## [1.11.1] — 2025-05-23 ### Fixed - Kafka `conversion` marshaller and unmarshaller typings ([#240]) - Improved public API type annotations and fixed unit test type errors ([#248]) -## [1.11.0] +## [1.11.0] — 2024-06-20 ### Fixed - Pydantic v2 `examples` keyword usage and improved typings handling ([#235]) @@ -86,7 +99,7 @@ CloudEvents v2 is a rewrite with ongoing development ([#271]) - Dropped Python3.7 from CI while its EOL. ([#236]) -## [1.10.1] +## [1.10.1] — 2023-10-30 ### Fixed - Fixed Pydantic v2 `to_json` (and `to_structured`) conversion ([#229]) @@ -270,12 +283,22 @@ CloudEvents v2 is a rewrite with ongoing development ([#271]) ### Added - Initial release +[Unreleased]: https://github.com/cloudevents/sdk-python/compare/2.2.0...HEAD +[2.2.0]: https://github.com/cloudevents/sdk-python/compare/2.1.0...2.2.0 +[2.1.0]: https://github.com/cloudevents/sdk-python/compare/2.0.0...2.1.0 +[2.0.0]: https://github.com/cloudevents/sdk-python/compare/2.0.0-alpha6...2.0.0 +[2.0.0-alpha6]: https://github.com/cloudevents/sdk-python/compare/2.0.0-alpha5...2.0.0-alpha6 +[2.0.0-alpha5]: https://github.com/cloudevents/sdk-python/compare/2.0.0-alpha4...2.0.0-alpha5 +[2.0.0-alpha4]: https://github.com/cloudevents/sdk-python/compare/2.0.0-alpha3...2.0.0-alpha4 +[1.12.1]: https://github.com/cloudevents/sdk-python/compare/1.12.0...088b46c +[1.12.0]: https://github.com/cloudevents/sdk-python/compare/1.11.1...1.12.0 +[1.11.1]: https://github.com/cloudevents/sdk-python/compare/1.11.0...1.11.1 [1.11.0]: https://github.com/cloudevents/sdk-python/compare/1.10.1...1.11.0 [1.10.1]: https://github.com/cloudevents/sdk-python/compare/1.10.0...1.10.1 [1.10.0]: https://github.com/cloudevents/sdk-python/compare/1.9.0...1.10.0 [1.9.0]: https://github.com/cloudevents/sdk-python/compare/1.8.0...1.9.0 [1.8.0]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.8.0 -[1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.7.1 +[1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...119264c [1.7.0]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.7.0 [1.6.3]: https://github.com/cloudevents/sdk-python/compare/1.6.2...1.6.3 [1.6.2]: https://github.com/cloudevents/sdk-python/compare/1.6.1...1.6.2 @@ -323,6 +346,7 @@ CloudEvents v2 is a rewrite with ongoing development ([#271]) [#111]: https://github.com/cloudevents/sdk-python/pull/111 [#119]: https://github.com/cloudevents/sdk-python/pull/119 [#120]: https://github.com/cloudevents/sdk-python/pull/120 +[#138]: https://github.com/cloudevents/sdk-python/pull/138 [#144]: https://github.com/cloudevents/sdk-python/pull/144 [#149]: https://github.com/cloudevents/sdk-python/pull/149 [#150]: https://github.com/cloudevents/sdk-python/pull/150 @@ -367,4 +391,13 @@ CloudEvents v2 is a rewrite with ongoing development ([#271]) [#278]: https://github.com/cloudevents/sdk-python/pull/278 [#279]: https://github.com/cloudevents/sdk-python/pull/279 [#284]: https://github.com/cloudevents/sdk-python/pull/284 -[#291]: https://github.com/cloudevents/sdk-python/pull/291 +[#291]: https://github.com/cloudevents/sdk-python/issues/291 +[#293]: https://github.com/cloudevents/sdk-python/pull/293 +[#294]: https://github.com/cloudevents/sdk-python/pull/294 +[#297]: https://github.com/cloudevents/sdk-python/pull/297 +[#308]: https://github.com/cloudevents/sdk-python/pull/308 +[#309]: https://github.com/cloudevents/sdk-python/pull/309 +[#321]: https://github.com/cloudevents/sdk-python/pull/321 +[#328]: https://github.com/cloudevents/sdk-python/pull/328 +[#329]: https://github.com/cloudevents/sdk-python/pull/329 +[#330]: https://github.com/cloudevents/sdk-python/pull/330