Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cofin/sdk-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: cloudevents/sdk-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 25 files changed
  • 7 contributors

Commits on Sep 20, 2023

  1. Pydantic v2 native implementation (cloudevents#219)

    * Create stub pydantic v2 implementation and parametrize tests for both implementations
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Add default values to optional fields
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Adapt pydantic v1 serializer/deserializer logic
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Extract CloudEvent fields non functional data in separate module
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Fix lint
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Add missing Copyright
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Add missing docstring
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Remove test leftover
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Remove dependency on HTTP CloudEvent implementation
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Remove failing test for unsupported scenario
    
    Fix typo
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Use SDK json serialization logic
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * No need to filter base64_data
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Use SDK json deserialization logic
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Fix imports
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Move docs after field declarations
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Add test for model_validate_json method
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Use fully qualified imports
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    * Ignore typing error
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    febus982 and pre-commit-ci[bot] authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    5a1063e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Governance docs per CE PR 1226 (cloudevents#221)

    Signed-off-by: Doug Davis <dug@microsoft.com>
    duglin authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    252efdb View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. [pre-commit.ci] pre-commit autoupdate (cloudevents#220)

    updates:
    - [github.com/psf/black: 23.7.0 → 23.9.1](psf/black@23.7.0...23.9.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
    pre-commit-ci[bot] and xSAVIKx authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    66dcabb View commit details
    Browse the repository at this point in the history
  2. Release/v1.10.0 (cloudevents#223)

    * Bump version
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Update changelog
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    ---------
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    xSAVIKx authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    d487303 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. add link to our security mailing list (cloudevents#226)

    Signed-off-by: Doug Davis <dug@microsoft.com>
    duglin authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    c5418b9 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. [pre-commit.ci] pre-commit autoupdate (cloudevents#224)

    updates:
    - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
    - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.0](pre-commit/mirrors-mypy@v1.5.1...v1.6.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    8ada7d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Fix Pydantic custom attributes (cloudevents#229)

    * Add custom extension attribute to the test set.
    
    Replicates bug test data from the cloudevents#228
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * use modern `super` syntax
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Fix `black` language version
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Fixes cloudevents#228
    
    Pydantic v2 .__dict__ has different behavior from what Pydantic v1 had and is not giving us `extra` fields anymore. On the other hand the iterator over the event gives us extras as well
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Add missing EOF
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Add Pydantic fix to the changelog
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Add links to the changelog
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Bump version
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Update Black and MyPy versions
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    ---------
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    xSAVIKx authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    21572af View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Update CI and tooling (cloudevents#236)

    * Update pre-commit hooks
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Add Python 3.12
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Drop python 3.7 and add 3.12 to TOX
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Migrate to latest action versions. Drop v3.7 from CI and add 3.12
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Migrate to Python 3.8
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Fix changelog message.
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    ---------
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    xSAVIKx authored May 26, 2024
    Configuration menu
    Copy the full SHA
    eedc61e View commit details
    Browse the repository at this point in the history
  2. Pydantic v2 (cloudevents#235)

    * Fixes examples when using Pydantic V2
    
    Signed-off-by: Fabio Batista <fabio@atelie.dev.br>
    
    * When type checking, uses the latest (V2) version of Pydantic
    
    Signed-off-by: Fabio Batista <fabio@atelie.dev.br>
    
    ---------
    
    Signed-off-by: Fabio Batista <fabio@atelie.dev.br>
    Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
    fabiob and xSAVIKx authored May 26, 2024
    Configuration menu
    Copy the full SHA
    11520e3 View commit details
    Browse the repository at this point in the history
  3. Modified content-type to abide by attribute naming conventions for cl…

    …oudevents (cloudevents#232)
    
    * fix: changed content-type to a valid attribute
    
    Signed-off-by: vivjd <vivjdeng@hotmail.com>
    
    * fix: changed headers back to content-type
    
    Signed-off-by: Vivian <118199397+vivjd@users.noreply.github.com>
    Signed-off-by: vivjd <vivjdeng@hotmail.com>
    
    * modified kafka test cases to match datacontenttype
    
    Signed-off-by: vivjd <vivjdeng@hotmail.com>
    
    * fix: updated kafka/conversion.py and test cases to check for valid attributes
    
    Signed-off-by: vivjd <vivjdeng@hotmail.com>
    
    ---------
    
    Signed-off-by: vivjd <vivjdeng@hotmail.com>
    Signed-off-by: Vivian <118199397+vivjd@users.noreply.github.com>
    Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
    vivjd and xSAVIKx authored May 26, 2024
    Configuration menu
    Copy the full SHA
    16441d7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Release/v1.11.0 (cloudevents#237)

    * Add missing changelog items
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    * Bump version
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    
    ---------
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    xSAVIKx authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c6c7e8c View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. fix kafka unmarshaller args typing and defaults (cloudevents#240)

    * fix kafka unmarshaller args typing and defaults
    
    Signed-off-by: Christoph Hösler <christoph.hoesler@inovex.de>
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    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>
    hoesler and pre-commit-ci[bot] authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    efca352 View commit details
    Browse the repository at this point in the history
  2. chore: release 1.11.1 (cloudevents#241)

    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    xSAVIKx authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    96cfaa6 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2024

  1. chpre: disable attestations while we're not using trusted publishing (c…

    …loudevents#243)
    
    Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
    xSAVIKx authored Nov 9, 2024
    Configuration menu
    Copy the full SHA
    c5645d8 View commit details
    Browse the repository at this point in the history
Loading