# What changed in @scalar/hono-api-reference

> 23 changes in @scalar/hono-api-reference 0.9 to 0.12 from its official release notes, upgrade guides and advisories: 5 breaking, 2 deprecations, 1 security, 3 new APIs and options. Each one cited. Sources checked 2026-11-06. HTML: https://unstale.sh/npm/@scalar/hono-api-reference/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @scalar/hono-api-reference 0.12

### Breaking changes

- The slot is removed from ScalarDropdown, ScalarPopover, ScalarListbox, and ScalarCombobox; style the floating element with class instead. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)
- AsyncAPI callers must upgrade to Node server v2 because v1 ignores the websocket option, causing WebSocket channels to stop accepting connections. (0.12.4) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0124)
- createAsyncApiMockServer() now returns websocket instead of injectWebSocket; pass it to serve() to enable WebSocket support. (0.12.4) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0124)

### Deprecations

- The utility is deprecated in favor of bg-b-1 dark:bg-b-1.5. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)
- Deprecated in favor of bg-b-1 dark:bg-b-1.5. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)

### New APIs and options

- A new utility draws the hairline border so it can stack with shadow-* without taking up layout space. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)
- Adds documentPath to configure the JSON path used to serve the OpenAPI document. (0.12.0) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0120)
- 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.0) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0120)

### Behavior and default changes

- Floating surfaces now paint their own background, border, and shadow instead of using an absolutely positioned backdrop layer. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)
- Tailwind's default inset-shadow-* sizes are reset, matching the other theme namespaces. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)

### Tooling

- Uses format-neutral types and JSDoc for Scalar.serve(), rather than types tied to a particular API format. (0.12.13) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01213)

### Fixes and other changes

- It now uses the same surface styles, no longer clips its slot, and no longer draws a real border. (0.12.11) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01211)
- Pill labels blend further toward the body text colour so they read against the tinted fill in every preset except laserwave. (0.12.7) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0127)
- Deprecated schema row contents no longer fade to 75% opacity; stripes, property-name strikethrough, and the Deprecated badge remain. (0.12.7) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0127)
- Light --scalar-color-2 now meets the 4.5:1 contrast minimum on page and grey card backgrounds across every preset. (0.12.7) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0127)
- Light and dark --scalar-color-blue values now meet the 4.5:1 contrast minimum in the listed presets and integration themes. (0.12.7) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0127)
- The focus color sits further from the accent so keyboard focus rings meet 3:1 contrast on --scalar-background-3. (0.12.7) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0127)

## @scalar/hono-api-reference 0.11

### Security

- 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.0) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0110)

### Fixes and other changes

- Renames the README generator metadata field so npm publishes README.md instead of treating the metadata object as the readme text. (0.11.10) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#01110)

## @scalar/hono-api-reference 0.10

### Breaking changes

- The required Node.js version is now >=22 (LTS). (0.10.0) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0100)

## @scalar/hono-api-reference 0.9

### Breaking changes

- The Scalar alias is removed; developers should use apiReference instead. (0.9.39) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0939)

### Fixes and other changes

- Export apiReference directly from the package index so developers can import it without the Scalar alias. (0.9.39) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0939)
- Uses “current” instead of “latest” in the Scalar registry URL. (0.9.24) — [release notes](https://github.com/scalar/scalar/blob/a4c64675ab824e88810ecf1eb931e13b61c351e4/integrations/hono/CHANGELOG.md#0924)
