Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to Openseadragon v4 #905

Merged
merged 7 commits into from
Oct 17, 2024

Conversation

404mike
Copy link
Contributor

@404mike 404mike commented Jan 23, 2023

Upgrade openseadragon dependancy to version 4.0.0. Current version 2.4.2 contains eval function in production release. Openseadragon has removed this code in its latest release.

@codesandbox
Copy link

codesandbox bot commented Jan 23, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@vercel
Copy link

vercel bot commented Jan 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
universalviewer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 11:10am

Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @404mike -- I noticed that build is failing here -- I think the comment below explains why. Let me know if I can do more to help!

@LlGC-szw
Copy link

@404mike Could report on progress on this please?

dependabot bot and others added 3 commits October 7, 2024 17:05
Bumps [ws](https://github.com/websockets/ws) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@5.2.3...5.2.4)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…ot/npm_and_yarn/ws-5.2.4

Bump ws from 5.2.3 to 5.2.4
@demiankatz
Copy link
Contributor

Thanks, @404mike. Next questions:

1.) I see that there are some newer openseadragon versions available now -- 4.1.1 and 5.0.0 being possible candidates for a next step forward. Do we want to merge this first as an incremental step, or should we try out the newer releases?

2.) Assuming we want to stick with the version that's chosen here, would you like some help testing this? I imagine it would be a good idea to carefully put OSD through its paces to be sure nothing has broken, given the large version jump here.

@404mike
Copy link
Contributor Author

404mike commented Oct 17, 2024

@demiankatz v4 seems fine. v5 doesn't work quite right.

It throws an error OpenSeadragonCenterPanel.ts:420 Error adding handler for tile-drawn. The WebGLDrawer does not raise the tile-drawn event. The viewer continually displays the spinning icon in the main viewer panel.

@demiankatz demiankatz changed the base branch from main to dev October 17, 2024 10:52
@demiankatz
Copy link
Contributor

@404mike, I noticed that this was targeted against the main branch but needed to be updated to target dev instead. I've made the necessary adjustments so it can end up in the correct location.

Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me so far, but I'd appreciate if @LanieOkorodudu or others could also take a look!

@demiankatz
Copy link
Contributor

I've also gone ahead and bumped this to 4.1.1 so we're on the latest 4.x release; it seems to work just as well as 4.0.0.

@LanieOkorodudu
Copy link
Collaborator

This looks good to me so far, but I'd appreciate if @LanieOkorodudu or others could also take a look!

Looks good for me too @demiankatz

@404mike
Copy link
Contributor Author

404mike commented Oct 17, 2024

Thank you @demiankatz @LanieOkorodudu

@demiankatz
Copy link
Contributor

Thanks, everyone -- merging now!

@demiankatz demiankatz merged commit 3ea267b into UniversalViewer:dev Oct 17, 2024
2 checks passed
@404mike 404mike deleted the openseadragon-v4 branch March 11, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

5 participants