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

Create Release #92

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Create Release #92

merged 1 commit into from
Aug 22, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 21, 2023

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.

Releases

@zarrita/core@0.0.2

Patch Changes

  • feat: Add openConsolidated helper (6e7df4f)

    A utility for working with v2 consolidated metadata.

    import * as zarr from "zarrita";
    
    let store = new zarr.FetchStore("http://localhost:8080/data.zarr");
    let hierarchy = await zarr.openConsolidated(store);
    hierarchy.contents;
    // Map {
    //  "/" => Group,
    //  "/foo" => Array,
    //  "/bar" => Group,
    //  "/bar/baz" => Array,
    // }
    let grp = hierarchy.root(); // Group
    let foo = hierarchy.open("/foo", { kind: "array" }); // Array
    let baz = hierarchy.open(grp.resolve("bar/baz"), { kind: "array" }); // Array
    let bar = hierarchy.open(baz.resolve(".."), { kind: "group" }); // Group
  • feat: Support reading ZEP0002 sharded indexing (#94)

  • Updated dependencies [b90fd33]:

    • @zarrita/storage@0.0.2

@zarrita/indexing@0.0.2

Patch Changes

@zarrita/ndarray@0.0.2

Patch Changes

  • Updated dependencies [6e7df4f, 89a2744, b90fd33]:
    • @zarrita/core@0.0.2
    • @zarrita/storage@0.0.2
    • @zarrita/indexing@0.0.2

@zarrita/storage@0.0.2

Patch Changes

  • feat: Support partial reads from Readable (#93)

    Introduces the Readable.getRange method, which can be optionally implemented by a store to support partial reads.
    The RangeQuery param is inspired by the HTTP Range header.
    Allowing the suffixLength query means the store can decide the best way to return the final N bytes from a file.

    const store = new FetchStore("http://localhost:8080/data.zarr");
    await store.getRange("/foo.json", { suffixLength: 100 });
    await store.getRange("/foo.json", { offset: 10, length: 20 });

zarrita@0.3.1

Patch Changes

  • feat: eagerly read attributes for v2 (6e7df4f)

    Replaces the lazy .attrs() method on zarr.Array and zarr.Group with .attrs attribute.
    Instead for v2, .zattrs (JSON) is eagerly loaded when opening a node.

    // loads .zattrs by default
    (await zarr.open.v2(store)).attrs; // { answer: 42 }
    
    // can be disabled
    (await zarr.open.v2(store, { attrs: false })).attrs; // {}
  • feat: Add openConsolidated helper (6e7df4f)

    A utility for working with v2 consolidated metadata.

    import * as zarr from "zarrita";
    
    let store = new zarr.FetchStore("http://localhost:8080/data.zarr");
    let hierarchy = await zarr.openConsolidated(store);
    hierarchy.contents;
    // Map {
    //  "/" => Group,
    //  "/foo" => Array,
    //  "/bar" => Group,
    //  "/bar/baz" => Array,
    // }
    let grp = hierarchy.root(); // Group
    let foo = hierarchy.open("/foo", { kind: "array" }); // Array
    let baz = hierarchy.open(grp.resolve("bar/baz"), { kind: "array" }); // Array
    let bar = hierarchy.open(baz.resolve(".."), { kind: "group" }); // Group
  • feat: Support reading ZEP0002 sharded indexing (#94)

  • Updated dependencies [6e7df4f, 89a2744, b90fd33]:

    • @zarrita/core@0.0.2
    • @zarrita/storage@0.0.2
    • @zarrita/indexing@0.0.2

@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from a16f01e to a75818c Compare August 22, 2023 01:04
@github-actions github-actions bot force-pushed the changeset-release/main branch from a75818c to 3e267d9 Compare August 22, 2023 15:43
@manzt manzt merged commit a84eba3 into main Aug 22, 2023
@manzt manzt deleted the changeset-release/main branch August 22, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant