Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .changeset/export-feature-row-classification.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/fix-worker-entry-module-format.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/surface-failed-feature-scan.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/avivatorish/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @spatialdata/avivatorish

## 0.8.0

## 0.7.0

## 0.6.0
Expand Down
2 changes: 1 addition & 1 deletion packages/avivatorish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spatialdata/avivatorish",
"version": "0.7.0",
"version": "0.8.0",
"description": "Viv loaders, channel stats, and Zustand state (Avivator/MDV lineage) for spatial images",
"type": "module",
"module": "./dist/index.js",
Expand Down
43 changes: 43 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# @spatialdata/core

## 0.8.0

### Minor Changes

- [#152](https://github.com/Taylor-CCB-Group/SpatialData.js/pull/152) [`223e066`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/223e066a97bc01560cce868fd7455d2bd73212fc) Thanks [@xinaesthete](https://github.com/xinaesthete)! - Report a failed feature-index scan instead of going quiet.

`getMatchingLoadState` returned `undefined` for a failed `matching` slot — exactly
what it returns for "no scan has ever run" — and nothing else exposed the error. So
a scan that failed looked identical to one that had not started, while the render
path carried on filtering the resident batch. The panel showed whichever part of the
selection happened to be inside the memory cap and presented it as the complete
answer.

`PointsMatchingLoadState` gains `failed` and `error`, reported for the selection the
failed scan would have covered (and only that one — a stale failure for a selection
the user has since changed is not attributed to the new one, and a retained good
batch no longer masks it). `usePointsFeatureState` gains `retryFailedLoads`, and the
built-in feature filter panel now says the load failed, says the canvas is showing
only what was already in memory, and offers Retry when the error is retryable.

### Patch Changes

- [#150](https://github.com/Taylor-CCB-Group/SpatialData.js/pull/150) [`dadcbf8`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/dadcbf81ea623c6e7b1b83728ff65faf1b2c3451) Thanks [@xinaesthete](https://github.com/xinaesthete)! - Emit the `workers` and `points-worker` entries as ES modules.

The lib `fileName` named only `index` per format; every other entry got
`${entryName}.js` from BOTH the es and cjs passes, so the cjs output silently
overwrote the es one. `dist/workers.js` and `dist/points-worker.js` therefore
shipped as CommonJS under a `.js` extension inside a `"type": "module"` package —
files nothing can load.

`enablePointsWorker` constructs the worker with `new Worker(url, { type: 'module' })`,
so loading the published `points-worker.js` failed with `ReferenceError: require is
not defined` and the worker never answered. That made the points worker impossible
to start outside this repo, and with it the feature-index scan: a points selection
whose rows fall beyond the memory cap could not be fetched at all, because
`loadPointsMatchingFeatureCodes` throws rather than falling back to the main thread.
The demo did not catch it because it imports the worker's TypeScript source by
relative path.

Every entry now names its format, and `./workers` gains explicit `import`/`require`
conditions. A packaging test asserts each `exports` target really is in the module
system its extension and the package `type` imply.

## 0.7.0

## 0.6.0
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spatialdata/core",
"version": "0.7.0",
"version": "0.8.0",
"description": "Core library for interfacing with SpatialData stores",
"type": "module",
"module": "./dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/layers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @spatialdata/layers

## 0.8.0

### Patch Changes

- Updated dependencies [[`dadcbf8`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/dadcbf81ea623c6e7b1b83728ff65faf1b2c3451), [`223e066`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/223e066a97bc01560cce868fd7455d2bd73212fc)]:
- @spatialdata/core@0.8.0

## 0.7.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/layers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spatialdata/layers",
"version": "0.7.0",
"version": "0.8.0",
"description": "deck.gl CompositeLayer and versioned SpatialLayerProps for SpatialData rendering",
"type": "module",
"module": "./dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @spatialdata/react

## 0.8.0

### Patch Changes

- Updated dependencies [[`dadcbf8`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/dadcbf81ea623c6e7b1b83728ff65faf1b2c3451), [`223e066`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/223e066a97bc01560cce868fd7455d2bd73212fc)]:
- @spatialdata/core@0.8.0

## 0.7.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spatialdata/react",
"version": "0.7.0",
"version": "0.8.0",
"description": "React hooks and components for SpatialData",
"type": "module",
"module": "./dist/index.js",
Expand Down
43 changes: 43 additions & 0 deletions packages/vis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# @spatialdata/vis

## 0.8.0

### Minor Changes

- [#146](https://github.com/Taylor-CCB-Group/SpatialData.js/pull/146) [`9cd27cc`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/9cd27cc1e665b08959f5b6214dd17bd518b39ae7) Thanks [@xinaesthete](https://github.com/xinaesthete)! - Export the feature-row classification alongside the points feature state.

`usePointsFeatureState` returns raw engine signals — `residentCodes`,
`loadedMatchingCodes`, `matchingLoadState`, `supportsOnDemandLoad` — and
`describeFeatureRowState` is what turns them into a row's rendered state: whether
it is dimmed, a short label, and a sentence explaining why. Only the former was
reachable from the package entry, so an embedder building its own feature list had
the data but not the reading of it, and had to re-derive a precedence order
(resident/rendered beat selection and scan state) that is easy to get subtly wrong
— the failure mode being a panel that greys a feature the canvas is drawing.

Adds `describeFeatureRowState` and `featureRowOpacity`, plus the types
`FeatureRowState`, `FeatureRowStateInput` and `FeatureRowTone`. No behaviour
change; these already backed the built-in `PointsFeatureFilterPanel`.

- [#152](https://github.com/Taylor-CCB-Group/SpatialData.js/pull/152) [`223e066`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/223e066a97bc01560cce868fd7455d2bd73212fc) Thanks [@xinaesthete](https://github.com/xinaesthete)! - Report a failed feature-index scan instead of going quiet.

`getMatchingLoadState` returned `undefined` for a failed `matching` slot — exactly
what it returns for "no scan has ever run" — and nothing else exposed the error. So
a scan that failed looked identical to one that had not started, while the render
path carried on filtering the resident batch. The panel showed whichever part of the
selection happened to be inside the memory cap and presented it as the complete
answer.

`PointsMatchingLoadState` gains `failed` and `error`, reported for the selection the
failed scan would have covered (and only that one — a stale failure for a selection
the user has since changed is not attributed to the new one, and a retained good
batch no longer masks it). `usePointsFeatureState` gains `retryFailedLoads`, and the
built-in feature filter panel now says the load failed, says the canvas is showing
only what was already in memory, and offers Retry when the error is retryable.

### Patch Changes

- Updated dependencies [[`dadcbf8`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/dadcbf81ea623c6e7b1b83728ff65faf1b2c3451), [`223e066`](https://github.com/Taylor-CCB-Group/SpatialData.js/commit/223e066a97bc01560cce868fd7455d2bd73212fc)]:
- @spatialdata/core@0.8.0
- @spatialdata/layers@0.8.0
- @spatialdata/react@0.8.0
- @spatialdata/avivatorish@0.8.0

## 0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spatialdata/vis",
"version": "0.7.0",
"version": "0.8.0",
"description": "React visualisation components for SpatialData",
"type": "module",
"module": "./dist/index.js",
Expand Down