Skip to content

chore(main): release python 2.0.0 - #538

Merged
Seth Juarez (sethjuarez) merged 1 commit into
mainfrom
release-please--branches--main--components--python
Sep 10, 2026
Merged

Seth Juarez (sethjuarez) merged 1 commit into
mainfrom
release-please--branches--main--components--python

Conversation

@sethjuarez

Copy link
Copy Markdown
Member

🤖 I have created a release beep boop

2.0.0 (2026-09-10)

Features

  • §8.8 Structured Result Casting for Python and TypeScript (f0cd82c)
  • add agent loop resilience (§9.8, §9.9, §9.10) (d6df11b)
  • add bind_tools validation bridge across all runtimes (0393d56)
  • add context compaction across all runtimes + Rust DX improvements (3490cbb)
  • add context compaction across all runtimes + Rust DX improvements (#345) (3490cbb)
  • agent loop resilience, structured output fix, Entra ID tests, mock pipeline tests (6bfdfee)
  • emitter: add @factory and @helper decorators with cross-runtime generation (0a33ad9)
  • emitter: add enum support for TypeSpec string-literal unions (94dd8b9)
  • emitter: add nested factory methods + unified import model (Phase 3) (1f4ff15)
  • emitter: Declaration IR, language-agnostic lowering, Python emitter, rename to prompty-emitter (Phase 4) (a4e557e)
  • emitter: E1b/c/d - group-aware folder emission across all 5 runtimes (e200966)
  • emitter: Phase 1a — decorator renames, FieldRead IR, new decorators (0f5b83e)
  • emitter: wire expression IR into all 5 language emitters (Phase 2) (b567847)
  • engine: promote generated ResumeContext into the live resume path (3b46e09)
  • fix remaining issues — nullable protocols, C# async migration, Rust/Go helpers (9be0745)
  • implement tool binding injection in Python and TypeScript (8cb00c8)
  • memory: promote agent memory into canonical prompty (d551391)
  • memory: promote tiered agent memory into canonical prompty (a92d404)
  • model: add reasoningEffort to ModelOptions (fc07e78)
  • model: add Typra-owned ModelLister discovery protocol for OpenAI/Anthropic/Foundry (fe3133a)
  • model: service-drill conformance vector on the callable seam (d8cb188)
  • promote spec.md types to TypeSpec (pipeline, usage, events, tools) (430fb20)
  • Prompty v2 rebuild + Typra 2.0.2 model regen (7 runtimes green) (5360d90)
  • Prompty v2 rebuild + Typra 2.0.2 model regen (7 runtimes green) (72f3b53)
  • PromptyTool support in Responses API + wire projection tests (6f9cdec)
  • protocol emission via @protocol decorator + strict toWire() fix (5b3a73e)
  • protocols: make generated protocols canonical with optional/sync support (a839628)
  • python: add live provider capability guard reference (96e3c3b)
  • python: agent loop extensions and tool decorator (ea88e67)
  • python: graduate Python runtime to 2.0.0 (#535) (fde5e64)
  • python: guard deprecated sampling params, translate reasoningEffort (09f5ce2)
  • python: live integration plumbing for real Entra-auth endpoints (c50c3cc)
  • python: provider-agnostic run + runTurn engines; remove all vector waivers (c039272)
  • python: support image/file/audio rich-kind nonces in pipeline (5c188c7)
  • python: wire ToolResult through pipeline, remove mode from PromptyToolHandler (2a99e24)
  • regen model tree on @typra/emitter 2.1.6 + retire dispatch doubles (#511) (e769acc)
  • regen model tree on @typra/emitter 2.1.6 + retire dispatch doubles (#511) (c736092)
  • remove all Nunjucks templates, replace with typed TypeScript emitters (58b54d0)
  • replace hand-written GuardrailResult with generated model type across all runtimes (c1a905c)
  • schema: add live invocation contracts (81cea0d)
  • schema: add live turn-engine data contracts + run identity to TypeSpec (10f35ee)
  • schema: migrate all 10 conformance stages to TypeSpec @vector single source of truth (6dda877)
  • two-layer tool registry (spec §11.2) + pipeline dispatch wiring (3cd42df)
  • wire format toWire() generation via knownAs decorator (8f96e23)
  • wire ToolResult through Rust runtime + remove PromptyTool mode (6dfb1df)

Bug Fixes

  • §13 agent loop gaps — first-turn ordering, guardrail rewrite, output guardrail, sync parallel (cd0e2a4)
  • add connection kind guards + improve Foundry empty-endpoint error (ab96b85)
  • align Foundry deployment discovery and inference (d096266)
  • audit cleanup — use production code in all spec vector tests (364f423)
  • C# emitter string escaping, Message.role default, and Metadata null safety (bf02093)
  • csharp: disable test parallelism to prevent registry race (1f9aded)
  • emitter bugs — Python save_parts serialization, test string escaping, stale Rust tests (2a205de)
  • emitter: strip trailing whitespace, fix C# string bug, format test output (e2e7173)
  • format generated Python/C# code for CI compliance (cb9760e)
  • openai: preserve strict Responses nullability (59aa142)
  • PromptyTool robustness — circular refs, empty inputs, path guard, test quality (8b6caa4)
  • providers: extend union/nullability wire guard to c#, python, typescript (a63c805)
  • Python emitter detects factory/field name collisions and prefixes with create_ (bbf8550)
  • Python emitter snake_case + PromptyTool mode field + test cleanup (2367405)
  • python: eliminate ReDoS in chat parser role-boundary regex (#457) (c9299f1)
  • re-emit model files from TypeSpec, fix scalar collection loader (aeb9466)
  • recursive array/object JSON Schema in tool params across all runtimes (#332) (40aad82)
  • reference index slug so /reference/ link resolves (f318f1d)
  • remove backward-compat aliases for execute (clean break at alpha) (bfdaef5)
  • rewrite spec vector tests to exercise production code (6f2bde6)
  • rust: unwrap structured output in invoke() + add mock pipeline tests (eceaeaa)
  • salvage nested strict-mode (#441) and Anthropic transport hardening (#443) onto 0.9.0 (#481) (345f767)
  • schema: complete union nullability release (fdbc4ac)
  • schema: repair mojibake in agent conformance vectors (6735f33)
  • schema: support nullable union properties (1f8e3d1)
  • schema: trim trailing whitespace in agent instructions sample (00b8052)
  • security: restrict file reference resolution to allowed roots (88ac994)
  • structured output integration tests + python formatting (1d97743)
  • token streaming events and TS dead code cleanup (aa17360)
  • TS emitter loadParts guard for types without name property (2fe50f2)
  • TS wildcard fallback + 26 TS tool-dispatch tests + lint cleanup (431b52d)
  • use annotated tags in all release scripts (32da0ff)
  • use ruff format in Python emitter driver (matches CI) (9f21dab)
  • use snake_case attribute names in foundry executor (d19aa0a)

Performance Improvements

  • fix to_dict MagicMock recursion — 10min tests → 11s (c1fa82e)

Reverts

  • model: back service-drill vector out of the conformance rail (b150871)

This PR was generated with Release Please. See documentation.

@sethjuarez
Seth Juarez (sethjuarez) merged commit e2c3d0b into main Sep 10, 2026
19 checks passed
@sethjuarez

Copy link
Copy Markdown
Member Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant