Skip to content

Commit

Permalink
Version Packages (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 23, 2023
1 parent 97e7df1 commit 5ce3239
Show file tree
Hide file tree
Showing 9 changed files with 159 additions and 42 deletions.
38 changes: 0 additions & 38 deletions .changeset/nice-jars-explode.md

This file was deleted.

36 changes: 36 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
39 changes: 39 additions & 0 deletions packages/indexing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/indexing/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zarrita/indexing",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"sideEffects": false,
"scripts": {
"build": "tsc",
Expand Down
40 changes: 40 additions & 0 deletions packages/ndarray/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ndarray/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zarrita/ndarray",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"sideEffects": false,
"scripts": {
"build": "tsc",
Expand Down
40 changes: 40 additions & 0 deletions packages/zarrita/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/zarrita/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zarrita",
"type": "module",
"version": "0.3.1",
"version": "0.3.2",
"sideEffects": false,
"main": "index.js",
"exports": {
Expand Down

0 comments on commit 5ce3239

Please sign in to comment.