Skip to content

Upgrade Diva.js from v5.0 to v6.0.2 for IIIF Presentation 3.0 support#936

Open
kyrieb-ekat wants to merge 11 commits intomainfrom
kbdevelop
Open

Upgrade Diva.js from v5.0 to v6.0.2 for IIIF Presentation 3.0 support#936
kyrieb-ekat wants to merge 11 commits intomainfrom
kbdevelop

Conversation

@kyrieb-ekat
Copy link
Contributor

Summary
Fixes #933 - Salzinnes manuscript (123723) not displaying due to IIIF Presentation API version mismatch.

Changes

  • Upgraded Diva.js from v5.0 to v6.0.2 (adds IIIF Presentation 3.0 support)
  • Updated webpack and gulp configs to use new Diva build structure (build/ instead of js/ and css/)
  • Updated Volpiano font from v5.1 to v6.01 (font provider updated their version)
  • Fixed Volpiano extraction path (zip no longer creates subdirectory)

Testing

  • Built successfully locally with webpack/gulp
  • Needs testing on staging with actual manuscript data before merge

Related

Thanks to @ahankinson for guidance on Diva versioning and IIIF Presentation API compatibility issues.
@ahankinson - tagging you FYI in case you want to review the Diva upgrade approach, but no obligation!

…m npm (diva.js@6.0.2)- Old structure: js/, css/, demo/ → New structure: build/, source/- Pre-built files now in build/ directory instead of js/ and css/- Kept v5 backup in diva.js.v5.backup/ (not tracked)- Webpack config will need update to point to build/diva.jsRelated to #933 - needed for IIIF Presentation 3.0 support
…alias from js/diva.js → build/diva.js- gulpfile: Update CSS source from src/styles/diva.min.css → dependencies/diva.js/build/diva.cssPart of Diva v5 → v6.0.2 upgrade
…olpiano51_web.zip to volpiano601_web.zip- Removed subdirectory from extraction path (zip extracts directly)- Files are now at root level, not in volpiano601_web/ subdirectory
@kyrieb-ekat kyrieb-ekat self-assigned this Jan 30, 2026
@kyrieb-ekat kyrieb-ekat added Public Website Currently affecting the production site dependencies Pull requests that update a dependency file IIIF Manifest Errors with IIIF manifests, diva integration, and images for specific manuscripts labels Jan 30, 2026
@ahankinson
Copy link
Member

Thanks @kyrieb-ekat

I’m surprised it didn’t need any changes to the cantus app itself. At least, I can’t see any…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file IIIF Manifest Errors with IIIF manifests, diva integration, and images for specific manuscripts Public Website Currently affecting the production site

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Salzinnes images not loading

2 participants