This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
⚠️⚠️⚠️⚠️⚠️⚠️
main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.
Provides a convenient way to open a store that may or may not have consolidated
metadata. Ideal for usage senarios with known access paths, since store with
consolidated metadata do not incur additional network requests when accessing
underlying groups and arrays.
import * as zarr from "zarrita";
let store = await zarr.tryWithConsolidated(
new zarr.FetchStore("https://localhost:8080/data.zarr");
);
// The following do not read from the store
// (make network requests) if it is consolidated.
let grp = await zarr.open(store, { kind: "group" });
let foo = await zarr.open(grp.resolve("foo"), { kind: "array" });
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
⚠️⚠️⚠️⚠️⚠️⚠️
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.⚠️⚠️⚠️⚠️⚠️⚠️
Releases
@zarrita/core@0.1.0-next.5
Minor Changes
feat: Add
tryWithConsolidated
store helper (#141)Provides a convenient way to open a store that may or may not have consolidated metadata. Ideal for usage senarios with known access paths, since store with consolidated metadata do not incur additional network requests when accessing underlying groups and arrays.
feat: Add
withConsolidated
store utility (#119)BREAKING: Replaces
openConsolidated
to provide a consistent interface for accessing consolidated and non-consolidated stores.@zarrita/indexing@0.1.0-next.7
Minor Changes
feat: Add
withConsolidated
store utility (#119)BREAKING: Replaces
openConsolidated
to provide a consistent interface for accessing consolidated and non-consolidated stores.Patch Changes
191d95c77d2c7902344cd0175ae0044f740d19ba
,4d177d825f7bc241e0906a1b2890cad93f22d8a6
]:zarrita@0.4.0-next.7
Minor Changes
feat: Add
withConsolidated
store utility (#119)BREAKING: Replaces
openConsolidated
to provide a consistent interface for accessing consolidated and non-consolidated stores.Patch Changes
191d95c77d2c7902344cd0175ae0044f740d19ba
,4d177d825f7bc241e0906a1b2890cad93f22d8a6
]:@zarrita/ndarray@0.1.0-next.7
Patch Changes
191d95c77d2c7902344cd0175ae0044f740d19ba
,4d177d825f7bc241e0906a1b2890cad93f22d8a6
]: