Skip to content

Bump swagger-ui-dist to 5.32.14 and DocSearch to 3.9.0, refresh SRI hashes - #2744

Merged
chalin merged 1 commit into
docsy:mainfrom
chalin:chalin-m24-sri-bumps-2026-0826
Aug 26, 2026
Merged

chalin merged 1 commit into
docsy:mainfrom
chalin:chalin-m24-sri-bumps-2026-0826

Conversation

@chalin

@chalin chalin commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator
  • swagger-ui-dist 5.21.0 → 5.32.14 (unpkg, sha384) and DocSearch js/css 3.8.2 → 3.9.0 (jsDelivr, sha512): routine pin bumps of the hardcoded CDN loads; both versions past release cooldown, changelog scans clean for our classic-bundle and UMD usage.
  • SRI hashes regenerated from the npm tarballs (not the CDN responses), then verified byte-identical against what each CDN serves.
  • DocSearch URLs now name the file path explicitly (/dist/umd/index.js, /dist/style.css): jsDelivr's extensionless default entry is dynamically generated (it prepends a banner), so its bytes never match a tarball-derived SRI hash — jsDelivr itself warns against SRI on such URLs.
  • Validated with npm run test:repo and a rendered check (swagger-layout page + DocSearch box, no console/SRI errors).

@chalin
chalin marked this pull request as ready for review August 26, 2026 15:36
@chalin
chalin merged commit 710619d into docsy:main Aug 26, 2026
17 checks passed
@chalin chalin added this to the 0.17.0 milestone Aug 26, 2026
@chalin
chalin deleted the chalin-m24-sri-bumps-2026-0826 branch August 26, 2026 16:29
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