diff --git a/CHANGELOG.md b/CHANGELOG.md index eed989a..35c81ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +## [0.1.2] - 2026-05-25 + +### Added + +- Support for pnpm 11 +- Support for OME-Zarr v0.5 + ## [0.1.1] - 2026-04-10 ### Added @@ -49,7 +56,8 @@ Complete package.json Initial release -[unreleased]: https://github.com/TissUUmaps/OMEZarrTileSource/compare/v0.1.1...HEAD +[unreleased]: https://github.com/TissUUmaps/OMEZarrTileSource/compare/v0.1.2...HEAD +[0.1.2]: https://github.com/TissUUmaps/OMEZarrTileSource/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/TissUUmaps/OMEZarrTileSource/compare/v0.0.3...v0.1.1 [0.0.3]: https://github.com/TissUUmaps/OMEZarrTileSource/compare/v0.0.2...v0.0.3 [0.0.2]: https://github.com/TissUUmaps/OMEZarrTileSource/compare/v0.0.1...v0.0.2 diff --git a/README.md b/README.md index 389ff37..ff86ace 100644 --- a/README.md +++ b/README.md @@ -30,33 +30,39 @@ import { OMEZarrTileSource } from "omezarr-tilesource"; const url = ...; -// only necessary when using inline tile source configuration (see below) +// configuration with URL (only works with zipped OME-Zarr URLs ending with .ozx) +const tileSource1 = url; + +// inline configuration with options object (requires prior enabling, see below) OMEZarrTileSource.enable(OpenSeadragon); +const tileSource2 = { + type: "ome-zarr", + url: url, + // zip: undefined, // undefined = OME-Zarr ZIP auto-detection based on .ozx suffix + // t: undefined, + // c: undefined, + // z: undefined +}; + +// direct instantiation with URL (works with any OME-Zarr storage backend) +const tileSource3 = new OMEZarrTileSource(url); + +// direct instantiation with options object (no prior enabling required) +const tileSource4 = new OMEZarrTileSource({ + url: url, + // zip: undefined, // undefined = OME-Zarr ZIP auto-detection based on .ozx suffix + // t: undefined, + // c: undefined, + // z: undefined +}); const viewer = OpenSeadragon( ... tileSources: [ - // configuration with a URL string (only works with OME-Zarr ZIP URLs ending with .ozx) - url, - // inline configuration with an options object (requires prior enabling, see above) - { - type: "ome-zarr", - url: url, - // zip: undefined, // undefined = OME-Zarr ZIP auto-detection based on .ozx suffix - // t: undefined, - // c: undefined, - // z: undefined - }, - // direct instantiation with a URL string (works with any OME-Zarr storage backend) - new OMEZarrTileSource(url), - // direct instantiation with an options object (no prior enabling required) - new OMEZarrTileSource({ - url: url, - // zip: undefined, // undefined = OME-Zarr ZIP auto-detection based on .ozx suffix - // t: undefined, - // c: undefined, - // z: undefined - }) + tileSource1, + tileSource2, + tileSource3, + tileSource4 ] ); ``` diff --git a/index.html b/index.html index b485df6..9fdc157 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,8 @@