Skip to content

Commit 02099c7

Browse files
Version Packages (#335)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d8dcf53 commit 02099c7

File tree

9 files changed

+33
-26
lines changed

9 files changed

+33
-26
lines changed

.changeset/add-string-type-support.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/fix-shard-options.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/@zarrita-ndarray/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @zarrita/ndarray
22

3+
## 0.1.6
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`8d5b2a6`](https://github.com/manzt/zarrita.js/commit/8d5b2a65066d9e22c84f8198217a90cc28c675fa), [`ed223a8`](https://github.com/manzt/zarrita.js/commit/ed223a817efdaa708a54df3099a095ab8586ab45)]:
8+
- zarrita@0.6.0
9+
310
## 0.1.5
411

512
### Patch Changes

packages/@zarrita-ndarray/jsr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@zarrita/ndarray",
3-
"version": "0.1.4",
3+
"version": "0.1.6",
44
"license": "MIT",
55
"imports": {
66
"@types/ndarray-ops": "npm:@types/ndarray-ops@^1.2.4",
77
"ndarray": "npm:ndarray@^1.0.19",
88
"ndarray-ops": "npm:ndarray-ops@^1.2.2",
9-
"zarrita": "jsr:@zarrita/zarrita@^0.5.3"
9+
"zarrita": "jsr:@zarrita/zarrita@^0.6.0"
1010
},
1111
"exports": {
1212
".": "./src/index.ts"

packages/@zarrita-ndarray/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zarrita/ndarray",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"license": "MIT",
55
"type": "module",
66
"sideEffects": false,

packages/@zarrita-storage/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zarrita/storage",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"imports": {
66
"reference-spec-reader": "npm:reference-spec-reader@^0.2.0",

packages/zarrita/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# zarrita
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- Add support for `data_type: "string"` (Zarr v3). ([`8d5b2a6`](https://github.com/manzt/zarrita.js/commit/8d5b2a65066d9e22c84f8198217a90cc28c675fa))
8+
9+
From a TypeScript perspective, this is a minor change because narrowing with `arr.is("string")` now expands the container type to `ByteStringArray | UnicodeStringArray | Array<string>`. TypeScript will require handling this new case. In a future version of zarrita, we will likely coerce all string data types to `Array<string>`. In the meantime, you can normalize the result:
10+
11+
```ts
12+
if (arr.is("string")) {
13+
const chunk = await get(arr);
14+
const data = Array.from(chunk.data); // Array<string>
15+
}
16+
```
17+
18+
### Patch Changes
19+
20+
- Fix options not being passed through to shard getRange requests ([`ed223a8`](https://github.com/manzt/zarrita.js/commit/ed223a817efdaa708a54df3099a095ab8586ab45))
21+
322
## 0.5.4
423

524
### Patch Changes

packages/zarrita/jsr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "@zarrita/zarrita",
3-
"version": "0.5.3",
3+
"version": "0.6.0",
44
"license": "MIT",
55
"imports": {
6-
"@zarrita/storage": "jsr:@zarrita/storage@^0.1.2",
6+
"@zarrita/storage": "jsr:@zarrita/storage@^0.1.3",
77
"numcodecs": "npm:numcodecs@^0.3.2"
88
},
99
"exports": {

packages/zarrita/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zarrita",
3-
"version": "0.5.4",
3+
"version": "0.6.0",
44
"license": "MIT",
55
"type": "module",
66
"sideEffects": false,

0 commit comments

Comments
 (0)