Repository navigation
Blob and File input (release v0.7.0) - #16
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16 +/- ##
==========================
==========================
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the v0.7.0 release.
Highlights
urlaccepts aBlob(e.g. aFilefrom an<input type="file">or a drop event) holding a zipped OME-Zarr file, in the options object, the constructor,OMEZarrTileSource.openandloadOMEZarr; it is read with the zarritaZipFileStore.fromBlobstorezipdefaults totruefor aBlob;zip: falseis rejected synchronously by the constructor and byloadOMEZarr, since a single file can only be a zipped OME-Zarrblobproperty holding the configuredBlob;tileSource.urlstays a string and is an object URL created once perBlobinstance (resolveUrlaccepts aBlob), so tile sources for the sameBlobcompare equal and share cached tilessupports, so aFilemust be wrapped as{ type: "ome-zarr", url: file }or passed to the constructor rather than given to the viewer directly (documented in the README)colorsgetter returnsundefined(rendered as white) for omero channel colors that are not six-digit hex strings, instead of colors withNaNcomponentsurlquery parameter is missing (demo only, not part of the published package)The full list is in the changelog.
Release
package.jsonbumped to0.7.0, changelog rolled over to[0.7.0] - 2026-09-17v0.7.0still needs to be pushed after merging to trigger the publish workflowChecks
pnpm run lint,fmt:check,test(no test files) andbuild:libpass. Verified end-to-end in Node (jsdom) against a synthetic zipped OME-Zarr wrapped in aFile: loading,zip: falserejection, shared object URL andequals, tile rendering, and the inline-configuration path through a real OpenSeadragon viewer; the existing URL path renders unchanged.