Changelog
This changelog is generated automatically from GitHub Releases.
v0.1.18
2026-06-11 · GitHub
[0.1.18]
Added
- Ship inline type information to consumers via a
py.typedmarker (PEP 561), so downstream type checkers can see the package’s annotations. - New
devoptional-dependencies extra (pip install fastapi-chameleon[dev]) bundlingpytest,ty, andpyrefly. - A full documentation site built with Great Docs (Quarto), published at https://mkennedy.codes/docs/fastapi-chameleon/, including an auto-generated API reference from the package docstrings.
- Expanded PyPI keywords for better discoverability (templating, rendering, decorator, ASGI, Starlette, and more).
Changed
- Tightened type hints across the public API so the package now passes both
tyandpyreflycleanly:NoReturnon not_found() / generic_error(), typed decorator wrappers and casts, and annotations on global_init(),clear(), and response(). - Removed the inaccurate
dictelement type on**template_data. - Expanded Sphinx-style docstrings for the public API (template, the internal render path,
clear) and added:ivar:documentation to the exception types. - Rewrote
README.mdwith a runnable quick start, full public-API reference, friendly-error and view-testing guides, dev-mode/caching notes, a docs badge, and corrected example-app and contributing instructions.
v0.1.17
2025-04-04 · GitHub
Updates the type information on template() decorator to pass type information across better, removing errors triggered in pyright and others.