unstale

npm / @scalar/api-client

@scalar/api-client

What changed in @scalar/api-client 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

2 breaking1 security2 deprecations3 new APIs and options4 behavior and defaults12 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.6 on npm

@scalar/api-client 324 changes

Breaking changes 2

  • The #backdrop slot is removed from ScalarDropdown, ScalarPopover, ScalarListbox, and ScalarCombobox; style the floating element with class instead.

    3.22.0release notes

  • ScalarFloatingBackdrop is deprecated in favor of bg-b-1 dark:bg-b-1.5; it uses the same surface styles and no longer clips its slot or draws a real border.

    3.22.0release notes

Security 1

  • OAuth authorization and desktop external links are restricted to HTTPS or HTTP for local development URLs before opening.

    3.23.1release notes

Deprecations 2

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

    3.22.0release notes

  • This CSS custom property is deprecated in favor of bg-b-1 dark:bg-b-1.5.

    3.22.0release notes

New APIs and options 3

  • Built-in Traditional Chinese (Taiwan) translations are available across API Reference, API Client, and schema blocks, including case and underscore variants.

    3.23.0release notes

  • A new utility draws a hairline border that can stack with shadow-* without taking up layout space.

    3.22.0release notes

  • Users can inspect all writable fields alongside custom examples without changing their request payload.

    3.22.0release notes

Behavior and default changes 4

  • The searchable picker now shows empty optional fields of expanded object query parameters.

    3.23.0release notes

  • The action appears on authentication fields only when a default differs from the current value; cleared OAuth2 access tokens retain it to return to the Authorize form.

    3.23.0release notes

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

    3.22.0release notes

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

    3.22.0release notes

Fixes and other changes 12

  • The shared Example/Examples popup displays authored server-variable examples, including examples from referenced variables, with copy support.

    3.23.3release notes

  • Popups align with their labels to avoid overlapping the sidebar.

    3.23.3release notes

  • The label remains clickable when hovered.

    3.23.3release notes

  • The authorization form appears again after OAuth access and refresh tokens are cleared.

    3.23.2release notes

  • Document-backed API key name edits are preserved for export, configured names can be cleared, and configured overrides are released when the default name is restored.

    3.23.1release notes

  • Shared component styles no longer override host page body backgrounds and margins, including with CSS layers; standalone bundles retain full-page body styling.

    3.23.1release notes

  • The action stays rightmost in the bearer token's Get a token row, with the settings gear to its left and Refresh between them.

    3.23.0release notes

  • Disabled field values are preserved in the interface but excluded from requests.

    3.23.0release notes

  • Checkboxes for expanded query parameters now operate independently.

    3.23.0release notes

  • Cookie persistence now gives Max-Age precedence over Expires.

    3.23.0release notes

  • The toggle appears only when a field has a value, and an emptied field becomes masked again.

    3.23.0release notes

  • Form body fields resolve structural allOf objects, annotation-only wrappers, and selected oneOf/anyOf variants while preserving descriptions, nested inputs, and multipart value types when switching variants.

    3.22.0release notes