Repository navigation
Comparing changes
Open a pull request
base repository: adcontextprotocol/adcp-client-python
base: v3.8.0
head repository: adcontextprotocol/adcp-client-python
compare: v3.9.0
- 9 commits
- 92 files changed
- 5 contributors
Commits on Mar 11, 2026
-
fix: use default JSON separators for webhook HMAC signing
get_adcp_signed_headers_for_webhook() was signing over compact JSON (no spaces) but callers send the body via json= kwarg which uses default separators (with spaces), causing HMAC verification failures on receivers. Aligns with JS reference implementation's JSON.stringify(). Fixes #151
Configuration menu - View commit details
-
Copy full SHA for 0dd495f - Browse repository at this point
Copy the full SHA 0dd495fView commit details -
fix: add raw_body support for verification and use Unix timestamps
Addresses PR review feedback: - _verify_webhook_signature now accepts optional raw_body param to avoid re-serializing the payload, preventing cross-language JSON mismatches - Timestamp format changed from ISO 8601 to Unix seconds to match the AdCP spec and JS reference implementation - Added test for raw_body signature verification path Fixes #151
Configuration menu - View commit details
-
Copy full SHA for 4a663e5 - Browse repository at this point
Copy the full SHA 4a663e5View commit details -
feat: add RootModel __getattr__ proxy and minimal sales agent example (…
…#150) RootModel union types (PricingOption, Deployment, etc.) now proxy attribute access to the wrapped inner type, so `po.pricing_option_id` works directly without needing `.root`. Added as a post-generation fix that survives schema regeneration. Also adds examples/minimal_sales_agent.py — a single-file FastMCP server implementing the AdCP:Buy flow (capabilities → products → media buy) for a fictional local news publisher with 4 products. Closes #145 Closes #148 Co-authored-by: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1c3990 - Browse repository at this point
Copy the full SHA f1c3990View commit details -
test: validate webhook HMAC against official AdCP test vectors
Add TestHMACTestVectors class with parametrized tests against all 10 official test vectors from adcontextprotocol/adcp PR #1383. Validates signing, verification via raw_body, and rejection of tampered signatures.
Configuration menu - View commit details
-
Copy full SHA for 72f8f4b - Browse repository at this point
Copy the full SHA 72f8f4bView commit details -
Merge pull request #152 from adcontextprotocol/EmmaLouise2018/fix-iss…
…ue-151 fix: use default JSON separators for webhook HMAC signing
Configuration menu - View commit details
-
Copy full SHA for 2223f6e - Browse repository at this point
Copy the full SHA 2223f6eView commit details
Commits on Mar 13, 2026
-
fix: set AdCPBaseModel extra='ignore' and remove obsolete generate_mo…
…dels.py (#157) * fix: default AdCPBaseModel to extra='forbid' per schema semantics Types without explicit additionalProperties in their JSON schema now reject unknown fields instead of silently accepting them. Types whose schemas set additionalProperties: true continue to use extra='allow' via their generated model_config override. Also removes the obsolete generate_models.py script (replaced by generate_types.py which already respects per-schema additionalProperties). Closes #153 Co-Authored-By: Claude Opus 4.6 <[email protected]> * fix: address review feedback on extra policy tests - Add config sanity assertion (test_base_model_config_is_forbid) - Replace synthetic test with test_forbid_inherited_without_explicit_config - Handle both quote styles for extra='allow' / extra="allow" - Document _schema_allows_extra traversal approach - Extract _load_schemas helper to reduce duplication Co-Authored-By: Claude Opus 4.6 <[email protected]> * fix: use extra='ignore' instead of extra='forbid' per review feedback Constantine correctly pointed out that 'ignore' is a better default for a protocol library: it provides forward compatibility when servers return fields from newer spec versions, without crashing consumers. Consumers who want strict validation can opt in with extra='forbid' on their subclasses (the dev/prod pattern salesagent already uses). Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21077d9 - Browse repository at this point
Copy the full SHA 21077d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fd7b92 - Browse repository at this point
Copy the full SHA 8fd7b92View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5562c1 - Browse repository at this point
Copy the full SHA e5562c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35740b3 - Browse repository at this point
Copy the full SHA 35740b3View 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 v3.8.0...v3.9.0