unstale

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

@unstale/cli on npm

@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.

    0.12.11release notes

  • AsyncAPI callers must upgrade to Node server v2 because v1 ignores the websocket option, causing WebSocket channels to stop accepting connections.

    0.12.4release notes

  • createAsyncApiMockServer() now returns websocket instead of injectWebSocket; pass it to serve() to enable WebSocket support.

    0.12.4release notes

Deprecations 2

  • The utility is deprecated in favor of bg-b-1 dark:bg-b-1.5.

    0.12.11release notes

  • Deprecated in favor of bg-b-1 dark:bg-b-1.5.

    0.12.11release notes

New APIs and options 3

  • A new utility draws the hairline border so it can stack with shadow-* without taking up layout space.

    0.12.11release notes

  • Adds documentPath to configure the JSON path used to serve the OpenAPI document.

    0.12.0release notes

  • 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.

    0.12.0release notes

Behavior and default changes 2

  • Floating surfaces now paint their own background, border, and shadow instead of using an absolutely positioned backdrop layer.

    0.12.11release notes

  • Tailwind's default inset-shadow-* sizes are reset, matching the other theme namespaces.

    0.12.11release notes

Tooling 1

  • Uses format-neutral types and JSDoc for Scalar.serve(), rather than types tied to a particular API format.

    0.12.13release notes

Fixes and other changes 6

  • It now uses the same surface styles, no longer clips its slot, and no longer draws a real border.

    0.12.11release notes

  • Pill labels blend further toward the body text colour so they read against the tinted fill in every preset except laserwave.

    0.12.7release notes

  • Deprecated schema row contents no longer fade to 75% opacity; stripes, property-name strikethrough, and the Deprecated badge remain.

    0.12.7release notes

  • Light --scalar-color-2 now meets the 4.5:1 contrast minimum on page and grey card backgrounds across every preset.

    0.12.7release notes

  • Light and dark --scalar-color-blue values now meet the 4.5:1 contrast minimum in the listed presets and integration themes.

    0.12.7release notes

  • The focus color sits further from the accent so keyboard focus rings meet 3:1 contrast on --scalar-background-3.

    0.12.7release notes

@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.

    0.11.0release notes

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.

    0.11.10release notes

@scalar/hono-api-reference 0.101 changes

Breaking changes 1

  • The required Node.js version is now >=22 (LTS).

    0.10.0release notes

@scalar/hono-api-reference 0.93 changes

Breaking changes 1

  • The Scalar alias is removed; developers should use apiReference instead.

    0.9.39release notes

Fixes and other changes 2

  • Export apiReference directly from the package index so developers can import it without the Scalar alias.

    0.9.39release notes

  • Uses “current” instead of “latest” in the Scalar registry URL.

    0.9.24release notes