-
Notifications
You must be signed in to change notification settings - Fork 61
Comparing changes
Open a pull request
base repository: cloudevents/sdk-python
base: main
head repository: cloudevents/sdk-python
compare: v2
- 14 commits
- 115 files changed
- 4 contributors
Commits on Sep 30, 2024
-
chore: V2 migrate to uv (#239)
* Migrate project to rye and ruff for v2 Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Just run ruff Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Add the core package stub Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Move cloudevents to v1 Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Add extra rye configs. update locks to be OS-aware Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Migrate from rye to uv Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Use python 3.12 by default for linting Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Do not mention rye in docs Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use stricter mypy rules. exclude v1 Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Run isort, flake8 Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * fix isort Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Run ruff with isort Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Move mypy config to pyproject Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Exclude samples as well Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Exclude samples as well Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * Fix mypy pre-commit setup 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>
Configuration menu - View commit details
-
Copy full SHA for 9101ab4 - Browse repository at this point
Copy the full SHA 9101ab4View commit details
Commits on Nov 14, 2024
-
fix: remove last mentions of py38 (#244)
Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for d601888 - Browse repository at this point
Copy the full SHA d601888View commit details
Commits on Nov 16, 2024
-
feat: base
CloudEventclass as per v1 specs, including attribute va……lidation (#242) * feat: base `CloudEvent` class as per v1 specs, including attribute validation Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: add typings and docstrings Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Add support for custom extension names and validate them Signed-off-by: Tudor <plugaru.tudor@protonmail.com> * chore: Add copyright and fix missing type info Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Add getters for attributes and test happy path Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * fix: typing Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Split validation logic into smaller methods Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Add method to extract extension by name Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: configure ruff to sort imports also Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Returns all the errors at ones instead of raising early. Improve tests Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * fix missing type info Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Improve exceptions handling. Have exceptions grouped by attribute name and typed exceptions Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Skip type checing for getters of required attributes 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> * fix: missing type Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Improve exceptions and introduce a new one for invalid values Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * fix: str representation for validation error Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: Fix missing type definitions Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * small fix Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * remove cast of defaultdict to dict 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>
Configuration menu - View commit details
-
Copy full SHA for a73c870 - Browse repository at this point
Copy the full SHA a73c870View commit details
Commits on Oct 17, 2025
-
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> * Implement read method Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * small fix to read method Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * wrap up JSON format completely and make it compliant with the spec Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * add type annotations Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore(docs): move docstrings from implementation to protocol class Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore(docs): document Format protocol Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> --------- Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for a9b9904 - Browse repository at this point
Copy the full SHA a9b9904View commit details
Commits on Nov 19, 2025
-
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> * chore: run tests for 3.13 and 3.14 Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: update docs Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: update actions to latest version Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> --------- Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 44b0496 - Browse repository at this point
Copy the full SHA 44b0496View commit details
Commits on Nov 24, 2025
-
feat: implement http bindings (#251)
* chore: fix uv lock warnings Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * feat: implement http bindings Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: fix mypy in tests Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: more mypy fixes Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: another try Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: switch from using `Dict` to `dict` for type hints Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: switch type hints to use `|` rather than `Union` Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * refactor: simplify header normalization in from_http function Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * refactor: streamline header normalization in from_binary function Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * refactor: remove redundant comment in from_binary function Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> --------- Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for db71318 - Browse repository at this point
Copy the full SHA db71318View commit details
Commits on Dec 15, 2025
-
feat(v2): full implementation for kafka bindings (#253)
* feat: full implementation of kafka bindings Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: no need to re-export functions from core module. let users explicitly import Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> --------- Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 675c44b - Browse repository at this point
Copy the full SHA 675c44bView commit details
Commits on Dec 23, 2025
-
feat(v2): Full AMQP spec implementation (#254)
* feat(v2): full AMQP 1.0 implementation Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * feat(v2): Support both `_` and `:` when reading AMQP messages Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: define type alias for EventFactory and use it everywhere Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> --------- Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06834b3 - Browse repository at this point
Copy the full SHA 06834b3View commit details -
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> * fix typing Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> --------- Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for fd6f579 - Browse repository at this point
Copy the full SHA fd6f579View commit details -
chore: v2 upgrade tooling (#257)
* refactor(config): update dependencies and dev tools versions Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * refactor(workflows): update GitHub Actions and OS versions in workflows Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs(releasing): simplify and update releasing guidelines Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs(github): enhance pull request template with detailed guidelines and checklist Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks 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>
Configuration menu - View commit details
-
Copy full SHA for 75c0373 - Browse repository at this point
Copy the full SHA 75c0373View commit details -
feat(pypi): add support for
v2branch in release workflow and strea……mline build/publish process using `uv` (#259) Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d313d33 - Browse repository at this point
Copy the full SHA d313d33View commit details -
fix(workflow): update PyPI release commands for clarity and efficiency
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7001341 - Browse repository at this point
Copy the full SHA 7001341View commit details
Commits on Jan 10, 2026
-
chore: simplified interface to read/write CE using AMQP bindings. (#262)
Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 91b092b - Browse repository at this point
Copy the full SHA 91b092bView commit details
Commits on Jan 12, 2026
-
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> * chore: make ruff fail on unused imports Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com> * chore: Move spec version constants to spec module 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>
Configuration menu - View commit details
-
Copy full SHA for 0752f6f - Browse repository at this point
Copy the full SHA 0752f6fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...v2