npm / @scalar/hono-api-reference
@scalar/hono-api-reference
What changed in @scalar/hono-api-reference 0.9 to 0.12, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-06.
5 breaking1 security2 deprecations3 new APIs and options2 behavior and defaults1 tooling9 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@scalar/hono-api-reference 0.1217 changes
Breaking changes 3
The slot is removed from ScalarDropdown, ScalarPopover, ScalarListbox, and ScalarCombobox; style the floating element with class instead.
AsyncAPI callers must upgrade to Node server v2 because v1 ignores the websocket option, causing WebSocket channels to stop accepting connections.
createAsyncApiMockServer() now returns websocket instead of injectWebSocket; pass it to serve() to enable WebSocket support.
Deprecations 2
The utility is deprecated in favor of bg-b-1 dark:bg-b-1.5.
Deprecated in favor of bg-b-1 dark:bg-b-1.5.
New APIs and options 3
A new utility draws the hairline border so it can stack with shadow-* without taking up layout space.
Adds documentPath to configure the JSON path used to serve the OpenAPI document.
Adds a single mount that renders the API reference and serves its OpenAPI document; document accepts an OpenAPI object or a function that returns one.
Behavior and default changes 2
Floating surfaces now paint their own background, border, and shadow instead of using an absolutely positioned backdrop layer.
Tailwind's default inset-shadow-* sizes are reset, matching the other theme namespaces.
Tooling 1
Uses format-neutral types and JSDoc for Scalar.serve(), rather than types tied to a particular API format.
Fixes and other changes 6
It now uses the same surface styles, no longer clips its slot, and no longer draws a real border.
Pill labels blend further toward the body text colour so they read against the tinted fill in every preset except laserwave.
Deprecated schema row contents no longer fade to 75% opacity; stripes, property-name strikethrough, and the Deprecated badge remain.
Light --scalar-color-2 now meets the 4.5:1 contrast minimum on page and grey card backgrounds across every preset.
Light and dark --scalar-color-blue values now meet the 4.5:1 contrast minimum in the listed presets and integration themes.
The focus color sits further from the accent so keyboard focus rings meet 3:1 contrast on --scalar-background-3.
@scalar/hono-api-reference 0.112 changes
Security 1
Adds a nonce option that stamps the value onto inline and CDN script tags, Scalar style tags, and a matching meta tag for CSP support.
Fixes and other changes 1
Renames the README generator metadata field so npm publishes README.md instead of treating the metadata object as the readme text.
@scalar/hono-api-reference 0.101 changes
Breaking changes 1
The required Node.js version is now >=22 (LTS).
@scalar/hono-api-reference 0.93 changes
Breaking changes 1
The Scalar alias is removed; developers should use apiReference instead.
Fixes and other changes 2
Export apiReference directly from the package index so developers can import it without the Scalar alias.
Uses “current” instead of “latest” in the Scalar registry URL.