Skip to content

Commit ea41354

Browse files
release: Python SDK v6.7.0 (#158)
* chore(release): Python SDK v6.7.0 Minor release. Wire-shape canonicalization sweep — purely additive, new fields default to None, deprecated aliases preserved. Bumps: - pyproject.toml + axonflow/_version.py: 6.6.2 -> 6.7.0 - CHANGELOG [Unreleased] -> [6.7.0] - 2026-04-25 Wire-shape baseline regenerated against community SHA 10d44eb4 (post platform v7.4.2 spec corrections). DynamicPolicyInfo entry auto-resolves (spec was wrong, SDK was correct). Regen also surfaces 11 newly-discovered drift entries from the v6.7 sweep that weren't captured in the earlier baseline — these become tracked debt for future burndown per the CONTRIBUTING.md baseline-burndown policy. Net 26 -> 37. Coordinated v6 alignment release: ships same day as TypeScript v6.0.0, Java v6.0.0, Go v5.7.0. * ci: retrigger wire-shape gate with spec-pin-bump label * fix(wire-shape): regenerate baseline against the correct local axonflow The earlier regen picked up a stale editable axonflow 6.3.0 install at /opt/homebrew/lib/python3.11/site-packages/__editable__.axonflow-6.3.0.pth that points at a sibling clone, not this worktree. When invoked as "python scripts/refresh.py", sys.path[0] is scripts/ which has no axonflow — so the import falls through to the stale editable install, discovers an old MCPCheckInputRequest with 4 fields, and writes ghost drift into the baseline. CI didn't repro because CI does pip install -e . in the PR checkout itself. After pip install -e . in this worktree, axonflow resolves to the v6.7 code in this branch, the regen produces the correct 25-entry baseline, and only DynamicPolicyInfo auto-resolves vs prior baseline — matching the auto-resolution shape of TS/Go/Java. Net 26 -> 25. Lesson: developer-run regen scripts that import the SDK should use a fresh editable install or fail loudly when sys.modules['axonflow'] is not the worktree they were invoked against. Filing as follow-up.
1 parent 48c7c85 commit ea41354

4 files changed

Lines changed: 7 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
## [Unreleased]
1313

14+
## [6.7.0] - 2026-04-25 — Wire-shape canonicalization
15+
16+
Minor release. Purely additive — new fields default to `None`, deprecated aliases preserved for compile-time compat. Coordinated with TypeScript v6.0.0 / Java v6.0.0 / Go v5.7.0 SDK releases. The wire-shape contract gate's pinned OpenAPI spec SHA bumps with the platform v7.4.2 spec corrections; one baseline drift entry (`DynamicPolicyInfo`) auto-resolves.
17+
1418
### Added
1519

1620
- **`WebhookSubscription.secret`** — HMAC-SHA256 signing key now exposed on the response from `create_webhook`. Required to verify the `X-AxonFlow-Signature` header on inbound webhook deliveries; without it, callers couldn't validate payload authenticity. Also adds `org_id` and `tenant_id` (ownership scoping).

axonflow/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Single source of truth for the AxonFlow SDK version."""
22

3-
__version__ = "6.6.2"
3+
__version__ = "6.7.0"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "axonflow"
7-
version = "6.6.2"
7+
version = "6.7.0"
88
description = "AxonFlow Python SDK - Enterprise AI Governance in 3 Lines of Code"
99
readme = "README.md"
1010
license = {text = "MIT"}

tests/fixtures/wire_shape_baseline.json

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
]
178178
}
179179
},
180-
"openapi_specs_sha": "bf1ca22ae4bee37dbccc91aee7e03c805f73f853",
180+
"openapi_specs_sha": "10d44eb4585a7b5321d7286b354ff8b43b8c6a57",
181181
"per_model_drift": {
182182
"AuditLogEntry": {
183183
"sdk_only": [
@@ -248,23 +248,6 @@
248248
],
249249
"spec_only": []
250250
},
251-
"DynamicPolicyInfo": {
252-
"sdk_only": [
253-
"orchestrator_reachable",
254-
"policies_evaluated",
255-
"processing_time_ms"
256-
],
257-
"spec_only": [
258-
"block_reason",
259-
"blocked",
260-
"enabled",
261-
"error",
262-
"evaluated",
263-
"evaluation_time_ms",
264-
"policies_checked",
265-
"policies_matched"
266-
]
267-
},
268251
"DynamicPolicyMatch": {
269252
"sdk_only": [
270253
"reason"

0 commit comments

Comments
 (0)