fix(deps): update scalar monorepo to v1.58.0#4
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
98312d9 to
eadf676
Compare
eadf676 to
fd4d141
Compare
fd4d141 to
25aaf8f
Compare
25aaf8f to
f30dcda
Compare
f30dcda to
ff4cdf3
Compare
ff4cdf3 to
741cb0c
Compare
741cb0c to
26490b7
Compare
26490b7 to
718a966
Compare
123e5b8 to
f703d6b
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
f703d6b to
77eaadb
Compare
77eaadb to
bf494a4
Compare
bf494a4 to
4a49f8a
Compare
4a49f8a to
72158c2
Compare
72158c2 to
207019a
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.58.0Release Notes
scalar/scalar (@scalar/api-reference)
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
Updated Dependencies
@scalar/agent-chat@0.5.18
@scalar/types@0.6.8
@scalar/api-client@2.29.4
@scalar/oas-utils@0.6.48
@scalar/openapi-parser@0.24.15
@scalar/snippetz@0.6.17
@scalar/workspace-store@0.34.4
@scalar/components@0.19.10
@scalar/sidebar@0.7.41
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.