Skip to content

chore(sdk-python): release amw-sdk 0.5.1 - #399

Merged
PetrefiedThunder merged 2 commits into
mainfrom
cursor/bump-python-sdk-0.5.1-ae96
Nov 17, 2026
Merged

PetrefiedThunder merged 2 commits into
mainfrom
cursor/bump-python-sdk-0.5.1-ae96

Conversation

@PetrefiedThunder

@PetrefiedThunder PetrefiedThunder commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Bump amw-sdk from 0.5.0 to 0.5.1. This version-bump-only release carries the receipt verification timezone fix from PR #368 (commit 4bf3fd4, closes #358).

Changes

  • Updated version to 0.5.1 in:
    • pyproject.toml
    • src/b2a_sdk/__init__.py
    • src/b2a_sdk/client.py (User-Agent header)
    • src/b2a_sdk/x402.py (User-Agent header)
    • tests/test_trust_client.py (version assertion)
  • Added CHANGELOG.md entry documenting the fix

Fix Summary

The 0.5.1 release includes the fix from PR #368 (commit 4bf3fd4) where Receipt.verify() returned MISMATCH on genuine receipts when created_at lacked a timezone. The verifier now normalizes timestamps before comparison.

Verification

✅ All version declarations updated consistently
✅ .github/scripts/check_python_release.py passes for RELEASE_INPUT_VERSION=0.5.1
✅ Distribution builds successfully (wheel + sdist)

Ready for review.

Open in Web Open in Cursor 

Note

Low Risk
Version and discovery metadata updates only; no runtime logic changes in this diff.

Reviewed by Cursor Bugbot for commit 447f98d. Bugbot is set up for automated code reviews on this repo. Configure here.

Update version from 0.5.0 to 0.5.1 in:
- pyproject.toml
- src/b2a_sdk/__init__.py
- src/b2a_sdk/client.py User-Agent
- src/b2a_sdk/x402.py User-Agent
- tests/test_trust_client.py version assertion

Add CHANGELOG.md entry for 0.5.1 documenting the receipt verification
timezone fix from PR #368 (commit 4bf3fd4, closes #358).

This is a version-bump-only change carrying the already-merged fix.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Christopher  <PetrefiedThunder@users.noreply.github.com>
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agent-middleware-web Ready Ready Preview Nov 17, 2026 5:15am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T05:09:18.485261Z ac407cf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

No actionable comments were generated in the recent review.

Walkthrough

The Python package version changes from 0.5.0 to 0.5.1 in its metadata and exported version. Both client User-Agent values and the discovery test expectation change to 0.5.1. The changelog documents a receipt-verification timestamp issue and states that timestamp normalization fixes it.

Estimated code review effort: 2 (Simple) | ~8 minutes

Fixed issue severity: <fixed_issue_severity>Medium</fixed_issue_severity>

Merge Risk: Minimal · previous review ac407

This release bumps the Python SDK to 0.5.1 and documents an already-merged receipt-verification fix. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: a release bump of the amw-sdk Python package to 0.5.1. The raw summary confirms the version bump across pyproject.toml, init.py, the User-Agent headers, and a test asse…
Description check Passed The description states the release bumps amw-sdk from 0.5.0 to 0.5.1 and carries the receipt verification timezone fix from PR #368. It lists the files changed (pyproject.toml, init.py, client.py,…
Linked Issues check Passed The only directly linked issue, #358, is closed and completed. The issue text marks it as historical context only and not a requirement for this pull request. Per the assessment rules, no active direc…
Out of Scope Changes check Passed The whole-PR change set, per the summary, contains only release-related changes: version updates to 0.5.1 in pyproject.toml, src/b2a_sdk/init.py, the User-Agent headers in src/b2a_sdk/client.py an…
Full details: Title check

Explanation

The title names the change: a release bump of the amw-sdk Python package to 0.5.1. The raw summary confirms the version bump across pyproject.toml, init.py, the User-Agent headers, and a test assertion, plus a CHANGELOG entry. The title is specific and matches the main change, though it does not mention the timezone fix carried in the release.

Full details: Description check

Explanation

The description states the release bumps amw-sdk from 0.5.0 to 0.5.1 and carries the receipt verification timezone fix from PR #368. It lists the files changed (pyproject.toml, init.py, client.py, x402.py, test_trust_client.py, CHANGELOG.md) and gives verification steps. This matches the raw summary and is clearly related to the changeset.

Full details: Linked Issues check

Explanation

The only directly linked issue, #358, is closed and completed. The issue text marks it as historical context only and not a requirement for this pull request. Per the assessment rules, no active directly linked targets remain, so no linked-issue coding requirements apply. The PR merge base is 4bf3fd4, the commit the description names as the fix, so the fix is already present at the base. This pull request does not need to reimplement it.

Full details: Out of Scope Changes check

Explanation

The whole-PR change set, per the summary, contains only release-related changes: version updates to 0.5.1 in pyproject.toml, src/b2a_sdk/init.py, the User-Agent headers in src/b2a_sdk/client.py and src/b2a_sdk/x402.py, a version assertion in tests/test_trust_client.py, and a CHANGELOG.md entry under Fixed for the timezone fix. Each change supports the 0.5.1 release. The changelog entry describes behavior that the base already contains, so it does not add unrelated code. No change was found that is unconnected to the release. Limitation: the assessment relies on the summary; I did not re-read the hunks to confirm that no other edits exist.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 4bf3fd4 and ac407cf.

Files selected for processing: 6

  • sdk/python/CHANGELOG.md
  • sdk/python/pyproject.toml
  • sdk/python/src/b2a_sdk/__init__.py
  • sdk/python/src/b2a_sdk/client.py
  • sdk/python/src/b2a_sdk/x402.py
  • sdk/python/tests/test_trust_client.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Update gateway's well-known endpoint and test comment to reflect the
SDK version bump from 0.5.0 to 0.5.1. This fixes the failing
test_wedge_honesty.py::test_agent_json_sdk_integrations_are_honest test
which verifies the gateway's advertised SDK version matches pyproject.toml.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Christopher  <PetrefiedThunder@users.noreply.github.com>
@PetrefiedThunder
PetrefiedThunder merged commit 6a1f397 into main Nov 17, 2026
54 checks passed
@PetrefiedThunder
PetrefiedThunder deleted the cursor/bump-python-sdk-0.5.1-ae96 branch November 17, 2026 05:22

This branch was successfully deployed

1 active deployment
Preview — 447f98d5 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python SDK: Receipt.verify() returns MISMATCH for genuine receipts, so the README's short tool call example fails

3 participants