Skip to content

Update the bundled Scalar UI to 1.60.0 (v0.6.8)#100

Merged
FumingPower3925 merged 2 commits into
mainfrom
scalar-1.60.0
Jun 17, 2026
Merged

Update the bundled Scalar UI to 1.60.0 (v0.6.8)#100
FumingPower3925 merged 2 commits into
mainfrom
scalar-1.60.0

Conversation

@FumingPower3925

Copy link
Copy Markdown
Owner

Dependabot PR #99 bumps @scalar/api-reference 1.59.3 → 1.60.0, but that PR only edits the package.json tracker — 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.start plugin view slot and an opt-in sidebar for 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-url auto-mount both UIs use are untouched and undeprecated.

Changes

  • package.json: @scalar/api-reference → 1.60.0
  • ui/scalar: scalarVersion + scalarSRIHash (sha384) repinned
  • ui/scalaremb: re-vendored assets/standalone.js, scalarVersion + go:generate URL bumped
  • both pinning tests repinned

Verification

  • npm 1.60.0 is latest, carries SLSA provenance + a registry signature, and its tarball integrity matches the published dist.integrity.
  • The vendored bytes are byte-identical to both the npm tarball and the pinned jsDelivr URL; the sha384 SRI is recomputed from those bytes.
  • The set of scalar.com host references is unchanged from 1.59.3 — no new off-origin call.
  • go build, go vet, the full -race suite, and the pinning/parity tests pass; a headless-Chrome render of both the CDN and embedded UIs passes under the strict CSP.

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.
@FumingPower3925 FumingPower3925 merged commit fc56a12 into main Jun 17, 2026
38 checks passed
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.
@FumingPower3925 FumingPower3925 deleted the scalar-1.60.0 branch June 17, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant