Update the bundled Scalar UI to 1.60.0 (v0.6.8)#100
Merged
Conversation
Dependabot flagged @scalar/api-reference 1.60.0. It is an additive minor — a content.start plugin slot and an opt-in sidebar for plugin views, plus a handful of rendering fixes (composition nesting, deep links into collapsed schemas, response descriptions, the loading skeleton, a 1000px sidebar overlap). None of it touches the standalone build or the #api-reference/data-url bootstrap both UIs rely on, so no page or CSP change is needed. The version is pinned in several places that have to move together or the parity tests fail: the package.json tracker, the CDN version and sha384 SRI in ui/scalar, and the vendored bundle, version, and go:generate URL in ui/scalaremb, plus both pinning tests. The new standalone.js is byte-identical between the npm tarball and the pinned jsDelivr URL, and the SRI is recomputed from those bytes.
1c5ead2 to
809b3ca
Compare
FumingPower3925
added a commit
that referenced
this pull request
Jun 17, 2026
Dependabot flagged @scalar/api-reference 1.60.0. It is an additive minor — a content.start plugin slot and an opt-in sidebar for plugin views, plus a handful of rendering fixes (composition nesting, deep links into collapsed schemas, response descriptions, the loading skeleton, a 1000px sidebar overlap). None of it touches the standalone build or the #api-reference/data-url bootstrap both UIs rely on, so no page or CSP change is needed. The version is pinned in several places that have to move together or the parity tests fail: the package.json tracker, the CDN version and sha384 SRI in ui/scalar, and the vendored bundle, version, and go:generate URL in ui/scalaremb, plus both pinning tests. The new standalone.js is byte-identical between the npm tarball and the pinned jsDelivr URL, and the SRI is recomputed from those bytes.
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.
Dependabot PR #99 bumps
@scalar/api-reference1.59.3 → 1.60.0, but that PR only edits thepackage.jsontracker — on its own it turns CI red, because the parity tests assert the tracker matches the Go pins. This PR moves every pin together and re-vendors the embedded bundle, superseding #99.What 1.60.0 is
An additive minor: a
content.startplugin view slot and an opt-insidebarfor plugin views, plus rendering fixes (composition nesting, deep links into collapsed schemas, response descriptions, loading skeleton, a 1000px sidebar overlap). No breaking changes; the standalone build and the#api-reference/data-urlauto-mount both UIs use are untouched and undeprecated.Changes
package.json:@scalar/api-reference→ 1.60.0ui/scalar:scalarVersion+scalarSRIHash(sha384) repinnedui/scalaremb: re-vendoredassets/standalone.js,scalarVersion+go:generateURL bumpedVerification
latest, carries SLSA provenance + a registry signature, and its tarball integrity matches the publisheddist.integrity.scalar.comhost references is unchanged from 1.59.3 — no new off-origin call.go build,go vet, the full-racesuite, and the pinning/parity tests pass; a headless-Chrome render of both the CDN and embedded UIs passes under the strict CSP.