NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3034 most downloaded on PyPI
FastAPI plugin to serve beautiful, interactive API documentation from OpenAPI/Swagger documents.
Last release 9 days ago
25 Sep 2026
Release timing varies
gaps range from 1 weeks to 5 months
Most releases are documented
notes for 19 of 23 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
23 releases · first in 2024
Apply the same attribute escaping to Django Ninja JavaScript and favicon URLs.
#10339: Escape JavaScript and favicon URL attributes to prevent values from injecting HTML.
Apply the same attribute escaping to Django Ninja JavaScript and favicon URLs.
layout, theme, search_hot_key, and document_download_type now accept a plain string (for example theme="moon") in addition to their enum members, so e
#10030: feat(fastapi): accept plain strings for enum options
layout, theme, search_hot_key, and document_download_type now accept a plain string (for example theme="moon") in addition to their enum members, so every option can be configured the same way. The enums are still exported and keep working unchanged. force_dark_mode_state is also tightened from str to Literal["dark", "light"].
#10028: feat(fastapi): add one-line add_scalar_reference(app) setup and fix small bugs
add_scalar_reference(app) registers the reference route for you and reads title and openapi_url straight from the FastAPI app, so the common case is a single line. Any get_scalar_api_reference option (theme, custom route, etc.) can still be passed through.
Also fixes a few papercuts in get_scalar_api_reference: the page title is now HTML-escaped, a document containing </script> can no longer break out of the inline script, the dark_mode type hint matches its None default, and the mutable default arguments were replaced with None.
#10027: chore(fastapi): move to pyproject.toml and declare dependencies
Replaces the legacy setup.py/setup.cfg with a modern pyproject.toml (hatchling). The package now declares its runtime dependencies (fastapi, pydantic, typing_extensions), a supported Python version (>=3.9), and richer PyPI metadata (project URLs and classifiers). The version stays in sync with the monorepo through the existing Changesets flow.
#10031: fix(fastapi): stop the default theme from hiding an introduction card
The bundled default theme included .scalar-card:nth-of-type(3) { display: none }, which hid whichever introduction card (server, authentication, client, …) happened to render third. Because that depends on the document and the Scalar version, it hid content unpredictably. The rule has been removed so all cards render.
One column per month.
### Patch Changes - #8764: fix(fastapi): include MIT license metadata in PyPI package metadata
### Patch Changes - #8460: add support for order_schema_properties_by to pass through Scalar's orderSchemaPropertiesBy option ("alpha" or "preserve")
order_schema_properties_by to pass through Scalar's orderSchemaPropertiesBy option ("alpha" or "preserve")### Minor Changes - #8322: chore: bump required node version to >=22 (LTS)
### Minor Changes - #8304: fix: servers had the wrong structure documented, we adhere to the OpenAPI specification now
### Patch Changes - #8101: feat: agent scalar configuration - #8101: feat: export OpenAPISource and DocumentDownloadType
### Patch Changes - #7810: docs: update documentation domain
Added telemetry option to enable or disable telemetry.
show_developer_tools option to configure when the top developer tools panel is displayed (accepts "always", "localhost", or "never").
telemetry option to enable or disable telemetry.overrides option to pass custom configuration directly to the Scalar.createApiReference config object.### Minor Changes - #7401 `dee0dcc` Thanks @horpto! - fix(fastapi): fix PydanticDeprecatedSince20 for Config class field
### Patch Changes - #7332 `93a466e` Thanks @hanspagel! - feat: use support@scalar.com as the email address
93a466e Thanks @hanspagel! - feat: use support@scalar.com as the email address186b1ea: not include tests package in wheel and tgz
24d5f59: fix: output for dark_mode is wrong
da4d1da: fix: scalar-fastapi installs tests
961abc8: feat: cover more configuration options
77af6e7: feat: use new HTML/JS API
15a3c87: chore(deps): update dependency starlette to v0.47.2 [security]
926de55: feat: add theme option
5266958: chore: trigger release
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →