René's URL Explorer Experiment


Title: fix(deps): update dependency @scalar/api-reference to v1.62.1 by renovate[bot] · Pull Request #4 · codize-dev/api-docs · GitHub

Open Graph Title: fix(deps): update dependency @scalar/api-reference to v1.62.1 by renovate[bot] · Pull Request #4 · codize-dev/api-docs

X Title: fix(deps): update dependency @scalar/api-reference to v1.62.1 by renovate[bot] · Pull Request #4 · codize-dev/api-docs

Description: ℹ️ Note This PR body was truncated due to platform limits. This PR contains the following updates: Package Change Age Confidence @scalar/api-reference (source) 1.44.26 → 1.62.1 Release Notes scalar/scalar (@​scalar/api-reference) v1.62.1 Patch Changes #​9575: Render the discriminator variant dropdown for object schemas that only declare a discriminator.mapping (no explicit oneOf/anyOf), which is the shape NSwag emits for polymorphic types #​9483: Render JSON Schema 2020-12 $dynamicRef in schemas, so generic patterns like PaginatedResponse show their concrete bound item type (for example User[]) instead of an empty shape. The reference threads the active dynamic scope through the schema tree and binds each $dynamicRef to the matching $dynamicAnchor. #​9587: Fix Maximum call stack size exceeded crash when rendering a schema whose self-reference is reached through an allOf branch v1.62.0 Minor Changes #​9597: Add API Reference UI localization configuration with built-in English, Russian, Spanish, French, German, Simplified Chinese and Arabic translations, including automatic RTL direction for Arabic locales. Update the shared theme reset so text inputs align to the logical start by default for RTL documents. Add a mergeObjects deep-merge helper to @scalar/helpers, used by the localization layer to merge translation overrides onto the built-in locale. #​9568: Add AsyncAPI protocol and server pickers to the sidebar (like the multi-document picker) that filter the navigation down to the operations reachable over the selected protocol/server #​9543: Add the x-scalar-links OpenAPI extension to render extra named links (like a privacy policy or imprint) next to the contact, license and terms of service links in the introduction. Patch Changes #​9545: Render the divider between the contact email and url links in the introduction, so they are separated like the other info links. #​8519: refactor: extract the code example block into @scalar/blocks/code-example. api-client, api-client-react, and api-reference now import CodeExample, findClient, generateClientOptions, and the related helpers from the new package. workspace-store exports isParamDisabled with an optional defaultDisabled argument. Breaking (@scalar/api-client): the @scalar/api-client/blocks/operation-code-sample and @scalar/api-client/v2/blocks/operation-code-sample export paths have been removed. Import from @scalar/blocks/code-example instead, and use the renamed CodeExample / CodeExampleProps (previously OperationCodeSample / OperationCodeSampleProps). #​9578: Show the propertyNames type and format (e.g. string · uuid) for a map of additional properties, so key constraints are no longer dropped from the rendered schema #​9548: Keep request and response example pickers in sync across operations. Selecting an example (e.g. "Use case 1") now selects the example with the same key on every other operation that defines it, mirroring how the programming-language selection already syncs. Operations that do not have a matching example keep their current selection. v1.61.0 Minor Changes #​9520: Render AsyncAPI operations and their messages (with payload and header schemas) nested inside each channel, in both the modern and classic layouts #​9569: Show server and protocol labels when rendering AsyncAPI channels and messages: each channel header lists the servers it's available on and their protocols, and each message surfaces every protocol it's carried over (its channel's server protocols unioned with its own binding protocols) #​9515: feat: add requestBuilt client plugin hook and onRequestBuilt configuration callback that receive the exact fetch Request that is sent over the wire The hook runs after the request has been built, right before it is sent. Header mutations apply to the outgoing request and the body bytes match what the server receives, which makes request signing possible: hashing the body of a rebuilt multipart/form-data request would produce a different multipart boundary than the request that is actually sent. Patch Changes #​9559: Render an object's own properties when they are factored out alongside a composition keyword (anyOf/oneOf/allOf/not) #​9542: Fix an SSR hydration mismatch in the injected