-
Notifications
You must be signed in to change notification settings - Fork 450
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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.2.7
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: a2aproject/a2a-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.8
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 24 files changed
- 4 contributors
Commits on Jun 11, 2025
-
feat: Add HTTP Headers to ServerCallContext for Improved Handler Acce…
…ss (#182) # Description This PR enhances our A2A framework by adding HTTP headers to the `ServerCallContext`, making them accessible via `context.state['headers']`. The call context is a key component of our request-handling system, designed to provide handlers with request-specific information—like user details and additional state—in a structured, modular way. This abstraction keeps our handlers clean and decoupled from the raw HTTP request. **Why Add Headers to the Context?** * **Essential Metadata:** HTTP headers carry critical information, such as authentication tokens, content types, and custom parameters, that handlers often need to process requests correctly. Including headers in the context ensures this data is easily accessible. * **Architectural Consistency:** We already use the call context to pass request-specific data (e.g., `state['auth']`). Adding headers follows this established pattern, keeping our design cohesive. * **Better Developer Experience:** Without this change, accessing headers in handlers requires extra effort, like refactoring or passing the full request object. With headers in `context.state['headers']`, developers can work more efficiently and with fewer errors. **Addressing Concerns:** * **Performance:** Headers are small, and their inclusion in the per-request context has a negligible performance impact. * **Security:** Headers may include sensitive data (e.g., tokens), but the call context already handles similar information securely. Handlers should follow existing best practices for data handling. This change makes our framework more intuitive and developer-friendly. I encourage the team to merge this PR to improve handler efficiency and maintain a consistent, modular architecture. - [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/google-a2a/a2a-python/blob/main/CONTRIBUTING.md). - [ ] 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. - [ ] Ensure the tests and linter pass (Run `nox -s format` from the repository root to format) - [ ] Appropriate docs were updated (if necessary)
Configuration menu - View commit details
-
Copy full SHA for d5e5f5f - Browse repository at this point
Copy the full SHA d5e5f5fView commit details
Commits on Jun 12, 2025
-
chore(test): Increase test coverage across multiple modules (#169)
Used jules.google.com to increase Test Coverage.
Configuration menu - View commit details
-
Copy full SHA for ea4559b - Browse repository at this point
Copy the full SHA ea4559bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae1c31c - Browse repository at this point
Copy the full SHA ae1c31cView commit details -
feat: Update A2A types from specification 🤖 (#191)
This PR updates `src/a2a/types.py` based on the latest `specification/json/a2a.json` from [google-a2a/A2A](a2aproject/A2A@f506881).
Configuration menu - View commit details
-
Copy full SHA for 174230b - Browse repository at this point
Copy the full SHA 174230bView commit details -
chore(main): release 0.2.8 (#183)
🤖 I have created a release *beep* *boop* --- ## [0.2.8](v0.2.7...v0.2.8) (2025-06-12) ### Features * Add HTTP Headers to ServerCallContext for Improved Handler Access ([#182](#182)) ([d5e5f5f](d5e5f5f)) * Update A2A types from specification 🤖 ([#191](#191)) ([174230b](174230b)) ### Bug Fixes * Add `protobuf==6.31.1` to dependencies ([#189](#189)) ([ae1c31c](ae1c31c)), closes [#185](#185) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4767a95 - Browse repository at this point
Copy the full SHA 4767a95View commit details
Loading
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 v0.2.7...v0.2.8