unstale

npm / @scalar/api-client-react

@scalar/api-client-react

What changed in @scalar/api-client-react 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

8 breaking1 security1 deprecations34 new APIs and options16 behavior and defaults1 tooling64 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@scalar/api-client-react 27 changes

New APIs and options 2

Behavior and default changes 2

Tooling 1

  • TypeScript 6 builds and compiler API consumers are supported while preserving runtime output and public handler types.

    2.0.68release notes

Fixes and other changes 2

  • Vite configuration imports are now compatible with the native config loader.

    2.0.67release notes

  • Restores support for inline OpenAPI documents via the content configuration field.

    2.0.18release notes

@scalar/api-client-react 1118 changes

Breaking changes 8

  • Secret OAuth URLs are used before the default flow URLs.

    1.4.6release notes

  • The export document button was rolled back.

    1.4.5release notes

  • Node.js >=22 (LTS) is now required to use @scalar/api-client-react.

    1.4.0release notes

  • The default for createAnySecurityScheme is now false.

    1.3.105release notes

  • The web layout now defaults to using a proxy.

    1.3.100release notes

  • The import modal was removed.

    1.3.90release notes

  • Enables form rows by default.

    1.3.74release notes

  • Required parameters are now enabled by default.

    1.3.72release notes

Security 1

Deprecations 1

  • Mark a tool as deprecated without disabling it; its description starts with [DEPRECATED].

    1.0.0docs

New APIs and options 32

  • Adds MCP config support through the updated @scalar/types dependency.

    1.4.3release notes

  • Support was added for operation-level authentication.

    1.4.1release notes

  • Support was added for operation-level servers.

    1.4.1release notes

  • Adds configuration to hide the search API.

    1.3.102release notes

  • Post-response scripts and testing were added to API Client v2.

    1.3.94release notes

  • The API client now supports loading files into the store.

    1.3.92release notes

  • The API client now supports team workspaces.

    1.3.91release notes

  • Adds support for managing active environments.

    1.3.90release notes

  • The workspace picker now supports groups.

    1.3.90release notes

  • Adds a client-side request tool to the agent.

    1.3.87release notes

  • The client v2 adds an import modal, giving developers an import flow in the API client.

    1.3.85release notes

  • Adds inline agent chat.

    1.3.83release notes

  • Adds exports for creating external actions.

    1.3.82release notes

  • The V2 command palette is extensible, with improved types for developers integrating with it.

    1.3.80release notes

  • Requests can be canceled and streaming responses stopped.

    1.3.79release notes

  • HAR types are exposed for developers using the package's types.

    1.3.76release notes

  • The API client adds support for saving, reverting, and viewing history.

    1.3.76release notes

  • Adds support for default headers, allowing developers to configure headers applied by default.

    1.3.72release notes

  • Adds support for global cookies.

    1.3.72release notes

  • The auth component is now exported for use by developers.

    1.3.68release notes

  • The address bar now has a button to copy the URL.

    1.3.67release notes

  • The API client adds UI for OAuth2 credentials location.

    1.3.66release notes

  • A clear button was added to the password field.

    1.3.64release notes

  • Client v2 adds code samples.

    1.3.58release notes

  • Declare credential placeholder mappings on a security scheme to substitute credentials in SDK installation instructions, using the document's current authentication selection. Secret values are masked; missing or ambiguous values remain placeholders.

    1.0.0docs

  • Set mask: false in a credential placeholder mapping to show a public identifier without masking it.

    1.0.0docs

  • Add this OpenAPI extension to configure tool exposure at the source; dashboard values override it field by field.

    1.0.0docs

  • Send MCP annotations with a tool; this field only works on operations.

    1.0.0docs

  • Add a custom message to the notice of a deprecated tool.

    1.0.0docs

  • Set a tool description; on a tag or the document root, this field sets the description of the group its tools belong to.

    1.0.0docs

  • Control whether an operation becomes a tool, including MCP-only or SDK-only exposure; values on operations, tags, and the document root follow a defined precedence.

    1.0.0docs

  • Set a tool name; names are sent in snake case, cut to 108 characters, and given a numbered suffix when already taken.

    1.0.0docs

Behavior and default changes 14

  • The API client caches the last response for an example.

    1.4.9release notes

  • Sync with source flow now includes conflict resolution.

    1.4.8release notes

  • Adds an app drag region for macOS.

    1.4.6release notes

  • Auth URL and token URL are persisted in local storage.

    1.4.6release notes

  • The correct authentication is preselected for documents and operations.

    1.4.5release notes

  • OAuth flow refresh tokens are stored on the auth store.

    1.4.2release notes

  • The API client desktop and web layouts are unified.

    1.3.92release notes

  • The import document palette now supports the file plugin.

    1.3.92release notes

  • The code block copy UI has been improved.

    1.3.92release notes

  • The Scalar agent can be enabled or disabled.

    1.3.83release notes

  • Code input now supports arrays and objects.

    1.3.67release notes

  • Client v2 adds default auth.

    1.3.58release notes

  • Parameter tooltips support Markdown.

    1.3.58release notes

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

    1.3.49release notes

Fixes and other changes 62

  • Authentication closes by default when it is not required.

    1.4.10release notes

  • Fixed environment navigation in the API client.

    1.4.10release notes

  • Fixed example extraction in the API client.

    1.4.10release notes

  • OAuth credentials location persistence is fixed.

    1.4.9release notes

  • Overflow issues in the Mac app are fixed.

    1.4.9release notes

  • Schema is now propagated to the request body form-data table.

    1.4.9release notes

  • Code snippet HAR request URLs now URL-encode substituted path parameter values to match request sending behavior.

    1.4.6release notes

  • Uploaded files are sent correctly, and code samples show file references.

    1.4.6release notes

  • Fixes conditional rendering for the token URL.

    1.4.6release notes

  • The fallback theme is now reactive.

    1.4.2release notes

  • OAuth2 URLs are resolved against the interpolated server URL.

    1.3.107release notes

  • Schema examples are now cached correctly.

    1.3.107release notes

  • Fixed an index clamp issue.

    1.3.105release notes

  • Removed unnecessary property truncation in generated examples.

    1.3.101release notes

  • Markdown in descriptions now renders when selecting multiple security schemes.

    1.3.101release notes

  • The document is no longer mutated after ingress.

    1.3.96release notes

  • All listeners are disabled when the modal is closed.

    1.3.96release notes

  • The caret position was changed to the right.

    1.3.94release notes

  • Modal animation now uses Vue Transition for better cross-browser support.

    1.3.94release notes

  • The client opens to the correct example name.

    1.3.93release notes

  • Inconsistent styles throughout the API reference have been fixed.

    1.3.92release notes

  • The checkbox input now has full-width and full-height classes so it renders correctly in Safari.

    1.3.92release notes

  • Object values in form-urlencoded request bodies are now handled.

    1.3.92release notes

  • The save modal has been improved.

    1.3.92release notes

  • Prevents the API client modal from disappearing when reopened in Safari.

    1.3.90release notes

  • Import errors from the command palette are now handled gracefully.

    1.3.90release notes

  • Correctly handles redirects after document deletion.

    1.3.90release notes

  • Correctly displays the watch mode toggle state.

    1.3.90release notes

  • Changes are correctly dropped when the modal closes.

    1.3.89release notes

  • A failsafe was added for an incorrect array parameter style.

    1.3.88release notes

  • References are now resolved and validated correctly.

    1.3.88release notes

  • Fixed z-index issues in the address bar.

    1.3.84release notes

  • The client no longer adds a content type of none.

    1.3.84release notes

  • Restores the old client search.

    1.3.83release notes

  • The agent flag changes from enabled to disabled.

    1.3.83release notes

  • OAuth2 relative URLs are resolved against relative server URLs.

    1.3.83release notes

  • Improves sidebar click behavior.

    1.3.83release notes

  • Inputs to useCommandPalette state are reactive.

    1.3.83release notes

  • Adds agent scalar to localhost.

    1.3.81release notes

  • Reverts changes to the document when the modal is closed.

    1.3.81release notes

  • Uses getExample in the references responses.

    1.3.81release notes

  • Documents can now be collapsed.

    1.3.80release notes

  • Fixed the import and export of redirect to proxy.

    1.3.78release notes

  • Parameter upsert and deletion are more robust.

    1.3.77release notes

  • The body is attached only to methods that allow it.

    1.3.77release notes

  • Requests are canceled when navigating away from an operation page.

    1.3.76release notes

  • Sidebar state is synchronized when the sidebar is rebuilt.

    1.3.76release notes

  • Serialization support was added for contentType in params.

    1.3.75release notes

  • Allows multiple security requirements with different scopes.

    1.3.74release notes

  • Fixes invalid examples generated for additional properties.

    1.3.73release notes

  • Fixes the slot name for menu items.

    1.3.72release notes

  • Fixed complex auth.

    1.3.68release notes

  • The hideClientButton config is now passed into the client modal.

    1.3.68release notes

  • A proxy fix is included.

    1.3.68release notes

  • Readonly properties are filtered out of requestBody.

    1.3.68release notes

  • Path parameters now work on the client.

    1.3.67release notes

  • The client now reads the deprecated schema.example value.

    1.3.67release notes

  • Removes the scrollbar from buttons in the API client UI.

    1.3.66release notes

  • Ensures PATCH is uppercased.

    1.3.65release notes

  • The client now receives reactive auth config.

    1.3.64release notes

  • Example resolution in the request body was fixed.

    1.3.64release notes

  • Fixes caching of get schema examples via options.

    1.3.58release notes