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.5
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.6
Choose a head ref
  • 7 commits
  • 12 files changed
  • 7 contributors

Commits on Sep 9, 2025

  1. feat: add JSON-RPC method to ServerCallContext.state (#463)

    # Improvement
    
    SDK users sometimes need to know which JSON-RPC method is being
    processed to adjust their implementation, e.g.:
    * If the method is `message/send`, they may want to use
    `invoke()`/`run()` when calling their LLM API, and
    `stream()`/`run_streamed()` for `message/stream`.
    
    # Implementation
    
    Added a `method` field to `ServerCallContext.state`, similar to
    `headers`.
    
    # Tests
    
    Added a small test to ensure that method parsing is correct.
    
    
    Fixes #451
    ovidiutaralesca authored Sep 9, 2025
    Configuration menu
    Copy the full SHA
    d62df7a View commit details
    Browse the repository at this point in the history
  2. feat: Add proto conversion utilities (#420)

    - Adds `make_dict_serializable` to prepare dictionaries for proto
    conversion.
    - Adds `normalize_large_integers_to_strings` to convert large integers
    to strings, preventing precision loss in JS clients.
    - Adds `parse_string_integers_in_dict` to convert the integer strings
    back to `int`.
    - Includes comprehensive unit tests.
    
    ---------
    
    Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
    Co-authored-by: Holt Skinner <holtskinner@google.com>
    3 people authored Sep 9, 2025
    Configuration menu
    Copy the full SHA
    80fc33a View commit details
    Browse the repository at this point in the history
  3. chore: release 0.3.6

    Release-As: 0.3.6
    holtskinner committed Sep 9, 2025
    Configuration menu
    Copy the full SHA
    acc9d3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eeb8344 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1cf8185 View commit details
    Browse the repository at this point in the history
  6. test: improve test coverage for grpc_client.py (#306)

    # Description
    
    Refactored `tests/client/test_grpc_client.py` and added test cases to
    improve coverage for `grpc_client.py`.
    
    - Improved test coverage for `src/a2a/client/grpc_client.py`: 41% → 98%
    - Fixed incorrect field checks on the response object in
    `grpc_client::send_message`
    - Fixed missing `await` call at the correct location in
    `grpc_client::send_message_streaming`
    - Defined valid `taskId` format (`[a-zA-Z0-9_.-]+`)
    
    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 `nox -s format` from the
    repository root to format)
    - [x] Appropriate docs were updated (if necessary)
    
    Fixes N/A 🦕
    
    ---------
    
    Signed-off-by: Shingo OKAWA <shingo.okawa.g.h.c@gmail.com>
    Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    Co-authored-by: Holt Skinner <holtskinner@google.com>
    4 people authored Sep 9, 2025
    Configuration menu
    Copy the full SHA
    b2e3a29 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2025

  1. chore(main): release 0.3.6 (#466)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [0.3.6](v0.3.5...v0.3.6)
    (2025-09-09)
    
    
    ### Features
    
    * add JSON-RPC `method` to `ServerCallContext.state`
    ([d62df7a](d62df7a))
    * **gRPC:** Add proto conversion utilities
    ([80fc33a](80fc33a))
    
    
    ### Miscellaneous Chores
    
    * release 0.3.6
    ([acc9d3b](acc9d3b))
    
    ---
    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 Sep 17, 2025
    Configuration menu
    Copy the full SHA
    5ec0788 View commit details
    Browse the repository at this point in the history
Loading