You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#9471: Restore support for the deprecated source install command on x-scalar-sdk-installation. When set, it is appended to description as a fenced code block (or used on its own when there is no description). description remains the promoted field.
Channel address parameters (the {param} placeholders in a channel address) are now shown in the API reference, reusing the same parameter list component as OpenAPI operations. Their enum, default, and examples are displayed on a string schema.
#9438: feat(api-reference): add an AsyncAPI server selector
Adds a server selector for AsyncAPI documents in the API reference introduction. It mirrors the OpenAPI server selector but works with the AsyncAPI server shape (a named map of host/protocol/pathname), labelling each server with its constructed connection URL.
Server selection and variable changes are now persisted to the workspace store via new asyncapi-server:update:selected and asyncapi-server:update:variables events and their mutators, mirroring the OpenAPI wiring.
#9422: Add a nonce option for Content Security Policy support.
When you pass a nonce, the rendered HTML stamps it onto the inline <script> and the CDN <script> tag (and Scalar's own <style> tags, plus a matching <meta property="csp-nonce">). This lets the API Reference run under a strict script-src with no unsafe-inline and no unsafe-eval.
ApiReference({url: '/openapi.json',// Match this value in your `script-src` CSP directive.nonce: 'r4nd0m',})
Note: style-src still needs 'unsafe-inline'. The reference renders inline style="…" attributes, which a CSP nonce can never authorize (nonces only apply to <script>, <style> and <link> elements), so a nonce-only style-src is not possible. The win is a fully strict script-src.
When enabled, nested schema properties are expanded by default while keeping the
"Show/Hide Child Attributes" button available for manual collapsing. Expansion
is cycle-safe: every finite branch is expanded fully, and self-referential
($ref or inline) schemas stop at the point they would otherwise recurse forever.
#9399: Show custom SDK installation instructions from x-scalar-sdk-installation in the introduction card, falling back to the client selector when there are none. Each entry takes a lang and a Markdown description, so a single tab can render rich instructions with syntax-highlighted code blocks (for example Maven and Gradle for Java)
Patch Changes
#9388: Add ScalarVirtualCodeBlock component with copy button support for virtualized code blocks
#9436: Hide the client selector for AsyncAPI documents
#9398: feat: read code samples from x-readme, x-stainless and x-scalar extensions
In addition to x-codeSamples, the code sample picker now reads custom samples from x-scalar-examples, x-stainless-snippets, x-stainless-examples, and x-readme.code-samples. When more than one is present on an operation, the highest-priority source is used (x-scalar-examples > x-stainless-snippets > x-stainless-examples > x-readme > x-codeSamples).
#9426: feat(api-reference): render the contact URL from info.contact.url
#8573: fix(api-reference): infer discriminator variants from mapping
#9131: fix(api-reference): preserve OAuth redirect URI when switching OpenAPI documents
When using multiple OpenAPI documents with OAuth configured via oauth2RedirectUri,
switching to another document no longer clears the Redirect URL in the Authentication
section.
The fix threads oauth2RedirectUri from the top-level configuration into the security
scheme merge chain so that each newly loaded document's OAuth flows are pre-populated
with the configured redirect URI, rather than relying solely on a component-level watcher
that would skip re-population when the same OAuth flow identity was detected across
documents.
#9391: fix: stabilize the tab title at the top of the document
The document-start sentinel and the Introduction section both fire an intersection event at scroll-top. They resolved to different entries, so the tab title raced between the section title and the document title. The sentinel now emits the Introduction entry, so both agree.
#9370: fix(api-reference): rework the modern operation layout with CSS grid so the request example sits directly under the description on narrow screens, and move the operation title and auth badge into the same grid
#9421: fix(api-reference): avoid SSR hydration mismatch from the search shortcut and teleport ids
The macOS search shortcut symbol was derived from navigator during render, so a Mac client hydrated ⌘ where the server sent ⌃. The platform is now resolved after mount. Teleport target ids and the search modal ids also switched from nanoid() to Vue's SSR-stable useId().
#9392: Clean up the standalone build's injected <head> styles on destroy() so they no longer linger after SPA-style navigation (Turbo Drive, htmx). The styles are re-attached when a new instance mounts.
#9420: fix(api-reference): make x-tagGroups titles navigable from search
Tag group titles appeared as search results but clicking them did nothing,
because the flattened modern layout rendered no element carrying the tag
group id to scroll to. The group now exposes its id as a scroll anchor.
#9372: Render AsyncAPI components.schemas as Models, listed in the sidebar and content just like OpenAPI schemas
#7618: feat(api-reference): add setPageTitle to customize the browser tab title
Pass a setPageTitle function to control the browser tab title. It is called whenever the section in view changes — on sidebar clicks, on scroll, and when switching documents — and receives the section title and the active OpenAPI document:
#9348: Render AsyncAPI channels as sections in the content area, with the channel address as the heading and the channel description below. Channels are grouped under tags when the navigation tree groups them. Operations and messages are not rendered yet.
#9255: Surface the Introduction entry and any headings extracted from info.description of AsyncAPI documents in the sidebar, mirroring how OpenAPI documents are handled.
#9347: Surface AsyncAPI info.description headings in the search modal, mirroring the sidebar behaviour. AsyncAPI channels, operations, and messages are not indexed yet.
#9350: feat(api-reference): list Ask AI and MCP Servers as Scalar Docs features in the Deploy popover
#9310: Add an ESM standalone build (dist/browser/standalone.esm.js) alongside the existing UMD bundle. The new bundle works as a side-effect script (registers window.Scalar.createApiReference and reads data-* configuration) and exports createApiReference for direct ESM consumers. It is fully minified through Rolldown's native minifier and uses code splitting so heavy features load asynchronously after first paint:
The API client modal (request editor, response viewer, CodeMirror) is now await import'd inside onMounted instead of statically imported, moving ~265 KB into a chunks/modal-*.js chunk that loads in the background.
The Agent Scalar chat interface (already wrapped in defineAsyncComponent) becomes a real chunks/AgentScalarChatInterface-*.js chunk (~200 KB), loaded only when the agent is enabled.
The 84 per-icon dynamic imports from @scalar/icons/library are coalesced into a single chunks/icons-*.js.
Net effect: initial sync load drops from ~3.32 MB (UMD) to ~2.73 MB (ESM) — a ~570 KB improvement — while total bundle size shrinks by ~140 KB.
Also adds an @scalar/api-client/modal/map-hidden-clients-config deep export so consumers that only need the lightweight client-list helper don't pull the full modal barrel into their static graph.
#9139: fix(api-reference): preserve OAuth redirect URL when switching between OpenAPI documents
Auth changes were being persisted under the wrong document slug and shared a single debounce queue across all documents. When switching documents quickly, the pending save for the first document could be overwritten or dropped by a save for the second document, causing the redirect URL (and other auth secrets) to appear cleared after switching back.
The fix uses event.documentName as both the debounce key and the storage key, giving each document its own independent debounce queue.
#9194: fix(api-reference): break cycles in mergeAllOfSchemas for self-referencing schemas (whether they $ref back to themselves through array items or through a plain object property), which previously crashed the docs preview with "too much recursion"
#9309: feat: add modelsSectionLabel configuration ('Models' | 'Schemas' | string) to use OpenAPI-style Schemas terminology in the sidebar, content, and search.
#9318: fix: restore response content type selector when expandAllResponses is enabled
Move the content type picker after the disclosure panel so it stacks above expanded response content and remains clickable when expandAllResponses is true.
#9169: feat: add customFetch to the api-reference configuration and forward it to the API client so requests (including "Test Request" calls) use the custom fetch — enabling things like credentials: 'include'. The previous fetch option is deprecated and migrated automatically with a console warning.
#9273: fix: render null, whitespace-only, and value/externalValue-shaped schema examples correctly
#9211: feat: make WorkspaceDocument an union of OpenApiDocument and AsyncApiDocument
Patch Changes
#9211: fix(api-reference): clean up deprecated document listeners on destroy
createApiReference() registered three document-level listeners
(scalar:reload-references, scalar:destroy-references, scalar:update-references-config) but destroy() only unmounted the
Vue app — the listeners stayed attached forever. In environments that
mount and destroy instances repeatedly (notably the Astro integration's renderMode="client" with view transitions), each navigation leaked
three permanent listeners on document.
Tie the listeners to an AbortController and abort it from destroy()
so they all come off in one shot.
#9211: fix: show "Download AsyncAPI Document" label for AsyncAPI documents
#9211: fix: rename the "OAS" version badge to "OpenAPI" and show an "AsyncAPI" badge for AsyncAPI documents
#9211: fix(api-client): block invalid request URLs before send and surface buildRequest failures as results
Request construction now treats a bad merged URL as a first-class failure instead of throwing deep inside helpers. After mergeUrls, resolveRequestFactoryUrl rejects incomplete targets when strict mode applies: relative URLs, an empty server base, or path strings that still contain unresolved {{variable}} placeholders. Callers may set allowMissingRequestServerBase where a full absolute URL is intentionally optional (for example the embedded modal layout in OperationBlock, or API Reference onBeforeRequest hooks that build against the document origin).
buildRequest returns a Result (ok / err) with stable error codes such as MISSING_REQUEST_SERVER_BASE, INVALID_REQUEST_FACTORY_URL, and BUILD_REQUEST_FAILED for unexpected synchronous failures. Those failures are wrapped with safeRun from @scalar/helpers, which logs to console.error and maps throws to a string message on the result. The API Reference plugin path logs and skips onBeforeRequest when a preview request cannot be built, so user hooks never run against a half-built fetch payload.
Downstream packages (api-client, api-reference, scalar-app where applicable) unwrap the result, show toasts or logs, and avoid calling sendRequest until the URL is valid.
#9211: fix(api-reference): improve search ranking for parameter, request-body, and model field names, including polymorphic (oneOf/anyOf/allOf) schemas
#9211: fix: resolve $ref in additionalProperties before rendering schema
#9045: feat(api-reference): show an "auth required" / "auth optional" badge next to each operation's path. Requirements are resolved via operation.security ?? document.security; hover reveals the scheme names, types, and any required scopes.
Patch Changes
#9045: fix(api-reference): flatten deepObject query parameter display in parameter rendering
#9045: fix inline composed schema descriptions in api-reference
#9045: fix(api-reference): ignore undefined examples on flattened deepObject parameters
#9045: fix: remove extraneous eventBus prop from AgentScalarDrawer to eliminate Vue warning
#8970: feat(api-reference): show an "auth required" / "auth optional" badge next to each operation's path. Requirements are resolved via operation.security ?? document.security; hover reveals the scheme names, types, and any required scopes.
Patch Changes
#8963: fix(api-reference): flatten deepObject query parameter display in parameter rendering
#8906: fix inline composed schema descriptions in api-reference
#8963: fix(api-reference): ignore undefined examples on flattened deepObject parameters
#9003: fix: remove extraneous eventBus prop from AgentScalarDrawer to eliminate Vue warning
#8884: fix: restore position: fixed on .section-flare so the decorative hero flare stops reserving 100vh of empty space at the top of the documentation (affects the kepler, bluePlanet, and mars themes, which declare height: 100vh on the flare but rely on the framework to position it)
#8907: Fix code sample missing body content type update
#8925: chore: source vite-plugin-css-injected-by-js from the shared pnpm catalog
#8944: feat(api-reference): add anchors and copy link buttons to allOf body parameters
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.52.5
fix(deps): update dependency @scalar/api-reference to v1.52.6
Apr 30, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.52.6
fix(deps): update dependency @scalar/api-reference to v1.53.0
May 4, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.53.0
fix(deps): update dependency @scalar/api-reference to v1.53.1
May 5, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.53.1
fix(deps): update dependency @scalar/api-reference to v1.54.0
May 6, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.54.0
fix(deps): update dependency @scalar/api-reference to v1.55.0
May 7, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.55.0
fix(deps): update dependency @scalar/api-reference to v1.55.1
May 7, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.55.1
fix(deps): update dependency @scalar/api-reference to v1.55.2
May 12, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.55.2
fix(deps): update dependency @scalar/api-reference to v1.55.3
May 13, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.55.3
fix(deps): update dependency @scalar/api-reference to v1.57.1
May 21, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.57.1
fix(deps): update dependency @scalar/api-reference to v1.57.2
May 23, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.57.2
fix(deps): update dependency @scalar/api-reference to v1.57.3
May 28, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.57.3
fix(deps): update dependency @scalar/api-reference to v1.57.4
May 29, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.57.4
fix(deps): update dependency @scalar/api-reference to v1.57.5
May 30, 2026
renovateBot
changed the title
fix(deps): update dependency @scalar/api-reference to v1.57.5
fix(deps): update scalar monorepo to v1.57.5
Jun 2, 2026
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@scalar/code-highlight@0.3.5. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.44.26→1.59.2Release Notes
scalar/scalar (@scalar/api-reference)
v1.59.2Patch Changes
sourceinstall command onx-scalar-sdk-installation. When set, it is appended todescriptionas a fenced code block (or used on its own when there is nodescription).descriptionremains the promoted field.v1.59.1Patch Changes
v1.59.0Minor Changes
#9435: feat(api-reference): render AsyncAPI channel parameters
Channel address parameters (the
{param}placeholders in a channel address) are now shown in the API reference, reusing the same parameter list component as OpenAPI operations. Theirenum,default, andexamplesare displayed on a string schema.#9438: feat(api-reference): add an AsyncAPI server selector
Adds a server selector for AsyncAPI documents in the API reference introduction. It mirrors the OpenAPI server selector but works with the AsyncAPI server shape (a named map of
host/protocol/pathname), labelling each server with its constructed connection URL.Server selection and variable changes are now persisted to the workspace store via new
asyncapi-server:update:selectedandasyncapi-server:update:variablesevents and their mutators, mirroring the OpenAPI wiring.#9422: Add a
nonceoption for Content Security Policy support.When you pass a
nonce, the rendered HTML stamps it onto the inline<script>and the CDN<script>tag (and Scalar's own<style>tags, plus a matching<meta property="csp-nonce">). This lets the API Reference run under a strictscript-srcwith nounsafe-inlineand nounsafe-eval.Note:
style-srcstill needs'unsafe-inline'. The reference renders inlinestyle="…"attributes, which a CSP nonce can never authorize (nonces only apply to<script>,<style>and<link>elements), so a nonce-onlystyle-srcis not possible. The win is a fully strictscript-src.#9400: feat(api-reference): add
expandAllSchemaPropertiesconfig option.When enabled, nested schema properties are expanded by default while keeping the
"Show/Hide Child Attributes" button available for manual collapsing. Expansion
is cycle-safe: every finite branch is expanded fully, and self-referential
($ref or inline) schemas stop at the point they would otherwise recurse forever.
#9399: Show custom SDK installation instructions from
x-scalar-sdk-installationin the introduction card, falling back to the client selector when there are none. Each entry takes alangand a Markdowndescription, so a single tab can render rich instructions with syntax-highlighted code blocks (for example Maven and Gradle for Java)Patch Changes
#9388: Add
ScalarVirtualCodeBlockcomponent with copy button support for virtualized code blocks#9436: Hide the client selector for AsyncAPI documents
#9398: feat: read code samples from x-readme, x-stainless and x-scalar extensions
In addition to
x-codeSamples, the code sample picker now reads custom samples fromx-scalar-examples,x-stainless-snippets,x-stainless-examples, andx-readme.code-samples. When more than one is present on an operation, the highest-priority source is used (x-scalar-examples > x-stainless-snippets > x-stainless-examples > x-readme > x-codeSamples).#9426: feat(api-reference): render the contact URL from
info.contact.url#8573: fix(api-reference): infer discriminator variants from mapping
#9131: fix(api-reference): preserve OAuth redirect URI when switching OpenAPI documents
When using multiple OpenAPI documents with OAuth configured via
oauth2RedirectUri,switching to another document no longer clears the Redirect URL in the Authentication
section.
The fix threads
oauth2RedirectUrifrom the top-level configuration into the securityscheme merge chain so that each newly loaded document's OAuth flows are pre-populated
with the configured redirect URI, rather than relying solely on a component-level watcher
that would skip re-population when the same OAuth flow identity was detected across
documents.
#9391: fix: stabilize the tab title at the top of the document
The document-start sentinel and the Introduction section both fire an intersection event at scroll-top. They resolved to different entries, so the tab title raced between the section title and the document title. The sentinel now emits the Introduction entry, so both agree.
#9370: fix(api-reference): rework the modern operation layout with CSS grid so the request example sits directly under the description on narrow screens, and move the operation title and auth badge into the same grid
#9421: fix(api-reference): avoid SSR hydration mismatch from the search shortcut and teleport ids
The macOS search shortcut symbol was derived from
navigatorduring render, so a Mac client hydrated⌘where the server sent⌃. The platform is now resolved after mount. Teleport target ids and the search modal ids also switched fromnanoid()to Vue's SSR-stableuseId().#9392: Clean up the standalone build's injected
<head>styles ondestroy()so they no longer linger after SPA-style navigation (Turbo Drive, htmx). The styles are re-attached when a new instance mounts.#9420: fix(api-reference): make x-tagGroups titles navigable from search
Tag group titles appeared as search results but clicking them did nothing,
because the flattened modern layout rendered no element carrying the tag
group id to scroll to. The group now exposes its id as a scroll anchor.
v1.58.0Minor Changes
#9372: Render AsyncAPI
components.schemasas Models, listed in the sidebar and content just like OpenAPI schemas#7618: feat(api-reference): add
setPageTitleto customize the browser tab titlePass a
setPageTitlefunction to control the browser tab title. It is called whenever the section in view changes — on sidebar clicks, on scroll, and when switching documents — and receives the section title and the active OpenAPI document:Patch Changes
#9348: Render AsyncAPI channels as sections in the content area, with the channel address as the heading and the channel description below. Channels are grouped under tags when the navigation tree groups them. Operations and messages are not rendered yet.
#9255: Surface the Introduction entry and any headings extracted from
info.descriptionof AsyncAPI documents in the sidebar, mirroring how OpenAPI documents are handled.#9347: Surface AsyncAPI
info.descriptionheadings in the search modal, mirroring the sidebar behaviour. AsyncAPI channels, operations, and messages are not indexed yet.#9350: feat(api-reference): list Ask AI and MCP Servers as Scalar Docs features in the Deploy popover
#9310: Add an ESM standalone build (
dist/browser/standalone.esm.js) alongside the existing UMD bundle. The new bundle works as a side-effect script (registerswindow.Scalar.createApiReferenceand readsdata-*configuration) and exportscreateApiReferencefor direct ESM consumers. It is fully minified through Rolldown's native minifier and uses code splitting so heavy features load asynchronously after first paint:await import'd insideonMountedinstead of statically imported, moving ~265 KB into achunks/modal-*.jschunk that loads in the background.defineAsyncComponent) becomes a realchunks/AgentScalarChatInterface-*.jschunk (~200 KB), loaded only when the agent is enabled.@scalar/icons/libraryare coalesced into a singlechunks/icons-*.js.Net effect: initial sync load drops from ~3.32 MB (UMD) to ~2.73 MB (ESM) — a ~570 KB improvement — while total bundle size shrinks by ~140 KB.
Also adds an
@scalar/api-client/modal/map-hidden-clients-configdeep export so consumers that only need the lightweight client-list helper don't pull the full modal barrel into their static graph.#9139: fix(api-reference): preserve OAuth redirect URL when switching between OpenAPI documents
Auth changes were being persisted under the wrong document slug and shared a single debounce queue across all documents. When switching documents quickly, the pending save for the first document could be overwritten or dropped by a save for the second document, causing the redirect URL (and other auth secrets) to appear cleared after switching back.
The fix uses
event.documentNameas both the debounce key and the storage key, giving each document its own independent debounce queue.#9194: fix(api-reference): break cycles in
mergeAllOfSchemasfor self-referencing schemas (whether they$refback to themselves through array items or through a plain object property), which previously crashed the docs preview with "too much recursion"#9309: feat: add
modelsSectionLabelconfiguration ('Models' | 'Schemas' | string) to use OpenAPI-style Schemas terminology in the sidebar, content, and search.v1.57.5Patch Changes
#9318: fix: restore response content type selector when expandAllResponses is enabled
Move the content type picker after the disclosure panel so it stacks above expanded response content and remains clickable when
expandAllResponsesis true.v1.57.4v1.57.3Patch Changes
customFetchto the api-reference configuration and forward it to the API client so requests (including "Test Request" calls) use the custom fetch — enabling things likecredentials: 'include'. The previousfetchoption is deprecated and migrated automatically with a console warning.null, whitespace-only, andvalue/externalValue-shaped schema examples correctlyv1.57.2Patch Changes
v1.57.1v1.57.0Minor Changes
WorkspaceDocumentan union of OpenApiDocument and AsyncApiDocumentPatch Changes
#9211: fix(api-reference): clean up deprecated document listeners on destroy
createApiReference()registered three document-level listeners(
scalar:reload-references,scalar:destroy-references,scalar:update-references-config) butdestroy()only unmounted theVue app — the listeners stayed attached forever. In environments that
mount and destroy instances repeatedly (notably the Astro integration's
renderMode="client"with view transitions), each navigation leakedthree permanent listeners on
document.Tie the listeners to an
AbortControllerand abort it fromdestroy()so they all come off in one shot.
#9211: fix: show "Download AsyncAPI Document" label for AsyncAPI documents
#9211: fix: rename the "OAS" version badge to "OpenAPI" and show an "AsyncAPI" badge for AsyncAPI documents
#9211: fix(api-client): block invalid request URLs before send and surface
buildRequestfailures as resultsRequest construction now treats a bad merged URL as a first-class failure instead of throwing deep inside helpers. After
mergeUrls,resolveRequestFactoryUrlrejects incomplete targets when strict mode applies: relative URLs, an empty server base, or path strings that still contain unresolved{{variable}}placeholders. Callers may setallowMissingRequestServerBasewhere a full absolute URL is intentionally optional (for example the embedded modal layout inOperationBlock, or API ReferenceonBeforeRequesthooks that build against the document origin).buildRequestreturns aResult(ok/err) with stable error codes such asMISSING_REQUEST_SERVER_BASE,INVALID_REQUEST_FACTORY_URL, andBUILD_REQUEST_FAILEDfor unexpected synchronous failures. Those failures are wrapped withsafeRunfrom@scalar/helpers, which logs toconsole.errorand maps throws to a string message on the result. The API Reference plugin path logs and skipsonBeforeRequestwhen a preview request cannot be built, so user hooks never run against a half-built fetch payload.Downstream packages (
api-client,api-reference,scalar-appwhere applicable) unwrap the result, show toasts or logs, and avoid callingsendRequestuntil the URL is valid.#9211: fix(api-reference): improve search ranking for parameter, request-body, and model field names, including polymorphic (oneOf/anyOf/allOf) schemas
#9211: fix: resolve $ref in additionalProperties before rendering schema
#9211: chore: use the new schemas
#9211: Fix mobile sidebar z-index to ensure it appears above all content when open
#9211: Avoid repeating request body schema descriptions above collapsed overflow properties.
#9211: feat: add more analytics events
#9211: fix: agent scalar warnings
#9211: fix(api-reference): lower badge style specificity
#9211: fix: posthog stream warning
v1.55.3Patch Changes
v1.55.2Patch Changes
v1.55.1Patch Changes
v1.55.0Minor Changes
operation.security ?? document.security; hover reveals the scheme names, types, and any required scopes.Patch Changes
v1.54.0Minor Changes
operation.security ?? document.security; hover reveals the scheme names, types, and any required scopes.Patch Changes
v1.53.1v1.53.0Minor Changes
v1.52.6v1.52.5v1.52.4Patch Changes
position: fixedon.section-flareso the decorative hero flare stops reserving 100vh of empty space at the top of the documentation (affects thekepler,bluePlanet, andmarsthemes, which declareheight: 100vhon the flare but rely on the framework to position it)v1.52.3Patch Changes
v1.52.2Patch Changes
v1.52.1Patch Changes
v1.52.0Minor Changes
Patch Changes
v1.51.0Minor Changes
Patch Changes
v1.50.0Minor Changes
Patch Changes
v1.49.8Patch Changes
v1.49.7Patch Changes
v1.49.6Patch Changes
v1.49.5Patch Changes
v1.49.4Patch Changes
v1.49.3Patch Changes
v1.49.2Patch Changes
v1.49.1Patch Changes
v1.49.0Minor Changes
Patch Changes
Updated Dependencies
@scalar/workspace-store@0.40.2
@scalar/api-client@2.38.1
@scalar/openapi-parser@0.25.4
@scalar/components@0.20.9
@scalar/agent-chat@0.9.9
@scalar/oas-utils@0.10.8
@scalar/sidebar@0.8.9
v1.48.8Patch Changes
Updated Dependencies
@scalar/api-client@2.38.0
@scalar/agent-chat@0.9.8
@scalar/workspace-store@0.40.1
@scalar/oas-utils@0.10.7
@scalar/sidebar@0.8.8
@scalar/components@0.20.8
v1.48.7Patch Changes
Updated Dependencies
@scalar/workspace-store@0.40.0
@scalar/api-client@2.37.0
@scalar/agent-chat@0.9.7
@scalar/oas-utils@0.10.6
@scalar/sidebar@0.8.7
@scalar/components@0.20.7
v1.48.6Patch Changes
Updated Dependencies
@scalar/api-client@2.36.2
@scalar/components@0.20.6
@scalar/helpers@0.4.1
@scalar/agent-chat@0.9.6
@scalar/sidebar@0.8.6
@scalar/oas-utils@0.10.5
@scalar/openapi-parser@0.25.3
@scalar/types@0.7.3
@scalar/workspace-store@0.39.2
@scalar/snippetz@0.7.4
v1.48.5Patch Changes
<a>HTML tag fordocumentDownloadType: directUpdated Dependencies
@scalar/workspace-store@0.39.1
@scalar/api-client@2.36.1
@scalar/snippetz@0.7.3
@scalar/sidebar@0.8.5
@scalar/agent-chat@0.9.5
@scalar/oas-utils@0.10.4
@scalar/components@0.20.5
v1.48.4Patch Changes
Updated Dependencies
@scalar/api-client@2.36.0
@scalar/agent-chat@0.9.4
v1.48.2Patch Changes
Updated Dependencies
@scalar/types@0.7.1
@scalar/agent-chat@0.9.2
@scalar/api-client@2.34.1
@scalar/oas-utils@0.10.2
@scalar/openapi-parser@0.25.1
@scalar/snippetz@0.7.1
@scalar/workspace-store@0.38.1
@scalar/components@0.20.3
@scalar/sidebar@0.8.3
v1.48.1Patch Changes
Updated Dependencies
@scalar/workspace-store@0.38.0
@scalar/api-client@2.34.0
@scalar/components@0.20.2
@scalar/agent-chat@0.9.1
@scalar/oas-utils@0.10.1
@scalar/sidebar@0.8.2
@scalar/openapi-parser@0.25.1
v1.48.0Minor Changes
Patch Changes
Updated Dependencies
@scalar/agent-chat@0.9.0
@scalar/workspace-store@0.37.0
@scalar/api-client@2.33.0
@scalar/oas-utils@0.10.0
@scalar/sidebar@0.8.1
@scalar/components@0.20.1
v1.47.0Minor Changes
Patch Changes
Updated Dependencies
@scalar/workspace-store@0.36.0
@scalar/code-highlight@0.3.0
@scalar/openapi-parser@0.25.0
@scalar/openapi-types@0.6.0
@scalar/agent-chat@0.8.0
@scalar/api-client@2.32.0
@scalar/components@0.20.0
@scalar/use-toasts@0.10.0
@scalar/oas-utils@0.9.0
@scalar/use-hooks@0.4.0
@scalar/snippetz@0.7.0
@scalar/helpers@0.3.0
@scalar/sidebar@0.8.0
@scalar/themes@0.15.0
@scalar/icons@0.6.0
@scalar/types@0.7.0
v1.46.4Patch Changes
v1.46.3Patch Changes
Updated Dependencies
@scalar/openapi-types@0.5.4
$refproperty in theReferenceObjecttype required@scalar/components@0.19.15
@scalar/oas-utils@0.8.3
@scalar/helpers@0.2.18
@scalar/api-client@2.31.3
@scalar/agent-chat@0.7.3
@scalar/openapi-parser@0.24.17
@scalar/sidebar@0.7.46
@scalar/workspace-store@0.35.3
@scalar/types@0.6.10
@scalar/snippetz@0.6.19
v1.46.2Patch Changes
Updated Dependencies
@scalar/themes@0.14.3
@scalar/agent-chat@0.7.2
@scalar/api-client@2.31.2
@scalar/code-highlight@0.2.4
@scalar/components@0.19.14
@scalar/oas-utils@0.8.2
@scalar/sidebar@0.7.45
v1.46.1Patch Changes
Updated Dependencies
@scalar/workspace-store@0.35.2
@scalar/api-client@2.31.1
@scalar/helpers@0.2.17
@scalar/oas-utils@0.8.1
@scalar/agent-chat@0.7.1
@scalar/sidebar@0.7.44
@scalar/components@0.19.13
@scalar/openapi-parser@0.24.16
@scalar/types@0.6.9
@scalar/snippetz@0.6.18
v1.46.0Minor Changes
Patch Changes
Updated Dependencies
@scalar/agent-chat@0.7.0
@scalar/api-client@2.31.0
@scalar/oas-utils@0.8.0
@scalar/components@0.19.12
@scalar/themes@0.14.2
@scalar/workspace-store@0.35.1
@scalar/sidebar@0.7.43
@scalar/code-highlight@0.2.4
v1.44.27Patch Changes
Configuration
📅 Schedule: (UTC)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.