Skip to content

Bump the bundled UI versions (Scalar 1.61.0, Swagger UI 5.32.8, Stoplight 9.0.23)#106

Merged
FumingPower3925 merged 1 commit into
mainfrom
ui-bundles-bump
Jun 24, 2026
Merged

Bump the bundled UI versions (Scalar 1.61.0, Swagger UI 5.32.8, Stoplight 9.0.23)#106
FumingPower3925 merged 1 commit into
mainfrom
ui-bundles-bump

Conversation

@FumingPower3925

Copy link
Copy Markdown
Owner

Supersedes #105 (the Dependabot all-ui-bundles group bump). Dependabot only edits the package.json tracker, which on its own turns CI red — the parity tests assert it matches the Go pins. This moves every pin together and re-vendors the embedded bundles.

Updates

  • @scalar/api-reference 1.60.0 → 1.61.0 (minor)
  • swagger-ui-dist 5.32.6 → 5.32.8 (two patches)
  • @stoplight/elements 9.0.22 → 9.0.23 (patch)

(redoc and typescript unchanged.)

Safety review (changelogs + bytes)

  • Scalar 1.61.0 — clean minor: AsyncAPI rendering, an opt-in onRequestBuilt hook (stdocs never sets it), schema-composition fixes. All four CSP-safe default keys survive (showDeveloperTools, agent.disabled, mcp.disabled, withDefaultFonts); data-url/data-configuration bootstrap unchanged; no new third-party origin.
  • Swagger UI 5.32.8 — patches only (bundled dompurify/js-yaml bumps + a try-it-out param-prefill fix); SwaggerUIBundle/validatorUrl/filenames untouched. JS bundle re-pinned; CSS unchanged; the hash-pinned inline init is unaffected.
  • Stoplight 9.0.23 — security/CI patch; web-components.min.js and styles.min.css are byte-identical to 9.0.22, so only the version string moves.
  • Bytes: for each bundle, npm tarball integrity matches the published dist.integrity, jsDelivr == tarball, the sha384 SRI is recomputed from those bytes, and the scalar.com host set is unchanged.

Verification

gofmt/build/vet/-race/golangci-lint clean; the network-backed pinning + SRI parity + CSP parity + config tests pass; the full headless-Chrome uismoke suite passes (Scalar's CSP-safe defaults still hide the chrome under 1.61.0, all UIs boot under their CSP with no violations).

…ight 9.0.23) (#106)

Dependabot flagged the all-ui-bundles group. Move every pin together so
the parity tests stay green: package.json, the CDN version + sha384 SRI
in ui/scalar and ui/swaggerui, the version + go:generate URL + re-vendored
bundle in each *emb twin, and the pinning-test hashes.

Scalar 1.61.0 is a clean minor (AsyncAPI rendering, an opt-in
onRequestBuilt hook stdocs never sets, schema-composition fixes); it
keeps the config keys the CSP-safe defaults use (showDeveloperTools,
agent.disabled, mcp.disabled, withDefaultFonts) and the data-url /
data-configuration bootstrap, and adds no new third-party origin. Swagger
UI 5.32.6->5.32.8 is two patches (bundled dompurify/js-yaml bumps plus a
try-it-out param-prefill fix) with no init-API or filename change; its JS
bundle bytes change (SRI re-pinned) but the CSS is unchanged, and the
hash-pinned inline init is untouched. Stoplight 9.0.23 is a security/CI
patch whose web-components.min.js and styles.min.css are byte-identical
to 9.0.22, so only the version string moves.

Each bundle was verified by bytes: npm tarball integrity matches the
published dist.integrity, the jsDelivr copy equals the tarball, the
sha384 SRI is recomputed from those bytes, and the scalar.com host set is
unchanged from the prior pin.
@FumingPower3925 FumingPower3925 merged commit d958457 into main Jun 24, 2026
38 checks passed
@FumingPower3925 FumingPower3925 deleted the ui-bundles-bump branch June 24, 2026 14:45
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