-
Notifications
You must be signed in to change notification settings - Fork 470
Comparing changes
Open a pull request
base repository: a2aproject/a2a-python
base: v0.3.8
head repository: a2aproject/a2a-python
compare: v0.3.9
- 6 commits
- 16 files changed
- 6 contributors
Commits on Oct 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 63a8a18 - Browse repository at this point
Copy the full SHA 63a8a18View commit details -
docs: Fix Docstring formatting for code samples (#492)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dca66c3 - Browse repository at this point
Copy the full SHA dca66c3View commit details
Commits on Oct 9, 2025
-
feat: custom ID generators (#490)
# Description This PR introduces a new feature allowing server maintainers to provide custom ID generators for system-created objects. I identified 2 key areas requiring ID generation: - [`ResourceContext`](https://github.com/a2aproject/a2a-python/blob/19091262d07b5226becdb177ed4d780b4befb5f4/src/a2a/server/agent_execution/context.py): Manages the creation of new task and context IDs when not supplied by the client. - [`TaskUpdater`](https://github.com/a2aproject/a2a-python/blob/19091262d07b5226becdb177ed4d780b4befb5f4/src/a2a/server/tasks/task_updater.py): Helper responsible for generating IDs for new artifacts and messages during task updates. To address this, a new abstract class, `IDGenerator`, has been introduced. This class enables the creation of specific ID generators for different resource types, which can then be integrated into the relevant SDK components. Alternative approaches were considered: 1. Using a single `IDGenerator` instance for all resource types, with resource type information passed to the generate method. This option was discarded due to potential coupling issues and increased maintenance complexity. 1. Implementing an additional `IDGeneratorRegistry` to manage per-resource-type generators via a `get_id_generator(resource_type)` method. While this would simplify object passing, it introduces additional indirection and overall system complexity. # Prerequisites - [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 #378 🦕 --------- Co-authored-by: lkawka <lkawka@google.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 051ab20 - Browse repository at this point
Copy the full SHA 051ab20View commit details
Commits on Oct 15, 2025
-
fix(client):
A2ACardResolver.get_agent_cardwill auto-populate with…… `agent_card_path` when `relative_card_path` is empty (#508) - Previously, it would only override with the default path when `relative_card_path` is `None` - Developer Experience Improvement when `urlparse` or similar libraries are used.
Configuration menu - View commit details
-
Copy full SHA for ba24ead - Browse repository at this point
Copy the full SHA ba24eadView commit details -
fix: apply
history_lengthformessage/sendrequests (#498)# Description changes to honor `historyLength` param passed for `message/send` requests Fixes #497 🦕 Release-As: 0.3.9
Configuration menu - View commit details
-
Copy full SHA for a49f94e - Browse repository at this point
Copy the full SHA a49f94eView commit details -
chore(main): release 0.3.9 (#493)
🤖 I have created a release *beep* *boop* --- ## [0.3.9](v0.3.8...v0.3.9) (2025-10-15) ### Features * custom ID generators ([051ab20](051ab20)) ### Bug Fixes * apply `history_length` for `message/send` requests ([#498](#498)) ([a49f94e](a49f94e)) * **client:** `A2ACardResolver.get_agent_card` will auto-populate with `agent_card_path` when `relative_card_path` is empty ([#508](#508)) ([ba24ead](ba24ead)) ### Documentation * Fix Docstring formatting for code samples ([#492](#492)) ([dca66c3](dca66c3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Configuration menu - View commit details
-
Copy full SHA for 317df0a - Browse repository at this point
Copy the full SHA 317df0aView 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 v0.3.8...v0.3.9