Releases: Universal-Commerce-Protocol/python-sdk
Releases · Universal-Commerce-Protocol/python-sdk
Release list
v2026-08-25
What's Changed
- fix: preprocess to expand properties dict instead of add as a node to … by @ryanmco in #86
- feat(models): update Python SDK schemas for UCP release 2026-08-25 by @segiodongo in #87
v2026-04-08 (rev. 6)
v2026-04-08 (rev. 5)
What's Changed
- fix: scope uniqueItems validators to declaring classes by @horaceewang-TT in #61
- ci: verify committed models match regeneration from the pinned UCP spec by @vishkaty in #62
- fix: preserve fragments when rewriting variant refs by @horaceewang-TT in #64
- chore: replace deprecated --allow-extra-fields codegen flag by @XiaolongZhang-TT in #65
- fix: enforce propertyNames on extra-allow generated models by @vishkaty in #66
- fix: handle transition-shaped ucp_request markers in eval_prop_inclusion by @FanouZeng-TT in #67
- fix: preserve conditional allOf branches by @FanouZeng-TT in #68
- fix: enforce conditional required fields in generated models by @FanouZeng-TT in #69
- fix: enforce additionalProperties:false in generated models by @FanouZeng-TT in #70
- fix: enforce conditional numeric bounds in generated models by @yingzhehu-TT in #71
- fix: enforce custom totals display text by @FanouZeng-TT in #75
- fix: allow equivalent metadata union members by @FanouZeng-TT in #76
- docs: run tests in the uv environment by @FanouZeng-TT in #77
- fix: check uv before model generation by @FanouZeng-TT in #78
- fix: resolve entity local references before inlining (#72) by @damaz91 in #79
v2026-04-08 (rev. 4)
What's Changed
- test: add schema preprocessing coverage and CI by @ShuoRen-TT in #54
- fix: reuse duplicate capability extension models by @ShuoRen-TT in #56
- fix: enforce minProperties on generated models by @vishkaty in #55
- fix(preprocess): derive UcpMetadata union from $defs to include catalog by @XiaolongZhang-TT in #58
- fix: enforce array contains/minContains/maxContains on generated models by @vishkaty in #57
- fix: enforce uniqueItems on generated array fields by @XiaolongZhang-TT in #59
v2026-04-08 (rev. 3)
What's Changed
- fix: preserve array-root request variants by @ShuoRen-TT in #52
Full Changelog: v2026-04-08-2...v2026-04-08-3
v2026-04-08 (rev. 2)
feat!: use type aliases instead of RootModel for root schemas (#51) * feat!: use type aliases instead of RootModel for root schemas Avoids generating classes with 'root' fields for schemas that don't define an object at the root (like Amount). Instead, they are generated as TypeAliasType using Annotated with Field for validation. This is a breaking change for any client code that was instantiating these root models as classes. * chore: bump version to 0.4.2 * style: fix end of file newlines in generated __init__.py files
v2026-04-08 (rev. 1)
SDK fixed post #29 merging
v2026-04-08
What's Changed
- docs: improve README with PyPI install, usage examples, and badges by @pjordan in #27
- fix: handle "optional" marker in ucp_request schema preprocessing by @xiaoxuanz-hub in #33
- feat: upgrade Python SDK to UCP v2026-04-08 by @segiodongo in #48
Full Changelog: v2026-01-23...v2026-04-08
v2026-01-23
chore: update sdk version to 0.3.0 (#25) * chore: update sdk version to 0.3 This version is larger than the previous one which was 0.1.0 * chore: update sdk version to 0.3.0
Release v2026-01-11
chore: Add PyPi release workflow (#2) Add a PyPi release GitHub Actions workflow that triggers a publish whenever a new GitHub release is created Signed-off-by: Costin Sin <cosin@google.com>