NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1399 most downloaded on PyPI
CloudEvents Python SDK
Last release 2 months ago
11 Jul 2026
Release timing varies
gaps range from 9 days to 11 months
Nearly every release is documented
notes for 30 of 31 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
38 releases · first in 2018
chore(release): prepare 2.2.0 with datacontenttype fix and dependen…
chore(release): prepare 2.2.0 with datacontenttype fix and dependen…
chore(changelog): update for RabbitMQ protocol binding addition in 2.1.0
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
One column per quarter.
Replaced deprecated from_http , to_binary , and to_structured with the new from_http_event , to_binary_event , and to_structured_event .
chore: V2 migrate to uv (#239)
Migrate project to rye and ruff for v2
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
feat: base CloudEvent class as per v1 specs, including attribute validation (#242)
feat: base CloudEvent class as per v1 specs, including attribute validation
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
We can't use TypedDict here becuase it does not allow for arbitrary keys which we need in order to support custom extension attributes.
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
for more information, see https://pre-commit.ci
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor plugaru.tudor@protonmail.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
feat: implementation for JSON format. (#245)
feat: draft implementation for JSON format. Only CloudEvent serialization included.
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
chore: drop support for PY3.19 and run tests for 3.13 and 3.14 (#252)
chore: drop support for PY3.9 since it reached EOL
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
feat: implement http bindings (#251)
chore: fix uv lock warnings
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Dict to dict for type hintsSigned-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
| rather than UnionSigned-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
feat(v2): full implementation for kafka bindings (#253)
feat: full implementation of kafka bindings
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
feat(v2): Full AMQP spec implementation (#254)
feat(v2): full AMQP 1.0 implementation
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
_ and : when reading AMQP messagesSigned-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
chore: provide simplified interface to read/write CE for both binary and structured even formats (#255)
chore: provide simplified interface to read/write CE for both binary and
structured even formats
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
chore: v2 upgrade tooling (#257)
refactor(config): update dependencies and dev tools versions
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
v2 branch in release workflow and streamline build/publish process using uv (#259)Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
feat(v2): add support for spec version 0.3 (#261)
feat: add support for spec version 0.3
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Moves SPECVERSION_V1_0 and SPECVERSION_V0_3 from the core init.py to
a new cloudevents.core.spec module.
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
chore: add default values for id, time and specversion (#264)
chore: add default values for id, time and specversion
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Per CloudEvents HTTP binding spec (section 3.1.3.2), only these should
be percent-encoded: space (U+0020), double-quote (U+0022), percent
(U+0025), and characters outside printable ASCII (U+0021-U+007E).
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
fix(kafka): fix header encoding and partitionkey handling in binary mode (#269)
fix(kafka): headers don't need encoding as per kafka binding spec
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
The isinstance check in to_structured had a duplicate bytes entry
instead of bytearray, meaning bytearray data would not be correctly
base64-encoded in the structured kafka message.
Signed-off-by: Artem Muterko artem@sopho.tech
Co-authored-by: Claude Opus 4.6 noreply@anthropic.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Update samples (#272)
refactor(samples): update to cloudevents 2.0.0a1 and modernize usage
cloudevents 2.0.0a1 including updated imports and APIs.from_http, to_binary, and to_structured with the new from_http_event, to_binary_event, and to_structured_event.id and specversion attributes to Cloudevents examples.Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents 2.0.0a1 and enhance examplescloudevents 2.0.0a1 API with from_http_event, to_binary_event, and to_structured_event.id and specversion attributes in Cloudevent examples.cloudevents==2.0.0a1 in requirements.txt.Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents to 2.0.0a2 in requirementsSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents to 2.0.0a3 in requirementsSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
chore(cloudevents): bump version to 2.0.0-alpha4
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
chore(tox): remove tox configuration file
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Ensure spec compatibility - fix 2 edge cases (#275)
fix(event): validate attributes for null or empty values
Ensure required attributes ('id', 'source', and 'type') are neither null nor empty across v03 and v1 event versions. Includes stricter validation and new test cases.
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Remove the 20-character maximum length restriction for extension attribute names in both v03 and v1 event versions. Update validation error messages and add tests to ensure compatibility with longer attribute names.
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Fix v1 compatibility layer and update docs (#276)
fix: standardize import paths from cloudevents_v1 to cloudevents.v1 to fix compatibility layer
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
deprecation package with version constraint >=2.0,<3.0 for v1 compat layerSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
test_v1_compat directory for improved organizationSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
uv.lock to add new dependencies and version constraints for libraries including anyio, sanic, pydantic, and othersSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
deprecation imports across deprecated v1 modules for consistencySigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
test_v1_compat files for consistencySigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents.v1 compatibility layerSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
MIGRATION.md with clarified import mappings, format protocol, and v2 API changesSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
pytest import in test_base_eventsSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
pytest_ignore_collect to skip pydantic tests on Python 3.14+Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Update tooling (#278)
chore(pre-commit): bump ruff-pre-commit to v0.15.7
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Prepare v2 (#279)
chore(pre-commit): update mypy exclude to ignore test_v1_compat
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Tudor Plugaru plugaru.tudor@protonmail.com
Signed-off-by: Tudor plugaru.tudor@protonmail.com
Signed-off-by: PlugaruT plugaru.tudor@protonmail.com
Signed-off-by: Artem Muterko artem@sopho.tech
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tudor Plugaru plugaru.tudor@protonmail.com
Co-authored-by: Archy 6429715+archy-rock3t-cloud@users.noreply.github.com
Co-authored-by: Claude Opus 4.6 noreply@anthropic.com
chore(pre-commit): bump ruff-pre-commit to v0.15.7
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
fix(event): validate attributes for null or empty values
Ensure required attributes ('id', 'source', and 'type') are neither null nor empty across v03 and v1 event versions. Includes stricter validation and new test cases.
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Remove the 20-character maximum length restriction for extension attribute names in both v03 and v1 event versions. Update validation error messages and add tests to ensure compatibility with longer attribute names.
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
fix kafka unmarshaller args typing and defaults
fix kafka unmarshaller args typing and defaults (#240)
fix kafka unmarshaller args typing and defaults
Signed-off-by: Christoph Hösler christoph.hoesler@inovex.de
for more information, see https://pre-commit.ci
Signed-off-by: Christoph Hösler christoph.hoesler@inovex.de
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Improve public API type annotations & fix unit test type errors (#248)
chore: improve typing of functions returning AnyCloudEvent
kafka.conversion.from_binary() and from_structured() return
AnyCloudEvent type var according to their event_type argument, but when
event_type is None, type checkers cannot infer the return type. We now
use an overload to declare that the return type is http.CloudEvent when
event_type is None.
Previously users had to explicitly annotate this type when calling
without event_type. This happens quite a lot in this repo's
test_kafka_conversions.py — this fixes quite a few type errors like:
error: Need type annotation for "result" [var-annotated]
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
The v1.Event self-returning Set*() methods like SetData() were returning
BaseEvent, which doesn't declare the same Set* methods. As a result,
chaining more than one Set* method would make the return type unknown.
This was causing type errors in test_event_pipeline.py.
The Set*() methods now return the Self type.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
mypy was failing with lots of type errors in test modules. I've not
annotated all fixtures, mostly fixed existing type errors.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
from_http() conversion function was requiring its headers argument to
be a typing.Dict, which makes it incompatible with headers types of http
libraries, which support features like multiple values per key.
typing.Mapping and even _typeshed.SupportsItems do not cover these
types. For example,
samples/http-image-cloudevents/image_sample_server.py was failing to
type check where it calls from_http(request.headers, ...).
To support these kind of headers types in from_http(), we now define our
own SupportsDuplicateItems protocol, which is broader than
_typeshed.SupportsItems.
I've only applied this to from_http(), as typing.Mapping is OK for most
other methods that accept dict-like objects, and using this more lenient
interface everywhere would impose restrictions on our implementation,
even though it might be more flexible for users.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Tox now runs mypy on cloudevents itself, and the samples.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Mapping imposes less restrictions on callers, because it's read-only and
allows non-dict types to be passed without copying them as dict(), or
passing dict-like values and ignoring the resulting type error.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Tests were failing because the sanic dependency dropped support for
py3.8 in its current release. sanic is now pinned to the last compatible
version for py3.8 only.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Pydantic added by_alias and by_name keyword arguments to
BaseModel.model_validate_json in 2.11.1:
This caused mypy to report that that the Pydantic v2 CloudEvent did not
override model_validate_json() correctly. Our override now accepts these
newly-added arguments. They have no effect, as the implementation does
not use Pydantic to validate the JSON, but we also don't use field
aliases, so the only effect they could have in the superclass would be
to raise an error if they're both False.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Although our types.SupportsDuplicateItems type is wider than Dict and
Mapping, it's not a familar type to users, so explicitly accepting
Mapping in the from_http() functions should make it more clear to users
that a dict-like object is required for the headers argument.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Python 3.8 is unsupported and dependencies (such as pydantic) are now
shipping releases that fail to type check with mypy running in 3.8
compatibility mode. We run mypy in py 3.8 compatibility mode, so the
mypy tox environments must only use deps that support 3.8. And unit
tests run by py 3.8 must only use deps that support 3.8.
To constrain the deps for 3.8 support, we use two constraint files, one
for general environments that only constrains the dependencies that
python 3.8 interpreters use, and another for mypy that constraints the
dependencies that all interpreters use.
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Drop EOL Python 3.8 support (#249)
chore: add missing changelog items
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
chore: release 1.12.1 CloudEvents v1 goes into maintenance mode (#271)
chore: release 1.12.1 with CloudEvents v2 update and v1 support adjustment
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Christoph Hösler christoph.hoesler@inovex.de
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Hal Blackburn hwtb2@cam.ac.uk
Co-authored-by: Christoph Hösler christoph.hoesler@gmail.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hal Blackburn hal.blackburn@gmail.com
Replaced deprecated from_http , to_binary , and to_structured with the new from_http_event , to_binary_event , and to_structured_event .
cloudevents 2.0.0a1 and modernize usagecloudevents 2.0.0a1 including updated imports and APIs.from_http, to_binary, and to_structured with the new from_http_event, to_binary_event, and to_structured_event.id and specversion attributes to Cloudevents examples.Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents 2.0.0a1 and enhance examplescloudevents 2.0.0a1 API with from_http_event, to_binary_event, and to_structured_event.id and specversion attributes in Cloudevent examples.cloudevents==2.0.0a1 in requirements.txt.Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents to 2.0.0a2 in requirementsSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
cloudevents to 2.0.0a3 in requirementsSigned-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Nothing published for this version
CloudEvents v1 moved to security fixes support stage. CloudEvents v2 is a rewrite with ongoing development ([#271])
chore: add missing changelog items
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Signed-off-by: Yurii Serhiichuk savik.ne@gmail.com
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Kafka conversion marshaller and unmarshaller typings ([#240])
conversion marshaller and unmarshaller typings ([#240])Pydantic v2 examples keyword usage and improved typings handling ([#235])
examples keyword usage and improved typings handling ([#235])to_binary check for invalid content-type attribute ([#232])Fixed Pydantic v2 to_json (and to_structured) conversion ([#229])
to_json (and to_structured) conversion ([#229])Pydantic v2 to v1 compatibility layer. ([#218])
Added typings to the codebase. ([#207])
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])
Fixed Pydantic extras dependency constraint (backport of v1.6.3, [#204])
Added Kafka support ([#197], thanks David Martines)
Fixed Pydantic extras dependency constraint ([#204])
Added get_attributes API to the CloudEvent API. The method returns a read-only view on the event attributes. ([#195])
get_attributes API to the CloudEvent API. The method returns a read-only
view on the event attributes. ([#195])Missing to_json import. ([#191])
to_json import. ([#191])Deprecated cloudevents.http.event_type module, moved under cloudevents.sdk.converters.
CloudEvent optional pydantic model class is available in the
cloudevents.pydantic.event module. The new model enables the integration of
CloudEvents in your existing pydantic models or integration with pydantic
dependent systems such as FastAPI. ([#182])cloudevents.http.event_type module,
moved under cloudevents.sdk.converters.cloudevents.http.json_methods module,
moved under cloudevents.http.conversion.cloudevents.http.http_methods module,
moved under cloudevents.http.conversion.cloudevents.http.util module.A new CloudEvent abstract class is available in the cloudevents.abstract.event module. The new abstraction simplifies creation of custom framework-spe
CloudEvent abstract class is available in the cloudevents.abstract.event
module. The new abstraction simplifies creation of custom framework-specific
implementations of CloudEvents wrappers ([#186])base_64 json field no-longer fail CloudEvent
class construction ([#184])master to main ([#180])Added .get accessor for even properties ([#165])
.get accessor for even properties ([#165])__eq__ operator raising AttributeError on non-CloudEvent values ([#172])docs folder and related unused tooling ([#168])Automatic CLO checks ([#158], [#159], [#160])
ce-datacontenttype is not longer generated for binary representation ([#138])pypi-packaging.py functions ([#151])Added GenericException, DataMarshallingError and DataUnmarshallingError ([#120])
Changed from_http to now expect headers argument before data ([#110])
CloudEvent exceptions and event type checking in http module ([#96])
Update types and handle data_base64 structured ([#34])
Added Cloudevents V0.3 and V1 implementations ([#22])
### Fixed - Fix typo in extensions ([#21])
Move Sphinx dependency out of package depedency ([#17])
Add content-type for long-description. ([#11])
Consolidating return types ([#7])
Make SDK compliant wtih CloudEvents SDK spec ([#2])
[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.
Your coding agent can read these notes before it upgrades. Set up the MCP server →