Skip to content

v2.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:23
· 10 commits to main since this release

v2.5.0 (2026-11-26)

⚠ Breaking changes

  • require Python 3.14 (copier template v2.13.0) (037c046)

Fixes

  • functionschema: from_dict accepts the OpenAI TypedDicts (41c4bcb)
  • schema: keep aliased and computed fields in Schema dumps (7a809bb)
  • functionschema: correct simple-mode schemas for real-world annotations (3d8c7f6)
  • codegen: NamespaceCallable returns falsy results and raises errors (7e67d68)
  • storage: ModelStore quotes identifiers, closes a failed connection (731f966)
  • openapi: resolve local-file refs and nested refs per document (1aaf56c)
  • executable: ExecutableFunction.run works inside a running loop (f5a6ead)
  • schema_to_type: simple_impl handles type lists, numeric enums, anyOf, $ref (b206113)
  • schema_to_type: marvin class cache is bounded, thread-safe, keyed with $defs (6cb9a3e)
  • read user callables PEP 649-safe (TYPE_CHECKING-only annotations) (67a877a)

Refactoring

  • tidy code generation helpers; model_to_python_code takes any mapping (e1bb5e5)
  • drop from future import annotations (PEP 649) (cfa75c8)

Documentation

  • add Specs section (JSON Schema, OpenAI tools, OpenAPI) (dde5085)
  • don't claim a specific OpenAPI version in Specs (cbf56de)
  • schema: why Schema dumps are about 3x slower than plain pydantic (fe65893)

Chore

  • require Python 3.14 (copier template v2.13.0) (037c046)