0.19.0 (2026-08-25)
⚠️ Breaking Changes
-
Build custom-operation leaf fields per query (#448)
Custom-operation leaf fields are now built per query, on access, instead of eagerly during generation. This also fixes a case where a custom scalar mapped to a non-builtin type (e.g.
Decimal) used in a custom-operation argument produced acustom_fields.py/custom_queries.pythat raisedNameErroron import due to a missing import.
✨ New Features
- Add
multipart_uploadssetting to disable file upload support (by @Minister944 in #437) - Allow using non-httpx HTTP clients in default clients (by @Kwaidan00 in #440)
- Add
schema_pathsfor loading schema from local paths and installed packages (by @Minister944 in #439) - Allow using a custom client for fetching the remote schema (by @Kwaidan00 in #444)
- Defer model build (by @DamianCzajkowski in #447)
- Add alias generator support (by @DamianCzajkowski in #449)
- Add lazy imports option (by @DamianCzajkowski in #450)
- Add single-file output plugin (by @Kwaidan00 in #456)
- Add models-only mode (by @Kwaidan00 in #457)
- Skip generation of empty files (by @Kwaidan00 in #458)
- Add control over deprecation warnings (by @DamianCzajkowski in #461)
🐛 Bug Fixes
- Align
tytype-checker suppressions for GraphQL and optional imports (by @DamianCzajkowski in #427) - Use explicit UTF-8 encoding for the ruff format subprocess (by @DamianCzajkowski in #428)
- Sanitize Python keywords in enum default values (by @DamianCzajkowski in #451)
- Pass the config dict to the custom remote-schema HTTP client (by @Kwaidan00 in #453)
- Use
include_all_inputsin models-only mode (by @Kwaidan00 in #459)
📚 Documentation
- Document the
multipart_uploadssetting in README and the configuration guide (by @Minister944) - Consolidate plugin docs into the docs site (by @Minister944 in #441)
- Reorganize documentation structure (by @Minister944 in #446)
- Restore a documentation section removed in #446 (by @Kwaidan00 in #452)
👷 CI/CD
- Bump
gh-action-sigstore-pythonto v3.5.0 (by @DamianCzajkowski)
🛠️ Build System
- Add git-cliff for automated changelog and release notes (by @DamianCzajkowski in #421)
- Bump starlette from 1.0.0 to 1.3.1 (by @dependabot[bot] in #435)
New Contributors
- @Kwaidan00 made their first contribution in #459
- @mociepka made their first contribution
- @chestm007 made their first contribution in #426
- @MatthewZMSU made their first contribution in #425
Full Changelog: 0.18.0...0.19.0