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: a2aproject/a2a-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.21
Choose a base ref
...
head repository: a2aproject/a2a-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.22
Choose a head ref
  • 5 commits
  • 11 files changed
  • 5 contributors

Commits on Dec 16, 2025

  1. feat: Add custom ID generators to SimpleRequestContextBuilder (#594)

    # Description
    
    This change allows passing custom `task_id_generator` and
    `context_id_generator` functions to the `SimpleRequestContextBuilder`.
    
    This provides flexibility in how task and context IDs are generated,
    defaulting to the previous behavior if no generators are provided.
    
    Thank you for opening a Pull Request!
    Before submitting your PR, there are a few things you can do to make
    sure it goes smoothly:
    
    - [x] Follow the [`CONTRIBUTING`
    Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md).
    - [x] Make your Pull Request title in the
    <https://www.conventionalcommits.org/> specification.
    - Important Prefixes for
    [release-please](https://github.com/googleapis/release-please):
    - `fix:` which represents bug fixes, and correlates to a
    [SemVer](https://semver.org/) patch.
    - `feat:` represents a new feature, and correlates to a SemVer minor.
    - `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking
    change (indicated by the `!`) and will result in a SemVer major.
    - [x] Ensure the tests and linter pass (Run `bash scripts/format.sh`
    from the repository root to format)
    - [x] Appropriate docs were updated (if necessary)
    
    Fixes #<issue_number_goes_here> 🦕
    chenweiyang0204 authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    04bcafc View commit details
    Browse the repository at this point in the history
  2. test: adding 2 additional tests to user.py (#595)

    # Description
    
    Adding 2 more tests to user.py to improve build code coverage
    
    - [X] Follow the [`CONTRIBUTING`
    Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md).
    - [X] Make your Pull Request title in the
    <https://www.conventionalcommits.org/> specification.
    - [X] Ensure the tests and linter pass (Run `bash scripts/format.sh`
    from the repository root to format)
    - [N/A] Appropriate docs were updated (if necessary)
    
    Fixes #<issue_number_goes_here> 🦕
    
    N/A
    
    ---------
    
    Co-authored-by: Lukasz Kawka <luk.kawka@gmail.com>
    didier-durand and lkawka authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    e12ca42 View commit details
    Browse the repository at this point in the history
  3. test: adding 21 tests for client/card_resolver.py (#592)

    # Description
    
    Adding 21 tests for client/card_resolver.py
    
    They all pass:
    
    ```
    ========================= test session starts ==============================
    collecting ... collected 21 items
    
    tests/client/test_card_resolver.py::TestA2ACardResolverInit::test_init_with_defaults PASSED [  4%]
    tests/client/test_card_resolver.py::TestA2ACardResolverInit::test_init_with_custom_path PASSED [  9%]
    tests/client/test_card_resolver.py::TestA2ACardResolverInit::test_init_strips_leading_slash_from_agent_card_path PASSED [ 14%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_success_default_path PASSED [ 19%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_success_custom_path PASSED [ 23%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_strips_leading_slash_from_relative_path PASSED [ 28%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_with_http_kwargs PASSED [ 33%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_root_path PASSED [ 38%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_http_status_error PASSED [ 42%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_json_decode_error PASSED [ 47%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_request_error PASSED [ 52%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_validation_error PASSED [ 57%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_logs_success PASSED [ 61%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_none_relative_path PASSED [ 66%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_empty_string_relative_path PASSED [ 71%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_different_status_codes[400] PASSED [ 76%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_different_status_codes[401] PASSED [ 80%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_different_status_codes[403] PASSED [ 85%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_different_status_codes[500] PASSED [ 90%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_different_status_codes[502] PASSED [ 95%]
    tests/client/test_card_resolver.py::TestGetAgentCard::test_get_agent_card_returns_agent_card_instance PASSED [100%]
    
    ======================== 21 passed, 2 warnings in 0.11s ========================
    ```
    
    - [X] Follow the [`CONTRIBUTING`
    Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md).
    - [X] Make your Pull Request title in the
    <https://www.conventionalcommits.org/> specification.
    - [X] Ensure the tests and linter pass (Run `bash scripts/format.sh`
    from the repository root to format)
    - [N/A ] Appropriate docs were updated (if necessary)
    
    Fixes #<issue_number_goes_here> 🦕
    
    N/A
    
    ---------
    
    Co-authored-by: Lukasz Kawka <luk.kawka@gmail.com>
    didier-durand and lkawka authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    3deecc4 View commit details
    Browse the repository at this point in the history
  4. refactor: Move agent card signature verification into `A2ACardResolve…

    …r` (#593)
    
    # Description
    
    Previously, the `JSON-RPC` and `REST` protocols verified agent card
    signatures after calling `A2ACardResolver.get_agent_card`. This change
    moves the signature verification logic inside the
    `A2ACardResolver.get_agent_card` method and adds a unit test to test_card_resolver.py
    
    
    Thank you for opening a Pull Request!
    Before submitting your PR, there are a few things you can do to make
    sure it goes smoothly:
    
    - [x] Follow the [`CONTRIBUTING`
    Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md).
    - [x] Make your Pull Request title in the
    <https://www.conventionalcommits.org/> specification.
    - Important Prefixes for
    [release-please](https://github.com/googleapis/release-please):
    - `fix:` which represents bug fixes, and correlates to a
    [SemVer](https://semver.org/) patch.
    - `feat:` represents a new feature, and correlates to a SemVer minor.
    - `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking
    change (indicated by the `!`) and will result in a SemVer major.
    - [x] Ensure the tests and linter pass (Run `bash scripts/format.sh`
    from the repository root to format)
    - [x] Appropriate docs were updated (if necessary)
    sokoliva authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    6fa6a6c View commit details
    Browse the repository at this point in the history
  5. chore(main): release 0.3.22 (#599)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [0.3.22](v0.3.21...v0.3.22)
    (2025-12-16)
    
    
    ### Features
    
    * Add custom ID generators to `SimpleRequestContextBuilder`
    ([#594](#594))
    ([04bcafc](04bcafc))
    
    
    ### Code Refactoring
    
    * Move agent card signature verification into `A2ACardResolver`
    ([6fa6a6c](6fa6a6c))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    a2a-bot authored Dec 16, 2025
    Configuration menu
    Copy the full SHA
    86c6759 View commit details
    Browse the repository at this point in the history
Loading