Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog

## Unreleased
## 5.0.0 (2026-11-28)

### Breaking change, proposed 5.0.0
### Breaking change

- Budget reservations require an opaque verified chain from the ledger's own configured verifier, matching TypeScript 9.0.0. Create the verifier with `create_authority_chain_verifier`, verify with `verify_authority_chain_for_budget`, and pass the successful result's `chain` to `reserve`. Record lists no longer qualify.
- The ledger checks registered handle identity, verifier identity and consumer time before arguments, footprint and idempotency. Refusals return `AUTHORITY_UNVERIFIED`, `AUTHORITY_CONTEXT_MISMATCH` or `AUTHORITY_STALE` without changing ledger state. Optional `now` and `max_verification_age_ms` control consumption time.
Expand All @@ -13,7 +13,7 @@
- The consumer clock runs under the ledger lock and must not call back into the same ledger.
- Verified records are `FrozenMapping` objects instead of `types.MappingProxyType`, whose comparison hands the backing `dict` to the other operand. The registry keeps records and context separate from the handle's public view, and consumption returns copies.
- Chain selection checks dictionary key types before its presentation lookup and reads a custom reserver's result inside the exception guard, so neither runs caller code unguarded.
- See [MIGRATION.md](MIGRATION.md). The package version remains unchanged pending a human release decision.
- See [MIGRATION.md](MIGRATION.md).

## 4.3.2 (2026-11-28)

Expand Down
3 changes: 1 addition & 2 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Proposed 5.0.0 API, verified chains for budget reservations
# 5.0.0, verified chains for budget reservations

This is a breaking API change matching the TypeScript 9.0.0 budget boundary.
The version in `pyproject.toml` remains 4.3.2 until a human decides the release.

Share one configured verifier between verification, chain selection and the ledger.
Replace record list arguments to `reserve` with a handle from successful verification.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ pytest tests/
Apache-2.0


Budget callers migrating to the proposed 5.0.0 API should follow
Budget callers migrating to the 5.0.0 API should follow
[MIGRATION.md](MIGRATION.md). Reservations now require a handle issued by the
same configured verifier used by the ledger.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "agent-passport-system"
version = "4.3.2"
version = "5.0.0"
description = "Python SDK for the Agent Passport System. Identity, delegation, governance, attribution, mutual authentication, evidentiary type safety, accountability receipts, Cognitive Attestation, Instruction Provenance. Byte parity with the TypeScript SDK."
readme = "README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/agent_passport/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Docs: https://agent-passport.org/llms-full.txt
"""

__version__ = "4.3.2"
__version__ = "5.0.0"

# Crypto
from .crypto import generate_key_pair, sign, verify, public_key_from_private
Expand Down
Loading