All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- CloudEvents v1 moved to security fixes support stage. CloudEvents v2 is a rewrite with ongoing development ([])
- Dropped Python3.8 support while it has reached EOL. (#249)
- Kafka
conversionmarshaller and unmarshaller typings (#240) - Improved public API type annotations and fixed unit test type errors (#248)
- Pydantic v2
exampleskeyword usage and improved typings handling (#235) - Kafka
to_binarycheck for invalidcontent-typeattribute (#232)
- Dropped Python3.7 from CI while its EOL. (#236)
- Fixed Pydantic v2
to_json(andto_structured) conversion (#229)
1.10.0 — 2023-09-25
- Pydantic v2 support. (#219)
- Pydantic v2 to v1 compatibility layer. (#218)
- Governance docs per main CE discussions. (#221)
1.9.0 — 2023-01-04
1.8.0 — 2022-12-08
- Dropped support of Python 3.6 that has reached EOL almost a year ago. v1.7.1 is the last one to support Python 3.6 (#208)
1.7.1 — 2022-11-21
- Fixed Pydantic extras dependency constraint (backport of v1.6.3, #204)
- Refined build and publishing process. Added SDist to the released package (#202)
1.7.0 — 2022-11-17
- Added Kafka support (#197, thanks David Martines)
1.6.3 — 2022-11-21
- Fixed Pydantic extras dependency constraint (#204)
1.6.2 — 2022-10-18
- Added
get_attributesAPI to theCloudEventAPI. The method returns a read-only view on the event attributes. (#195)
1.6.1 — 2022-08-18
- Missing
to_jsonimport. (#191)
1.6.0 — 2022-08-17
- A new
CloudEventoptionalpydanticmodel class is available in thecloudevents.pydantic.eventmodule. The new model enables the integration of CloudEvents in your existing pydantic models or integration with pydantic dependent systems such as FastAPI. (#182)
- Deprecated
cloudevents.http.event_typemodule, moved undercloudevents.sdk.converters. - Deprecated
cloudevents.http.json_methodsmodule, moved undercloudevents.http.conversion. - Deprecated
cloudevents.http.http_methodsmodule, moved undercloudevents.http.conversion. - Deprecated
cloudevents.http.utilmodule.
- Multiple PEP issues, license headers, module-level exports. (#188)
1.5.0 — 2022-08-06
- A new
CloudEventabstract class is available in thecloudevents.abstract.eventmodule. The new abstraction simplifies creation of custom framework-specific implementations ofCloudEventswrappers (#186)
- Malformed unicode buffer encoded in
base_64json field no-longer fail CloudEvent class construction (#184)
- Default branch changed from
mastertomain(#180)
1.4.0 — 2022-07-14
- Added
.getaccessor for even properties (#165) - Added type information for all event member functions (#173)
- Fixed event
__eq__operator raisingAttributeErroron non-CloudEvent values (#172)
- Code quality and styling tooling is unified and configs compatibility is ensured (#167)
- CI configurations updated and added macOS and Windows tests (#169)
- Copyright is unified with the other SDKs and updated/added where needed. (#170)
docsfolder and related unused tooling (#168)
1.3.0 — 2022-07-09
ce-datacontenttypeis not longer generated for binary representation ([#138])- Fixed typings issues (#149)
- The package redistributive ability by inlining required
pypi-packaging.pyfunctions (#151)
1.2.0 — 2020-08-20
- Added GenericException, DataMarshallingError and DataUnmarshallingError (#120)
1.1.0 — 2020-08-18
- Fixed from_http bugs with data of type None, or not dict-like (#119)
- Renamed to_binary_http and to_structured_http. (#108)
1.0.1 — 2020-08-14
- CloudEvent exceptions and event type checking in http module (#96)
- CloudEvent equality override (#98)
1.0.0 — 2020-08-11
- Update types and handle data_base64 structured (#34)
- Added a user friendly CloudEvent class with data validation (#36)
- CloudEvent structured cloudevent support (#47)
- Separated http methods into cloudevents.http module (#60)
- Implemented to_json and from_json in http module (#72)
- Fixed top level extensions bug (#71)
- Removed support for Cloudevents V0.2 and V0.1 (#43)
0.3.0 — 2020-07-11
- Added Cloudevents V0.3 and V1 implementations (#22)
- Add helpful text to README (#23)
- Add link to email in README (#27)
- Fix small bug with extensions (#25)
0.2.4 - 2019-06-07
- Fix typo in extensions (#21)
0.2.3 - 2019-04-20
- Update sample scripts (#15)
- Move Sphinx dependency out of package depedency (#17)
0.2.2 - 2019-01-16
- Adding web app tests (#13)
- Add content-type for long-description. (#11)
0.2.1 - 2019-01-16
0.2.0 - 2018-12-08
- Make SDK compliant wtih CloudEvents SDK spec (#2)
0.0.1 - 2018-11-19
- Initial release