From 5ce323916edebd044c8dc32516160ded4a58815c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 22 Aug 2023 21:42:59 -0400 Subject: [PATCH] Version Packages (#97) --- .changeset/nice-jars-explode.md | 38 ------------------------------- packages/core/CHANGELOG.md | 36 +++++++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/indexing/CHANGELOG.md | 39 ++++++++++++++++++++++++++++++++ packages/indexing/package.json | 2 +- packages/ndarray/CHANGELOG.md | 40 +++++++++++++++++++++++++++++++++ packages/ndarray/package.json | 2 +- packages/zarrita/CHANGELOG.md | 40 +++++++++++++++++++++++++++++++++ packages/zarrita/package.json | 2 +- 9 files changed, 159 insertions(+), 42 deletions(-) delete mode 100644 .changeset/nice-jars-explode.md diff --git a/.changeset/nice-jars-explode.md b/.changeset/nice-jars-explode.md deleted file mode 100644 index daccee97..00000000 --- a/.changeset/nice-jars-explode.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -"@zarrita/indexing": patch -"@zarrita/ndarray": patch -"zarrita": patch -"@zarrita/core": patch ---- - -feat: Support `VLenUTF8` codec in v2 and introduce a strided JS "object" Array. - -```python -import zarr -import numcodecs - -zarr.create_dataset( - "data.zarr", - data=np.array( - [[["a", "aa"], ["aaa", "aaaa"]], - [["b", "bb"], ["bbb", "bbbb"]]], - dtype=object - ), - dtype="|O", - object_codec=numcodecs.VLenUTF8(), - chunks=(1, 1, 2), -) -``` - -```typescript -import * as zarr from "zarrita"; - -let store = zarr.FetchStore("http://localhost:8080/data.zarr"); -let arr = await zarr.open.v2(store, { kind: "array" }); -let result = zarr.get(arr); -// { -// data: ["a", "aa", "aaa", "aaaa", "b", "bb", "bbb", "bbbb"], -// shape: [2, 2, 2], -// stride: [4, 2, 1], -// } -``` diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e49fb462..0619eead 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,41 @@ # @zarrita/core +## 0.0.3 + +### Patch Changes + +- feat: Support `VLenUTF8` codec in v2 and introduce a strided JS "object" Array. ([#96](https://github.com/manzt/zarrita.js/pull/96)) + + ```python + import zarr + import numcodecs + + zarr.create_dataset( + "data.zarr", + data=np.array( + [[["a", "aa"], ["aaa", "aaaa"]], + [["b", "bb"], ["bbb", "bbbb"]]], + dtype=object + ), + dtype="|O", + object_codec=numcodecs.VLenUTF8(), + chunks=(1, 1, 2), + ) + ``` + + ```typescript + import * as zarr from "zarrita"; + + let store = zarr.FetchStore("http://localhost:8080/data.zarr"); + let arr = await zarr.open.v2(store, { kind: "array" }); + let result = zarr.get(arr); + // { + // data: ["a", "aa", "aaa", "aaaa", "b", "bb", "bbb", "bbbb"], + // shape: [2, 2, 2], + // stride: [4, 2, 1], + // } + ``` + ## 0.0.2 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index e1de2c24..771015aa 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@zarrita/core", "type": "module", - "version": "0.0.2", + "version": "0.0.3", "sideEffects": false, "main": "dist/src/index.js", "scripts": { diff --git a/packages/indexing/CHANGELOG.md b/packages/indexing/CHANGELOG.md index fc90cfeb..471abfdb 100644 --- a/packages/indexing/CHANGELOG.md +++ b/packages/indexing/CHANGELOG.md @@ -1,5 +1,44 @@ # @zarrita/indexing +## 0.0.3 + +### Patch Changes + +- feat: Support `VLenUTF8` codec in v2 and introduce a strided JS "object" Array. ([#96](https://github.com/manzt/zarrita.js/pull/96)) + + ```python + import zarr + import numcodecs + + zarr.create_dataset( + "data.zarr", + data=np.array( + [[["a", "aa"], ["aaa", "aaaa"]], + [["b", "bb"], ["bbb", "bbbb"]]], + dtype=object + ), + dtype="|O", + object_codec=numcodecs.VLenUTF8(), + chunks=(1, 1, 2), + ) + ``` + + ```typescript + import * as zarr from "zarrita"; + + let store = zarr.FetchStore("http://localhost:8080/data.zarr"); + let arr = await zarr.open.v2(store, { kind: "array" }); + let result = zarr.get(arr); + // { + // data: ["a", "aa", "aaa", "aaaa", "b", "bb", "bbb", "bbbb"], + // shape: [2, 2, 2], + // stride: [4, 2, 1], + // } + ``` + +- Updated dependencies [[`97e7df1`](https://github.com/manzt/zarrita.js/commit/97e7df188efa5e6ef343edca35c3d16862149920)]: + - @zarrita/core@0.0.3 + ## 0.0.2 ### Patch Changes diff --git a/packages/indexing/package.json b/packages/indexing/package.json index b0abb38e..a2736ac2 100644 --- a/packages/indexing/package.json +++ b/packages/indexing/package.json @@ -1,7 +1,7 @@ { "name": "@zarrita/indexing", "type": "module", - "version": "0.0.2", + "version": "0.0.3", "sideEffects": false, "scripts": { "build": "tsc", diff --git a/packages/ndarray/CHANGELOG.md b/packages/ndarray/CHANGELOG.md index c57192dd..37944832 100644 --- a/packages/ndarray/CHANGELOG.md +++ b/packages/ndarray/CHANGELOG.md @@ -1,5 +1,45 @@ # @zarrita/ndarray +## 0.0.3 + +### Patch Changes + +- feat: Support `VLenUTF8` codec in v2 and introduce a strided JS "object" Array. ([#96](https://github.com/manzt/zarrita.js/pull/96)) + + ```python + import zarr + import numcodecs + + zarr.create_dataset( + "data.zarr", + data=np.array( + [[["a", "aa"], ["aaa", "aaaa"]], + [["b", "bb"], ["bbb", "bbbb"]]], + dtype=object + ), + dtype="|O", + object_codec=numcodecs.VLenUTF8(), + chunks=(1, 1, 2), + ) + ``` + + ```typescript + import * as zarr from "zarrita"; + + let store = zarr.FetchStore("http://localhost:8080/data.zarr"); + let arr = await zarr.open.v2(store, { kind: "array" }); + let result = zarr.get(arr); + // { + // data: ["a", "aa", "aaa", "aaaa", "b", "bb", "bbb", "bbbb"], + // shape: [2, 2, 2], + // stride: [4, 2, 1], + // } + ``` + +- Updated dependencies [[`97e7df1`](https://github.com/manzt/zarrita.js/commit/97e7df188efa5e6ef343edca35c3d16862149920)]: + - @zarrita/indexing@0.0.3 + - @zarrita/core@0.0.3 + ## 0.0.2 ### Patch Changes diff --git a/packages/ndarray/package.json b/packages/ndarray/package.json index 27441f79..e5421b6d 100644 --- a/packages/ndarray/package.json +++ b/packages/ndarray/package.json @@ -1,7 +1,7 @@ { "name": "@zarrita/ndarray", "type": "module", - "version": "0.0.2", + "version": "0.0.3", "sideEffects": false, "scripts": { "build": "tsc", diff --git a/packages/zarrita/CHANGELOG.md b/packages/zarrita/CHANGELOG.md index 61dc1dc2..6c9e29cb 100644 --- a/packages/zarrita/CHANGELOG.md +++ b/packages/zarrita/CHANGELOG.md @@ -1,5 +1,45 @@ # zarrita +## 0.3.2 + +### Patch Changes + +- feat: Support `VLenUTF8` codec in v2 and introduce a strided JS "object" Array. ([#96](https://github.com/manzt/zarrita.js/pull/96)) + + ```python + import zarr + import numcodecs + + zarr.create_dataset( + "data.zarr", + data=np.array( + [[["a", "aa"], ["aaa", "aaaa"]], + [["b", "bb"], ["bbb", "bbbb"]]], + dtype=object + ), + dtype="|O", + object_codec=numcodecs.VLenUTF8(), + chunks=(1, 1, 2), + ) + ``` + + ```typescript + import * as zarr from "zarrita"; + + let store = zarr.FetchStore("http://localhost:8080/data.zarr"); + let arr = await zarr.open.v2(store, { kind: "array" }); + let result = zarr.get(arr); + // { + // data: ["a", "aa", "aaa", "aaaa", "b", "bb", "bbb", "bbbb"], + // shape: [2, 2, 2], + // stride: [4, 2, 1], + // } + ``` + +- Updated dependencies [[`97e7df1`](https://github.com/manzt/zarrita.js/commit/97e7df188efa5e6ef343edca35c3d16862149920)]: + - @zarrita/indexing@0.0.3 + - @zarrita/core@0.0.3 + ## 0.3.1 ### Patch Changes diff --git a/packages/zarrita/package.json b/packages/zarrita/package.json index 08ce48ea..b93cacfe 100644 --- a/packages/zarrita/package.json +++ b/packages/zarrita/package.json @@ -1,7 +1,7 @@ { "name": "zarrita", "type": "module", - "version": "0.3.1", + "version": "0.3.2", "sideEffects": false, "main": "index.js", "exports": {