From 25df35d515b1511804178bc63c51b8870a972483 Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Tue, 15 Jul 2025 22:52:53 -0700 Subject: [PATCH 1/7] feat: Package tag changelog generation --- cliff.toml | 2 +- packages/core/changelog.md | 41 +++++++++++++++++ packages/core/package.json | 3 +- packages/dzi/changelog.md | 57 +++++++++++++++++++----- packages/dzi/package.json | 2 +- packages/geometry/changelog.md | 75 ++++++++++++++++++++++++------- packages/geometry/package.json | 2 +- packages/omezarr/changelog.md | 80 ++++++++++++++++++++++++++-------- packages/omezarr/package.json | 2 +- site/changelog.md | 6 +++ 10 files changed, 219 insertions(+), 51 deletions(-) create mode 100644 packages/core/changelog.md diff --git a/cliff.toml b/cliff.toml index 4c5c77d2..16eda305 100644 --- a/cliff.toml +++ b/cliff.toml @@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file.\n # https://keats.github.io/tera/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## [{{ version | trim_start_matches(pat="@alleninstitute/vis-") | trim_start_matches(pat="@") }}] - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## [unreleased] {% endif %}\ diff --git a/packages/core/changelog.md b/packages/core/changelog.md new file mode 100644 index 00000000..4724622b --- /dev/null +++ b/packages/core/changelog.md @@ -0,0 +1,41 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [alleninstitute/core@0.0.4] - 2025-07-14 + +### 🚀 Features + +- Starlight Docs and Example Site ([#157](https://github.com/AllenInstitute/vis/pull/157)) + +### 🐛 Bug Fixes + +- Color parsing supports hex strings without hash [135] ([#138](https://github.com/AllenInstitute/vis/pull/138)) +- Export Logger class and raise default log level ([#160](https://github.com/AllenInstitute/vis/pull/160)) + +### ⚙️ Miscellaneous Tasks + +- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) +- *(deps)* Bump @types/lodash from 4.14.202 to 4.17.16 ([#153](https://github.com/AllenInstitute/vis/pull/153)) +- *(deps)* Bump @types/lodash from 4.17.16 to 4.17.17 ([#168](https://github.com/AllenInstitute/vis/pull/168)) +- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) +- *(deps)* Bump @types/lodash from 4.17.17 to 4.17.19 ([#177](https://github.com/AllenInstitute/vis/pull/177)) +- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) + +## [alleninstitute/core@0.0.2] - 2025-04-08 + +### 🚀 Features + +- Support for arbitrary color channels in OME-Zarr images [DC-530] ([#123](https://github.com/AllenInstitute/vis/pull/123)) + +### ⚙️ Miscellaneous Tasks + +- Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) + +## [alleninstitute/core@0.0.1] - 2025-04-04 + +### ⚙️ Miscellaneous Tasks + +- Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) + + diff --git a/packages/core/package.json b/packages/core/package.json index 2b1bddf6..8ead5dab 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -41,7 +41,8 @@ "dev": "parcel watch --port 1235", "test": "vitest --watch", "test:ci": "vitest run", - "coverage": "vitest run --coverage" + "coverage": "vitest run --coverage", + "changelog": "git-cliff -o changelog.md --tag-pattern @alleninstitute/vis-core@*" }, "repository": { "type": "git", diff --git a/packages/dzi/changelog.md b/packages/dzi/changelog.md index 98c055cf..23875b23 100644 --- a/packages/dzi/changelog.md +++ b/packages/dzi/changelog.md @@ -8,9 +8,31 @@ All notable changes to this project will be documented in this file. - DZI fetch function ([#162](https://github.com/AllenInstitute/vis/pull/162)) +### ⚙️ Miscellaneous Tasks + +- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) +- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) +- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) +- Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) + +## [alleninstitute/dzi@0.0.11] - 2025-04-08 + +### ⚙️ Miscellaneous Tasks + +- Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) + +## [alleninstitute/dzi@0.0.10] - 2025-03-31 + +### ⚙️ Miscellaneous Tasks + +- Logger with log levels ([#97](https://github.com/AllenInstitute/vis/pull/97)) +- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) +- Updating vis-dzi and vis-omezarr to enable use of vis-scatterbrain 0.0.10 ([#112](https://github.com/AllenInstitute/vis/pull/112)) + +## [alleninstitute/dzi@0.0.9] - 2025-03-14 + ### 🐛 Bug Fixes -- Dzi viewer would loop forever due to some faulty math ([#43](https://github.com/AllenInstitute/vis/pull/43)) - CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) ### 💼 Other @@ -19,21 +41,32 @@ All notable changes to this project will be documented in this file. ### ⚙️ Miscellaneous Tasks -- CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) -- Update version ([#39](https://github.com/AllenInstitute/vis/pull/39)) -- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) -- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) - Install Biome, fix formatting [DT-7060] ([#52](https://github.com/AllenInstitute/vis/pull/52)) - Biome linting with auto-fixes [DT-7060] ([#53](https://github.com/AllenInstitute/vis/pull/53)) - Dependency health configurations ([#17](https://github.com/AllenInstitute/vis/pull/17)) - Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) - Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) -- Logger with log levels ([#97](https://github.com/AllenInstitute/vis/pull/97)) -- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) -- Updating vis-dzi and vis-omezarr to enable use of vis-scatterbrain 0.0.10 ([#112](https://github.com/AllenInstitute/vis/pull/112)) -- Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) -- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) -- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) -- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) + +## [alleninstitute/dzi@0.0.7] - 2025-02-03 + +### ⚙️ Miscellaneous Tasks + +- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) +- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) + +## [alleninstitute/dzi@0.0.5] - 2024-11-21 + +### 🐛 Bug Fixes + +- Dzi viewer would loop forever due to some faulty math ([#43](https://github.com/AllenInstitute/vis/pull/43)) + +## [alleninstitute/dzi@0.0.4] - 2024-11-13 + +### ⚙️ Miscellaneous Tasks + +- CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) +- Update version ([#39](https://github.com/AllenInstitute/vis/pull/39)) + +## [alleninstitute/dzi@0.0.3] - 2024-10-02 diff --git a/packages/dzi/package.json b/packages/dzi/package.json index c9e27921..afe38065 100644 --- a/packages/dzi/package.json +++ b/packages/dzi/package.json @@ -38,7 +38,7 @@ "test": "vitest --watch", "test:ci": "vitest run", "coverage": "vitest run --coverage", - "changelog": "git-cliff -o changelog.md" + "changelog": "git-cliff -o changelog.md --tag-pattern @alleninstitute/vis-dzi@*" }, "repository": { "type": "git", diff --git a/packages/geometry/changelog.md b/packages/geometry/changelog.md index 01d653db..1fc284ea 100644 --- a/packages/geometry/changelog.md +++ b/packages/geometry/changelog.md @@ -4,40 +4,83 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### ⚙️ Miscellaneous Tasks + +- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) +- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) +- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) +- Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) + +## [alleninstitute/geometry@0.0.6] - 2025-04-08 + ### 🚀 Features -- Publishing documentation and config changes ([#3](https://github.com/AllenInstitute/vis/pull/3)) -- *(geometry)* LineSegmentsIntersect and det ([#21](https://github.com/AllenInstitute/vis/pull/21)) - Support for arbitrary color channels in OME-Zarr images [DC-530] ([#123](https://github.com/AllenInstitute/vis/pull/123)) +### ⚙️ Miscellaneous Tasks + +- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) +- Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) + +## [alleninstitute/geometry@0.0.5] - 2025-03-28 + ### 🐛 Bug Fixes -- *(vis-geometry)* Adds missing functionality from `bkp-client` ([#10](https://github.com/AllenInstitute/vis/pull/10)) -- Expose Rectangle2D functions, remove glob export from Interval ([#13](https://github.com/AllenInstitute/vis/pull/13)) -- CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) - Remove non-null assertions ([#101](https://github.com/AllenInstitute/vis/pull/101)) +### ⚙️ Miscellaneous Tasks + +- Update Vis OME-Zarr package to load the full set of metadata available in Zarr files [DT-7615] ([#103](https://github.com/AllenInstitute/vis/pull/103)) + +## [alleninstitute/geometry@0.0.4] - 2025-03-14 + +### 🐛 Bug Fixes + +- CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) + ### 💼 Other - March 2025 ([#99](https://github.com/AllenInstitute/vis/pull/99)) ### ⚙️ Miscellaneous Tasks -- Use Parcel to produce libraries ([#9](https://github.com/AllenInstitute/vis/pull/9)) -- Formatting ([#26](https://github.com/AllenInstitute/vis/pull/26)) -- CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) -- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) -- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) - Install Biome, fix formatting [DT-7060] ([#52](https://github.com/AllenInstitute/vis/pull/52)) - Biome linting with auto-fixes [DT-7060] ([#53](https://github.com/AllenInstitute/vis/pull/53)) - Dependency health configurations ([#17](https://github.com/AllenInstitute/vis/pull/17)) - Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) - Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) -- Update Vis OME-Zarr package to load the full set of metadata available in Zarr files [DT-7615] ([#103](https://github.com/AllenInstitute/vis/pull/103)) -- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) -- Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) -- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) -- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) -- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) + +## [alleninstitute/geometry@0.0.3] - 2025-02-03 + +### 🚀 Features + +- *(geometry)* LineSegmentsIntersect and det ([#21](https://github.com/AllenInstitute/vis/pull/21)) + +### 🐛 Bug Fixes + +- Expose Rectangle2D functions, remove glob export from Interval ([#13](https://github.com/AllenInstitute/vis/pull/13)) + +### ⚙️ Miscellaneous Tasks + +- Formatting ([#26](https://github.com/AllenInstitute/vis/pull/26)) +- CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) +- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) +- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) + +## [alleninstitute/geometry@0.0.2] - 2024-04-02 + +### 🐛 Bug Fixes + +- *(vis-geometry)* Adds missing functionality from `bkp-client` ([#10](https://github.com/AllenInstitute/vis/pull/10)) + +### ⚙️ Miscellaneous Tasks + +- Use Parcel to produce libraries ([#9](https://github.com/AllenInstitute/vis/pull/9)) + +## [alleninstitute/geometry@0.0.1] - 2024-02-13 + +### 🚀 Features + +- Publishing documentation and config changes ([#3](https://github.com/AllenInstitute/vis/pull/3)) diff --git a/packages/geometry/package.json b/packages/geometry/package.json index 187b1760..efdae9c2 100644 --- a/packages/geometry/package.json +++ b/packages/geometry/package.json @@ -42,7 +42,7 @@ "test": "vitest --watch", "test:ci": "vitest run", "coverage": "vitest run --coverage", - "changelog": "git-cliff -o changelog.md" + "changelog": "git-cliff -o changelog.md --tag-pattern @alleninstitute/vis-geometry@*" }, "repository": { "type": "git", diff --git a/packages/omezarr/changelog.md b/packages/omezarr/changelog.md index 4b6d94c3..bd4fbcf3 100644 --- a/packages/omezarr/changelog.md +++ b/packages/omezarr/changelog.md @@ -4,42 +4,86 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🐛 Bug Fixes + +- Parse axis name to match our internal casing [134] ([#140](https://github.com/AllenInstitute/vis/pull/140)) + +### ⚙️ Miscellaneous Tasks + +- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) +- *(deps)* Bump zod from 3.24.2 to 3.24.3 ([#154](https://github.com/AllenInstitute/vis/pull/154)) +- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) +- *(deps)* Bump zod from 3.24.3 to 3.25.46 ([#165](https://github.com/AllenInstitute/vis/pull/165)) +- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) +- *(deps)* Bump zarrita from 0.5.1 to 0.5.2 ([#175](https://github.com/AllenInstitute/vis/pull/175)) +- Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) + +## [alleninstitute/omezarr@0.0.10] - 2025-04-08 + ### 🚀 Features - Support for arbitrary color channels in OME-Zarr images [DC-530] ([#123](https://github.com/AllenInstitute/vis/pull/123)) +### ⚙️ Miscellaneous Tasks + +- Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) +- Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) + +## [alleninstitute/omezarr@0.0.9] - 2025-03-31 + ### 🐛 Bug Fixes -- CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) -- Remove non-null assertions ([#101](https://github.com/AllenInstitute/vis/pull/101)) - Fix issue with handling RGB channels in new OME-Zarr metadata code [DT-7615] ([#110](https://github.com/AllenInstitute/vis/pull/110)) -- Parse axis name to match our internal casing [134] ([#140](https://github.com/AllenInstitute/vis/pull/140)) + +### ⚙️ Miscellaneous Tasks + +- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) +- Updating vis-dzi and vis-omezarr to enable use of vis-scatterbrain 0.0.10 ([#112](https://github.com/AllenInstitute/vis/pull/112)) + +## [alleninstitute/omezarr@0.0.8] - 2025-03-28 + +### 🐛 Bug Fixes + +- Remove non-null assertions ([#101](https://github.com/AllenInstitute/vis/pull/101)) + +### ⚙️ Miscellaneous Tasks + +- Logger with log levels ([#97](https://github.com/AllenInstitute/vis/pull/97)) +- Update Vis OME-Zarr package to load the full set of metadata available in Zarr files [DT-7615] ([#103](https://github.com/AllenInstitute/vis/pull/103)) + +## [alleninstitute/omezarr@0.0.7] - 2025-03-14 + +### ⚙️ Miscellaneous Tasks + +- Update vis-omezarr 0.0.7 - upgrade zarrita to 0.5.0 ([#100](https://github.com/AllenInstitute/vis/pull/100)) + +## [alleninstitute/omezarr@0.0.6] - 2025-03-14 ### 💼 Other - March 2025 ([#99](https://github.com/AllenInstitute/vis/pull/99)) +## [alleninstitute/omezarr@0.0.5] - 2025-03-14 + +### 🐛 Bug Fixes + +- CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) + ### ⚙️ Miscellaneous Tasks -- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) -- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) - Install Biome, fix formatting [DT-7060] ([#52](https://github.com/AllenInstitute/vis/pull/52)) - Biome linting with auto-fixes [DT-7060] ([#53](https://github.com/AllenInstitute/vis/pull/53)) - Dependency health configurations ([#17](https://github.com/AllenInstitute/vis/pull/17)) - Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) - Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) -- Update vis-omezarr 0.0.7 - upgrade zarrita to 0.5.0 ([#100](https://github.com/AllenInstitute/vis/pull/100)) -- Logger with log levels ([#97](https://github.com/AllenInstitute/vis/pull/97)) -- Update Vis OME-Zarr package to load the full set of metadata available in Zarr files [DT-7615] ([#103](https://github.com/AllenInstitute/vis/pull/103)) -- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) -- Updating vis-dzi and vis-omezarr to enable use of vis-scatterbrain 0.0.10 ([#112](https://github.com/AllenInstitute/vis/pull/112)) -- Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) -- Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) -- Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) -- *(deps)* Bump zod from 3.24.2 to 3.24.3 ([#154](https://github.com/AllenInstitute/vis/pull/154)) -- Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) -- *(deps)* Bump zod from 3.24.3 to 3.25.46 ([#165](https://github.com/AllenInstitute/vis/pull/165)) -- *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) -- *(deps)* Bump zarrita from 0.5.1 to 0.5.2 ([#175](https://github.com/AllenInstitute/vis/pull/175)) + +## [alleninstitute/omezarr@0.0.4] - 2025-02-03 + +### ⚙️ Miscellaneous Tasks + +- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) +- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) + +## [alleninstitute/omezarr@0.0.1] - 2024-11-20 diff --git a/packages/omezarr/package.json b/packages/omezarr/package.json index f254b414..bd153fe7 100644 --- a/packages/omezarr/package.json +++ b/packages/omezarr/package.json @@ -38,7 +38,7 @@ "test": "vitest --watch", "test:ci": "vitest run", "coverage": "vitest run --coverage", - "changelog": "git-cliff -o changelog.md" + "changelog": "git-cliff -o changelog.md --tag-pattern '@alleninstitute/vis-omezarr@*'" }, "repository": { "type": "git", diff --git a/site/changelog.md b/site/changelog.md index 377749a9..f533467b 100644 --- a/site/changelog.md +++ b/site/changelog.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### ⚙️ Miscellaneous Tasks + +- Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) + +## [alleninstitute/core@0.0.4] - 2025-07-14 + ### 🚀 Features - Starlight Docs and Example Site ([#157](https://github.com/AllenInstitute/vis/pull/157)) From 2bf68f6f779f86a517353edbd46798fc08b71ab7 Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Tue, 15 Jul 2025 23:06:15 -0700 Subject: [PATCH 2/7] didn't need quotes --- packages/omezarr/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/omezarr/package.json b/packages/omezarr/package.json index bd153fe7..65f32685 100644 --- a/packages/omezarr/package.json +++ b/packages/omezarr/package.json @@ -38,7 +38,7 @@ "test": "vitest --watch", "test:ci": "vitest run", "coverage": "vitest run --coverage", - "changelog": "git-cliff -o changelog.md --tag-pattern '@alleninstitute/vis-omezarr@*'" + "changelog": "git-cliff -o changelog.md --tag-pattern @alleninstitute/vis-omezarr@*" }, "repository": { "type": "git", From a6093fbaf8207b34187b33e60faa2623e9288288 Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Thu, 17 Jul 2025 15:58:22 -0700 Subject: [PATCH 3/7] Don't filter out unconvenctional commits so we can see everything! --- .github/workflows/release.yml | 165 +++++++++++++++++++++++++++++++++ cliff.toml | 2 +- packages/core/changelog.md | 12 +++ packages/dzi/changelog.md | 16 ++++ packages/geometry/changelog.md | 98 ++++++++++++++++++++ packages/omezarr/changelog.md | 37 ++++++++ site/changelog.md | 7 ++ 7 files changed, 336 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..eef9d49d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,165 @@ +name: Release Package + +on: + workflow_dispatch: + inputs: + package: + description: 'Package to release' + required: true + type: choice + options: + - core + - dzi + - geometry + - omezarr + - web-components + +permissions: + contents: write + packages: write + pull-requests: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9.14.2 + + - name: Install dependencies + run: pnpm install + + - name: Configure Git + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + + # Set the remote URL to use the token for pushing + git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git + + - name: Get current version and determine next version + id: version_info + run: | + cd packages/${{ github.event.inputs.package }} + + # Get current version + CURRENT_VERSION=$(node -p "require('./package.json').version") + echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT + + # Use git-cliff to determine the next version + TAG_PATTERN="@alleninstitute/vis-${{ github.event.inputs.package }}@*" + NEXT_VERSION=$(npx git-cliff --tag-pattern "$TAG_PATTERN" --bumped-version) + + # Extract just the version number (remove the tag prefix) + NEXT_VERSION=$(echo "$NEXT_VERSION" | sed 's/.*@//') + + echo "next_version=$NEXT_VERSION" >> $GITHUB_OUTPUT + echo "Current version: $CURRENT_VERSION" + echo "Next version: $NEXT_VERSION" + + - name: Update version number and create initial tag + run: | + cd packages/${{ github.event.inputs.package }} + # npm version creates a commit and a tag for us + npm version ${{ steps.version_info.outputs.next_version }} --no-git-tag-version=false + + - name: Generate changelog + run: | + cd packages/${{ github.event.inputs.package }} + pnpm run changelog + + - name: Amend commit with changelog + run: | + cd packages/${{ github.event.inputs.package }} + git add changelog.md + git commit --amend --no-edit + + - name: Delete the tag created by npm version and create new one + id: create_tag + run: | + cd packages/${{ github.event.inputs.package }} + TAG_NAME="@alleninstitute/vis-${{ github.event.inputs.package }}@${{ steps.version_info.outputs.next_version }}" + + # Delete the tag created by npm version (it would be just the version number) + git tag -d v${{ steps.version_info.outputs.next_version }} || true + + # Create a new tag with our naming convention on the amended commit + git tag -a "$TAG_NAME" -m "Release $TAG_NAME" + echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT + + - name: Create release branch and push changes + run: | + BRANCH_NAME="release/${{ github.event.inputs.package }}-v${{ steps.version_info.outputs.next_version }}" + git checkout -b "$BRANCH_NAME" + git push origin "$BRANCH_NAME" + + - name: Create Pull Request + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} + script: | + const { data: pullRequest } = await github.rest.pulls.create({ + owner: context.repo.owner, + repo: context.repo.repo, + title: `Release ${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }}`, + head: `release/${{ github.event.inputs.package }}-v${{ steps.version_info.outputs.next_version }}`, + base: 'main', + body: `Automated release for @alleninstitute/vis-${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }}\n\nSee [CHANGELOG](./packages/${{ github.event.inputs.package }}/changelog.md) for details.` + }); + + // Auto-merge if you have that enabled + await github.rest.pulls.merge({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: pullRequest.number, + merge_method: 'squash' + }); + + - name: Push tag after merge + run: | + # Wait a moment for the merge to complete + sleep 5 + git checkout main + git pull origin main + git push origin ${{ steps.create_tag.outputs.tag_name }} + + - name: Create GitHub Release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.create_tag.outputs.tag_name }} + release_name: "${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }}" + body: | + Release of @alleninstitute/vis-${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }} + + See [CHANGELOG](./packages/${{ github.event.inputs.package }}/changelog.md) for details. + draft: false + prerelease: false + + - name: Publish to GitHub Packages (if needed) + run: | + cd packages/${{ github.event.inputs.package }} + echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc + echo "@alleninstitute:registry=https://npm.pkg.github.com" >> .npmrc + + # Build the package first + pnpm run build + + # Publish to GitHub Packages + npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/cliff.toml b/cliff.toml index 16eda305..c6ef196e 100644 --- a/cliff.toml +++ b/cliff.toml @@ -48,7 +48,7 @@ postprocessors = [ # parse the commits based on https://www.conventionalcommits.org conventional_commits = true # filter out the commits that are not conventional -filter_unconventional = true +filter_unconventional = false # process each line of a commit as an individual commit split_commits = false # regex for preprocessing the commit messages diff --git a/packages/core/changelog.md b/packages/core/changelog.md index 4724622b..eecf41f6 100644 --- a/packages/core/changelog.md +++ b/packages/core/changelog.md @@ -13,6 +13,12 @@ All notable changes to this project will be documented in this file. - Color parsing supports hex strings without hash [135] ([#138](https://github.com/AllenInstitute/vis/pull/138)) - Export Logger class and raise default log level ([#160](https://github.com/AllenInstitute/vis/pull/160)) +### 💼 Other + +- A priority cache with a (better?) api ([#171](https://github.com/AllenInstitute/vis/pull/171)) + +Co-authored-by: Lane Sawyer + ### ⚙️ Miscellaneous Tasks - Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) @@ -22,6 +28,12 @@ All notable changes to this project will be documented in this file. - *(deps)* Bump @types/lodash from 4.17.17 to 4.17.19 ([#177](https://github.com/AllenInstitute/vis/pull/177)) - *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) +## [alleninstitute/core@0.0.3] - 2025-04-23 + +### 💼 Other + +- Noah/webworker decoders ([#126](https://github.com/AllenInstitute/vis/pull/126)) + ## [alleninstitute/core@0.0.2] - 2025-04-08 ### 🚀 Features diff --git a/packages/dzi/changelog.md b/packages/dzi/changelog.md index 23875b23..0578fddc 100644 --- a/packages/dzi/changelog.md +++ b/packages/dzi/changelog.md @@ -17,6 +17,10 @@ All notable changes to this project will be documented in this file. ## [alleninstitute/dzi@0.0.11] - 2025-04-08 +### 💼 Other + +- Updating DZI package version (remove Scatterbrain dependency) ([#125](https://github.com/AllenInstitute/vis/pull/125)) + ### ⚙️ Miscellaneous Tasks - Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) @@ -54,6 +58,12 @@ All notable changes to this project will be documented in this file. - Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) - Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) +## [alleninstitute/dzi@0.0.6] - 2024-12-04 + +### 💼 Other + +- Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) + ## [alleninstitute/dzi@0.0.5] - 2024-11-21 ### 🐛 Bug Fixes @@ -69,4 +79,10 @@ All notable changes to this project will be documented in this file. ## [alleninstitute/dzi@0.0.3] - 2024-10-02 +### 💼 Other + +- DZI viewer component ([#29](https://github.com/AllenInstitute/vis/pull/29)) + +Co-authored-by: Lane Sawyer + diff --git a/packages/geometry/changelog.md b/packages/geometry/changelog.md index 1fc284ea..71cc1a8a 100644 --- a/packages/geometry/changelog.md +++ b/packages/geometry/changelog.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 💼 Other + +- Basic 3D Math utils ([#170](https://github.com/AllenInstitute/vis/pull/170)) + ### ⚙️ Miscellaneous Tasks - Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) @@ -60,8 +64,67 @@ All notable changes to this project will be documented in this file. - Expose Rectangle2D functions, remove glob export from Interval ([#13](https://github.com/AllenInstitute/vis/pull/13)) +### 💼 Other + +- Merge pull request [#12](https://github.com/AllenInstitute/vis/pull/12) from AllenInstitute/noah/limit-queue-time + +dont hog the main thread - use a soft limit +- Cache limits ([#14](https://github.com/AllenInstitute/vis/pull/14)) + +* first pass at a system which cant leak cache content references (unlike my first attempt) + +* finish up some thoughts on how this cache should work. start in on some tests to make sure I'm not crazy. ditch jest because its terrible, try vitest for now - its way nicer but kinda hard to read the output for debugging + +* test some more edgy cases of this separate-but-related cache system + +* update apps to deal with recent changes in scatterbrain caching system + +* stream of consciousness documentation plus basic build&run instructions + +* kick out jest - re-write tests using async and vitest + +* think about warning of unsafe use via jsdoc... + +* forgot to update this demo + +* spellcheck + +* quick readme for scatterplots + +* more words + +* Update apps/omezarr-viewer/README.md + +Co-authored-by: Lane Sawyer + +* Update apps/omezarr-viewer/README.md + +Co-authored-by: Lane Sawyer + +* fix initial versa view. fix a missing closing-brace that would have made cache-eviction waste a lot of time for no reason + +* kick jest out of geometry tests too, switch to vitest, confirm all tests pass + +* remove my debug logging + +* remove isAbortError + +--------- + +Co-authored-by: Lane Sawyer +- DZI viewer component ([#29](https://github.com/AllenInstitute/vis/pull/29)) + +Co-authored-by: Lane Sawyer + ### ⚙️ Miscellaneous Tasks +- Chore - move code around to make writing new "apps" less repetative ([#16](https://github.com/AllenInstitute/vis/pull/16)) + +* move the furniture around - make it easier to share code between various "apps" - the scenario being that the code doesn't yet belong in published-packages, but might have common use in various demos. created a new spatial indexing sub-folder for the geometry package, and put our generic "quad"t tree in there (it can be a tree of any power-of-2 dimension) + +* thinking about layers + +* PR feedback, disable using the .parcel-cache when building - Formatting ([#26](https://github.com/AllenInstitute/vis/pull/26)) - CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) - Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) @@ -73,6 +136,25 @@ All notable changes to this project will be documented in this file. - *(vis-geometry)* Adds missing functionality from `bkp-client` ([#10](https://github.com/AllenInstitute/vis/pull/10)) +### 💼 Other + +- A quick demo of how one might render a scatterplot (using ABC-atlas data) ([#7](https://github.com/AllenInstitute/vis/pull/7)) + +* draw a blue screen in our scatterplot demo + +* add fetcher and visibility interface + +* make a renderer real quick + +* use the renderer, make a more interesting shader, the data is suspiciously ugly + +* minor cleanup + +--------- + +Co-authored-by: Lane Sawyer +- Bump version + ### ⚙️ Miscellaneous Tasks - Use Parcel to produce libraries ([#9](https://github.com/AllenInstitute/vis/pull/9)) @@ -83,4 +165,20 @@ All notable changes to this project will be documented in this file. - Publishing documentation and config changes ([#3](https://github.com/AllenInstitute/vis/pull/3)) +### 💼 Other + +- Initial working commit of copy-pasted geometry lib +- Super basic scatterbrain package +- Confirming I can import stuff from our workspace packages with full ts support, beggining work on a barebones omezarr renderer +- Working basic volumetric slice rendering. cleanup a bunch of oopsies in the tsconfigs. +- Add a bunch of controls to the demo, remove experimental zarr loader libs, fix math in shader +- Implement a resolution-aware dataset layer picker, and a relative camera which is surprisingly nice +- Right side up data, in the correct aspect ratio +- When initializing the repo, names were changed, this fact was not reflected in imports vs. workspace packages. +- Turn on tsconfig verbatimmodulesyntax. delete super busted old demo. +add a base tsconfig for the others to extend - still a work in progress. +- Merge pull request [#1](https://github.com/AllenInstitute/vis/pull/1) from AllenInstitute/noah/cleanup-mistakes-during-repo-init + +Noah/cleanup mistakes during repo init + diff --git a/packages/omezarr/changelog.md b/packages/omezarr/changelog.md index bd4fbcf3..c099985b 100644 --- a/packages/omezarr/changelog.md +++ b/packages/omezarr/changelog.md @@ -8,6 +8,13 @@ All notable changes to this project will be documented in this file. - Parse axis name to match our internal casing [134] ([#140](https://github.com/AllenInstitute/vis/pull/140)) +### 💼 Other + +- A priority cache with a (better?) api ([#171](https://github.com/AllenInstitute/vis/pull/171)) + +Co-authored-by: Lane Sawyer +- Didn't need quotes + ### ⚙️ Miscellaneous Tasks - Add helpful linting rules ([#127](https://github.com/AllenInstitute/vis/pull/127)) @@ -18,6 +25,12 @@ All notable changes to this project will be documented in this file. - *(deps)* Bump zarrita from 0.5.1 to 0.5.2 ([#175](https://github.com/AllenInstitute/vis/pull/175)) - Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) +## [alleninstitute/omezarr@0.0.11] - 2025-04-23 + +### 💼 Other + +- Noah/webworker decoders ([#126](https://github.com/AllenInstitute/vis/pull/126)) + ## [alleninstitute/omezarr@0.0.10] - 2025-04-08 ### 🚀 Features @@ -61,6 +74,7 @@ All notable changes to this project will be documented in this file. ### 💼 Other +- Updating contributors - March 2025 ([#99](https://github.com/AllenInstitute/vis/pull/99)) ## [alleninstitute/omezarr@0.0.5] - 2025-03-14 @@ -69,6 +83,10 @@ All notable changes to this project will be documented in this file. - CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) +### 💼 Other + +- Updating to version 0.0.5 + ### ⚙️ Miscellaneous Tasks - Install Biome, fix formatting [DT-7060] ([#52](https://github.com/AllenInstitute/vis/pull/52)) @@ -84,6 +102,25 @@ All notable changes to this project will be documented in this file. - Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) - Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) +## [alleninstitute/omezarr@0.0.3] - 2024-12-04 + +### 💼 Other + +- Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) + +## [alleninstitute/omezarr@0.0.2] - 2024-12-02 + +### 💼 Other + +- Noah/fix omezarr tile math mistake ([#45](https://github.com/AllenInstitute/vis/pull/45)) + ## [alleninstitute/omezarr@0.0.1] - 2024-11-20 +### 💼 Other + +- Ome-zarr slice-view renderer package ([#34](https://github.com/AllenInstitute/vis/pull/34)) + +Co-authored-by: Lane Sawyer +Co-authored-by: Skyler Moosman <8845503+TheMooseman@users.noreply.github.com> + diff --git a/site/changelog.md b/site/changelog.md index f533467b..f1758fd4 100644 --- a/site/changelog.md +++ b/site/changelog.md @@ -14,6 +14,13 @@ All notable changes to this project will be documented in this file. - Starlight Docs and Example Site ([#157](https://github.com/AllenInstitute/vis/pull/157)) +### 💼 Other + +- Some quick minor fixes to the examples in starlight ([#158](https://github.com/AllenInstitute/vis/pull/158)) +- A priority cache with a (better?) api ([#171](https://github.com/AllenInstitute/vis/pull/171)) + +Co-authored-by: Lane Sawyer + ### ⚙️ Miscellaneous Tasks - Upgrade Astro ([#161](https://github.com/AllenInstitute/vis/pull/161)) From 7100374350b84306f4c505dca433a1d31520268e Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Wed, 18 Feb 2026 21:42:33 -0800 Subject: [PATCH 4/7] fix version display on changelogs and tweak scatterbrain package command --- cliff.toml | 2 +- packages/core/changelog.md | 37 +++- packages/dzi/changelog.md | 30 ++- packages/geometry/changelog.md | 141 ++++++++------ packages/omezarr/changelog.md | 59 ++++-- packages/scatterbrain/changelog.md | 298 +++++++++++++++++++++++++++++ packages/scatterbrain/package.json | 4 +- site/changelog.md | 29 ++- 8 files changed, 508 insertions(+), 92 deletions(-) create mode 100644 packages/scatterbrain/changelog.md diff --git a/cliff.toml b/cliff.toml index c6ef196e..7fc3b775 100644 --- a/cliff.toml +++ b/cliff.toml @@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file.\n # https://keats.github.io/tera/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="@alleninstitute/vis-") | trim_start_matches(pat="@") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## [{{ version | split(pat="@") | last }}] - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## [unreleased] {% endif %}\ diff --git a/packages/core/changelog.md b/packages/core/changelog.md index eecf41f6..d5d95061 100644 --- a/packages/core/changelog.md +++ b/packages/core/changelog.md @@ -2,7 +2,36 @@ All notable changes to this project will be documented in this file. -## [alleninstitute/core@0.0.4] - 2025-07-14 +## [unreleased] + +### 🚀 Features + +- Package tag changelog generation + +### 🐛 Bug Fixes + +- Allow Workers to be instantiated directly via callback ([#206](https://github.com/AllenInstitute/vis/pull/206)) + +### 💼 Other + +- Don't filter out unconvenctional commits so we can see everything! +- Merge branch 'main' into lane/package-tag-changelogs +- Merge branch 'main' into lane/package-tag-changelogs +- Merge branch 'main' into lane/package-tag-changelogs + +### ⚙️ Miscellaneous Tasks + +- *(deps)* Bump @types/lodash from 4.17.19 to 4.17.20 ([#185](https://github.com/AllenInstitute/vis/pull/185)) +- *(deps)* Bump @biomejs/biome from 2.1.3 to 2.2.2 ([#190](https://github.com/AllenInstitute/vis/pull/190)) +- Create standalone Priority Cache without fetching ([#199](https://github.com/AllenInstitute/vis/pull/199)) +- Adding "type: module" to all packages ([#201](https://github.com/AllenInstitute/vis/pull/201)) +- Adding in a caching multithreaded Fetch Store ([#200](https://github.com/AllenInstitute/vis/pull/200)) +- Chore -cached loading (V3 omezarr support) step one ([#205](https://github.com/AllenInstitute/vis/pull/205)) +- *(deps)* Bump @types/lodash from 4.17.20 to 4.17.21 ([#215](https://github.com/AllenInstitute/vis/pull/215)) +- *(deps)* Bump lodash and @types/lodash ([#224](https://github.com/AllenInstitute/vis/pull/224)) +- Update or remove dependencies ([#229](https://github.com/AllenInstitute/vis/pull/229)) + +## [0.0.4] - 2025-07-14 ### 🚀 Features @@ -28,13 +57,13 @@ Co-authored-by: Lane Sawyer - *(deps)* Bump @types/lodash from 4.17.17 to 4.17.19 ([#177](https://github.com/AllenInstitute/vis/pull/177)) - *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) -## [alleninstitute/core@0.0.3] - 2025-04-23 +## [0.0.3] - 2025-04-23 ### 💼 Other - Noah/webworker decoders ([#126](https://github.com/AllenInstitute/vis/pull/126)) -## [alleninstitute/core@0.0.2] - 2025-04-08 +## [0.0.2] - 2025-04-08 ### 🚀 Features @@ -44,7 +73,7 @@ Co-authored-by: Lane Sawyer - Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) -## [alleninstitute/core@0.0.1] - 2025-04-04 +## [0.0.1] - 2025-04-04 ### ⚙️ Miscellaneous Tasks diff --git a/packages/dzi/changelog.md b/packages/dzi/changelog.md index 0578fddc..2cd11ccc 100644 --- a/packages/dzi/changelog.md +++ b/packages/dzi/changelog.md @@ -7,6 +7,14 @@ All notable changes to this project will be documented in this file. ### 🚀 Features - DZI fetch function ([#162](https://github.com/AllenInstitute/vis/pull/162)) +- Package tag changelog generation + +### 💼 Other + +- Don't filter out unconvenctional commits so we can see everything! +- Merge branch 'main' into lane/package-tag-changelogs +- Merge branch 'main' into lane/package-tag-changelogs +- Merge branch 'main' into lane/package-tag-changelogs ### ⚙️ Miscellaneous Tasks @@ -14,8 +22,14 @@ All notable changes to this project will be documented in this file. - Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) - *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) - Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) +- Update release numbers for release ([#180](https://github.com/AllenInstitute/vis/pull/180)) +- *(deps)* Bump @biomejs/biome from 2.1.3 to 2.2.2 ([#190](https://github.com/AllenInstitute/vis/pull/190)) +- Adding "type: module" to all packages ([#201](https://github.com/AllenInstitute/vis/pull/201)) +- Adding in a caching multithreaded Fetch Store ([#200](https://github.com/AllenInstitute/vis/pull/200)) +- Renaming render functions from "renderer" to "render command" ([#204](https://github.com/AllenInstitute/vis/pull/204)) +- Update or remove dependencies ([#229](https://github.com/AllenInstitute/vis/pull/229)) -## [alleninstitute/dzi@0.0.11] - 2025-04-08 +## [0.0.11] - 2025-04-08 ### 💼 Other @@ -25,7 +39,7 @@ All notable changes to this project will be documented in this file. - Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) -## [alleninstitute/dzi@0.0.10] - 2025-03-31 +## [0.0.10] - 2025-03-31 ### ⚙️ Miscellaneous Tasks @@ -33,7 +47,7 @@ All notable changes to this project will be documented in this file. - Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) - Updating vis-dzi and vis-omezarr to enable use of vis-scatterbrain 0.0.10 ([#112](https://github.com/AllenInstitute/vis/pull/112)) -## [alleninstitute/dzi@0.0.9] - 2025-03-14 +## [0.0.9] - 2025-03-14 ### 🐛 Bug Fixes @@ -51,33 +65,33 @@ All notable changes to this project will be documented in this file. - Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) - Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) -## [alleninstitute/dzi@0.0.7] - 2025-02-03 +## [0.0.7] - 2025-02-03 ### ⚙️ Miscellaneous Tasks - Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) - Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) -## [alleninstitute/dzi@0.0.6] - 2024-12-04 +## [0.0.6] - 2024-12-04 ### 💼 Other - Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) -## [alleninstitute/dzi@0.0.5] - 2024-11-21 +## [0.0.5] - 2024-11-21 ### 🐛 Bug Fixes - Dzi viewer would loop forever due to some faulty math ([#43](https://github.com/AllenInstitute/vis/pull/43)) -## [alleninstitute/dzi@0.0.4] - 2024-11-13 +## [0.0.4] - 2024-11-13 ### ⚙️ Miscellaneous Tasks - CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) - Update version ([#39](https://github.com/AllenInstitute/vis/pull/39)) -## [alleninstitute/dzi@0.0.3] - 2024-10-02 +## [0.0.3] - 2024-10-02 ### 💼 Other diff --git a/packages/geometry/changelog.md b/packages/geometry/changelog.md index 71cc1a8a..ed560766 100644 --- a/packages/geometry/changelog.md +++ b/packages/geometry/changelog.md @@ -4,9 +4,20 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🚀 Features + +- Package tag changelog generation + ### 💼 Other - Basic 3D Math utils ([#170](https://github.com/AllenInstitute/vis/pull/170)) +- Don't filter out unconvenctional commits so we can see everything! +- Merge branch 'main' into lane/package-tag-changelogs +- Merge branch 'main' into lane/package-tag-changelogs +- Scatterbrain rendering in vis, including shader generation ([#223](https://github.com/AllenInstitute/vis/pull/223)) + +Co-authored-by: Lane Sawyer +- Merge branch 'main' into lane/package-tag-changelogs ### ⚙️ Miscellaneous Tasks @@ -14,8 +25,14 @@ All notable changes to this project will be documented in this file. - Dev command, reorganized docs, added stubs ([#163](https://github.com/AllenInstitute/vis/pull/163)) - *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) - Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) +- Update release numbers for release ([#180](https://github.com/AllenInstitute/vis/pull/180)) +- *(deps)* Bump @biomejs/biome from 2.1.3 to 2.2.2 ([#190](https://github.com/AllenInstitute/vis/pull/190)) +- Adding "type: module" to all packages ([#201](https://github.com/AllenInstitute/vis/pull/201)) +- Adding in a caching multithreaded Fetch Store ([#200](https://github.com/AllenInstitute/vis/pull/200)) +- Update or remove dependencies ([#229](https://github.com/AllenInstitute/vis/pull/229)) +- Quick version bump (which I forgot) ([#231](https://github.com/AllenInstitute/vis/pull/231)) -## [alleninstitute/geometry@0.0.6] - 2025-04-08 +## [0.0.6] - 2025-04-08 ### 🚀 Features @@ -26,7 +43,7 @@ All notable changes to this project will be documented in this file. - Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) - Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) -## [alleninstitute/geometry@0.0.5] - 2025-03-28 +## [0.0.5] - 2025-03-28 ### 🐛 Bug Fixes @@ -36,7 +53,7 @@ All notable changes to this project will be documented in this file. - Update Vis OME-Zarr package to load the full set of metadata available in Zarr files [DT-7615] ([#103](https://github.com/AllenInstitute/vis/pull/103)) -## [alleninstitute/geometry@0.0.4] - 2025-03-14 +## [0.0.4] - 2025-03-14 ### 🐛 Bug Fixes @@ -54,7 +71,7 @@ All notable changes to this project will be documented in this file. - Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) - Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) -## [alleninstitute/geometry@0.0.3] - 2025-02-03 +## [0.0.3] - 2025-02-03 ### 🚀 Features @@ -71,46 +88,46 @@ All notable changes to this project will be documented in this file. dont hog the main thread - use a soft limit - Cache limits ([#14](https://github.com/AllenInstitute/vis/pull/14)) -* first pass at a system which cant leak cache content references (unlike my first attempt) - -* finish up some thoughts on how this cache should work. start in on some tests to make sure I'm not crazy. ditch jest because its terrible, try vitest for now - its way nicer but kinda hard to read the output for debugging - -* test some more edgy cases of this separate-but-related cache system - -* update apps to deal with recent changes in scatterbrain caching system - -* stream of consciousness documentation plus basic build&run instructions - -* kick out jest - re-write tests using async and vitest - -* think about warning of unsafe use via jsdoc... - -* forgot to update this demo - -* spellcheck - -* quick readme for scatterplots - -* more words - -* Update apps/omezarr-viewer/README.md - -Co-authored-by: Lane Sawyer - -* Update apps/omezarr-viewer/README.md - -Co-authored-by: Lane Sawyer - -* fix initial versa view. fix a missing closing-brace that would have made cache-eviction waste a lot of time for no reason - -* kick jest out of geometry tests too, switch to vitest, confirm all tests pass - -* remove my debug logging - -* remove isAbortError - ---------- - +* first pass at a system which cant leak cache content references (unlike my first attempt) + +* finish up some thoughts on how this cache should work. start in on some tests to make sure I'm not crazy. ditch jest because its terrible, try vitest for now - its way nicer but kinda hard to read the output for debugging + +* test some more edgy cases of this separate-but-related cache system + +* update apps to deal with recent changes in scatterbrain caching system + +* stream of consciousness documentation plus basic build&run instructions + +* kick out jest - re-write tests using async and vitest + +* think about warning of unsafe use via jsdoc... + +* forgot to update this demo + +* spellcheck + +* quick readme for scatterplots + +* more words + +* Update apps/omezarr-viewer/README.md + +Co-authored-by: Lane Sawyer + +* Update apps/omezarr-viewer/README.md + +Co-authored-by: Lane Sawyer + +* fix initial versa view. fix a missing closing-brace that would have made cache-eviction waste a lot of time for no reason + +* kick jest out of geometry tests too, switch to vitest, confirm all tests pass + +* remove my debug logging + +* remove isAbortError + +--------- + Co-authored-by: Lane Sawyer - DZI viewer component ([#29](https://github.com/AllenInstitute/vis/pull/29)) @@ -120,17 +137,17 @@ Co-authored-by: Lane Sawyer - Chore - move code around to make writing new "apps" less repetative ([#16](https://github.com/AllenInstitute/vis/pull/16)) -* move the furniture around - make it easier to share code between various "apps" - the scenario being that the code doesn't yet belong in published-packages, but might have common use in various demos. created a new spatial indexing sub-folder for the geometry package, and put our generic "quad"t tree in there (it can be a tree of any power-of-2 dimension) - -* thinking about layers - +* move the furniture around - make it easier to share code between various "apps" - the scenario being that the code doesn't yet belong in published-packages, but might have common use in various demos. created a new spatial indexing sub-folder for the geometry package, and put our generic "quad"t tree in there (it can be a tree of any power-of-2 dimension) + +* thinking about layers + * PR feedback, disable using the .parcel-cache when building - Formatting ([#26](https://github.com/AllenInstitute/vis/pull/26)) - CI workflow [DT-5996] ([#25](https://github.com/AllenInstitute/vis/pull/25)) - Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) - Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) -## [alleninstitute/geometry@0.0.2] - 2024-04-02 +## [0.0.2] - 2024-04-02 ### 🐛 Bug Fixes @@ -140,18 +157,18 @@ Co-authored-by: Lane Sawyer - A quick demo of how one might render a scatterplot (using ABC-atlas data) ([#7](https://github.com/AllenInstitute/vis/pull/7)) -* draw a blue screen in our scatterplot demo - -* add fetcher and visibility interface - -* make a renderer real quick - -* use the renderer, make a more interesting shader, the data is suspiciously ugly - -* minor cleanup - ---------- - +* draw a blue screen in our scatterplot demo + +* add fetcher and visibility interface + +* make a renderer real quick + +* use the renderer, make a more interesting shader, the data is suspiciously ugly + +* minor cleanup + +--------- + Co-authored-by: Lane Sawyer - Bump version @@ -159,7 +176,7 @@ Co-authored-by: Lane Sawyer - Use Parcel to produce libraries ([#9](https://github.com/AllenInstitute/vis/pull/9)) -## [alleninstitute/geometry@0.0.1] - 2024-02-13 +## [0.0.1] - 2024-02-13 ### 🚀 Features diff --git a/packages/omezarr/changelog.md b/packages/omezarr/changelog.md index c099985b..2a08c0f1 100644 --- a/packages/omezarr/changelog.md +++ b/packages/omezarr/changelog.md @@ -4,9 +4,14 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🚀 Features + +- Package tag changelog generation + ### 🐛 Bug Fixes - Parse axis name to match our internal casing [134] ([#140](https://github.com/AllenInstitute/vis/pull/140)) +- Allow Workers to be instantiated directly via callback ([#206](https://github.com/AllenInstitute/vis/pull/206)) ### 💼 Other @@ -14,6 +19,17 @@ All notable changes to this project will be documented in this file. Co-authored-by: Lane Sawyer - Didn't need quotes +- Don't filter out unconvenctional commits so we can see everything! +- Merge branch 'main' into lane/package-tag-changelogs +- Added support for Zarr V3 ([#191](https://github.com/AllenInstitute/vis/pull/191)) + +Co-authored-by: Lane Sawyer +- Update vis-omezarr to v0.0.13 ([#192](https://github.com/AllenInstitute/vis/pull/192)) +- Merge branch 'main' into lane/package-tag-changelogs +- Allow slices from planes by % rather than slice index - as the number of slices is not constant at all scales in most volumes ([#187](https://github.com/AllenInstitute/vis/pull/187)) + +Co-authored-by: Lane Sawyer +- Merge branch 'main' into lane/package-tag-changelogs ### ⚙️ Miscellaneous Tasks @@ -24,14 +40,31 @@ Co-authored-by: Lane Sawyer - *(deps)* Bump @biomejs/biome from 1.9.4 to 2.0.6 ([#174](https://github.com/AllenInstitute/vis/pull/174)) - *(deps)* Bump zarrita from 0.5.1 to 0.5.2 ([#175](https://github.com/AllenInstitute/vis/pull/175)) - Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) - -## [alleninstitute/omezarr@0.0.11] - 2025-04-23 +- Update release numbers for release ([#180](https://github.com/AllenInstitute/vis/pull/180)) +- *(deps)* Bump zod from 3.25.50 to 4.0.14 ([#181](https://github.com/AllenInstitute/vis/pull/181)) +- *(deps)* Bump zarrita from 0.5.2 to 0.5.3 ([#189](https://github.com/AllenInstitute/vis/pull/189)) +- *(deps)* Bump zod from 4.0.14 to 4.1.5 ([#188](https://github.com/AllenInstitute/vis/pull/188)) +- *(deps)* Bump @biomejs/biome from 2.1.3 to 2.2.2 ([#190](https://github.com/AllenInstitute/vis/pull/190)) +- *(deps)* Bump zod from 4.1.5 to 4.1.11 ([#195](https://github.com/AllenInstitute/vis/pull/195)) +- Create standalone Priority Cache without fetching ([#199](https://github.com/AllenInstitute/vis/pull/199)) +- Adding "type: module" to all packages ([#201](https://github.com/AllenInstitute/vis/pull/201)) +- Adding in a caching multithreaded Fetch Store ([#200](https://github.com/AllenInstitute/vis/pull/200)) +- Chore -cached loading (V3 omezarr support) step one ([#205](https://github.com/AllenInstitute/vis/pull/205)) +- Renaming render functions from "renderer" to "render command" ([#204](https://github.com/AllenInstitute/vis/pull/204)) +- *(deps)* Bump zod from 4.1.11 to 4.1.12 ([#214](https://github.com/AllenInstitute/vis/pull/214)) +- *(deps)* Bump zarrita from 0.5.3 to 0.5.4 ([#210](https://github.com/AllenInstitute/vis/pull/210)) +- *(deps)* Bump zod from 4.1.12 to 4.1.13 ([#218](https://github.com/AllenInstitute/vis/pull/218)) +- *(deps)* Bump zod from 4.1.13 to 4.3.4 ([#222](https://github.com/AllenInstitute/vis/pull/222)) +- *(deps)* Bump zod from 4.3.5 to 4.3.6 ([#228](https://github.com/AllenInstitute/vis/pull/228)) +- Update or remove dependencies ([#229](https://github.com/AllenInstitute/vis/pull/229)) + +## [0.0.11] - 2025-04-23 ### 💼 Other - Noah/webworker decoders ([#126](https://github.com/AllenInstitute/vis/pull/126)) -## [alleninstitute/omezarr@0.0.10] - 2025-04-08 +## [0.0.10] - 2025-04-08 ### 🚀 Features @@ -42,7 +75,7 @@ Co-authored-by: Lane Sawyer - Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) - Updates to package versions for Core, Geometry, OmeZarr + examples [DC-530] ([#124](https://github.com/AllenInstitute/vis/pull/124)) -## [alleninstitute/omezarr@0.0.9] - 2025-03-31 +## [0.0.9] - 2025-03-31 ### 🐛 Bug Fixes @@ -53,7 +86,7 @@ Co-authored-by: Lane Sawyer - Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) - Updating vis-dzi and vis-omezarr to enable use of vis-scatterbrain 0.0.10 ([#112](https://github.com/AllenInstitute/vis/pull/112)) -## [alleninstitute/omezarr@0.0.8] - 2025-03-28 +## [0.0.8] - 2025-03-28 ### 🐛 Bug Fixes @@ -64,20 +97,20 @@ Co-authored-by: Lane Sawyer - Logger with log levels ([#97](https://github.com/AllenInstitute/vis/pull/97)) - Update Vis OME-Zarr package to load the full set of metadata available in Zarr files [DT-7615] ([#103](https://github.com/AllenInstitute/vis/pull/103)) -## [alleninstitute/omezarr@0.0.7] - 2025-03-14 +## [0.0.7] - 2025-03-14 ### ⚙️ Miscellaneous Tasks - Update vis-omezarr 0.0.7 - upgrade zarrita to 0.5.0 ([#100](https://github.com/AllenInstitute/vis/pull/100)) -## [alleninstitute/omezarr@0.0.6] - 2025-03-14 +## [0.0.6] - 2025-03-14 ### 💼 Other - Updating contributors - March 2025 ([#99](https://github.com/AllenInstitute/vis/pull/99)) -## [alleninstitute/omezarr@0.0.5] - 2025-03-14 +## [0.0.5] - 2025-03-14 ### 🐛 Bug Fixes @@ -95,32 +128,32 @@ Co-authored-by: Lane Sawyer - Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) - Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) -## [alleninstitute/omezarr@0.0.4] - 2025-02-03 +## [0.0.4] - 2025-02-03 ### ⚙️ Miscellaneous Tasks - Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) - Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) -## [alleninstitute/omezarr@0.0.3] - 2024-12-04 +## [0.0.3] - 2024-12-04 ### 💼 Other - Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) -## [alleninstitute/omezarr@0.0.2] - 2024-12-02 +## [0.0.2] - 2024-12-02 ### 💼 Other - Noah/fix omezarr tile math mistake ([#45](https://github.com/AllenInstitute/vis/pull/45)) -## [alleninstitute/omezarr@0.0.1] - 2024-11-20 +## [0.0.1] - 2024-11-20 ### 💼 Other - Ome-zarr slice-view renderer package ([#34](https://github.com/AllenInstitute/vis/pull/34)) -Co-authored-by: Lane Sawyer +Co-authored-by: Lane Sawyer Co-authored-by: Skyler Moosman <8845503+TheMooseman@users.noreply.github.com> diff --git a/packages/scatterbrain/changelog.md b/packages/scatterbrain/changelog.md new file mode 100644 index 00000000..e120eb3d --- /dev/null +++ b/packages/scatterbrain/changelog.md @@ -0,0 +1,298 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [unreleased] + +### 🚀 Features + +- Publishing documentation and config changes ([#3](https://github.com/AllenInstitute/vis/pull/3)) +- Feat(vis) layered rendering demo ([#22](https://github.com/AllenInstitute/vis/pull/22)) + +* first step to layered rendering: one layer! + +* bufferPair gets its own file in common/ + +* technically functional rendering of layers of ome-zarr slices and scatterplot points. + +* dig up the old ccf average-template data... todo ask scott for better chunk-sizes! + +* I can load a slide-view slide and the average_template ccf (ask scott for a better one) and show them togeather, although their dimensions suggest that they are radically different sizes + +* get the dang things to line up by fixing all my goofy voxel math + +* aaaaaaah what a wild bug + +* a little less sloppy + +* fun idea but breaks visibility determination + +* generalize layers, build up convenience around frames, more formal types to be rendered + +* a working (but somewhat confusing) generic layer (impl for scatterplots first) + +* both layer types working + +* delete half-baked approach + +* pull out common stuff (target) from generic types to make things less confusing + +* add a super basic annotation (just lines) renderer, wrap it in a layer thingy + +* fix a lil slop + +* minor changes as I prepare to add some sort of UI + +* working but very strange imgui implementation... lets see if its nice + +* add some UI - not in love withit + +* draw after loading + +* start to merge the two different zarr rendering methods + +* less hacky way of picking an appropriate resolution, although its still a bit iffy... + +* thinking about skipping ui and just having json state... + +* super basic optional transforms for layers. next up a grid of these things + +* add a volume grid layer, mild cleanup elsewhere + +* draw data as it arrives - and prepend frames with low-res data to cover the pan case + +* refactor various types and loaders to make it easier to configure an instance with a list of simple config payloads. separate data types from the code that would render them. updates to demo to use new loaders + +* lets serve the app with parcel + +* Get layers app Parcelized + +* Noah/layers pt2 ([#23](https://github.com/AllenInstitute/vis/pull/23)) + +* delete ye olde build script + +* add some react for UI - think about if I like it or it will make my life nice + +* fix a perf bug in which we consider rendering every slice in a grid regardless of zoom level. +some (better?) smoke and mirrors trickery to try to obscure redraw flickering when panning/zooming + +* working but messy impl of a worker pool that handles decoding zarr chunks for us + +# Conflicts: +# apps/layers/package.json + +* play around with WW pool size, and fix a bug in which the optional render-working budget parameters were being ignored (for the slice renderer specifically) + +* move a shocking amount of code in to render slide-view style annotations + +# Conflicts: +# apps/layers/package.json + +* good enough for now + +# Conflicts: +# apps/layers/src/demo.ts + +* respect queue params + +* enable screenshots, with a default output resolution of roughly 85MP + +# Conflicts: +# apps/layers/package.json +# apps/layers/src/demo.ts +# pnpm-lock.yaml + +* start thinking about upside down data... + +* its all upside down now great + +* minor tidy, plus a rough attempt at a less flickery stand-in algorithm + +* tools to add layers during demotime + +# Conflicts: +# apps/layers/src/demo.ts + +* add a versa layer + +* add scatterplot-slideview real quick + +# Conflicts: +# apps/layers/src/demo.ts + +* start some cleanup so I can merge this... + +# Conflicts: +# apps/layers/src/demo.ts + +* Merge branch 'noah/layered-demo' into noah/layered-with-react-whynot + +# Conflicts: +# apps/layers/src/demo.ts + +* quickly change the underlying cache type for scatterplots for much better perf (gpu buffer not client-buffer) + +* try out sds components for quick hacky ui fun - delete old ui code + +* add a bunch of per-layer ui elements + +* prev/next layer buttons + +* take a snapshot button + +* quickly re-enable drawing layers + +* a bit hacky, but non-flickering drawings are worth it for a demo + +* change moduleResolution in the apps tsconfig to make the zarr library that we use extensively get resolved correctly. this is an issue on their end: https://github.com/gzuidhof/zarr.js/issues/152 + +* cleanup some increasingly scary cherrypicks, and finally tidy up those last little demo ts errors. + +* clean up a bunch of low hanging fruit + +* fix up the scatterplot (standalone) demo + +* readme and demo script + +* a little more + +* copy in the latest and greatest annotation stuff in + +* minor cleanups + +* fix wrongly named example + +--------- + +Co-authored-by: Lane Sawyer + +### 🐛 Bug Fixes + +- Fix a mistake in cache logic, add a test ([#20](https://github.com/AllenInstitute/vis/pull/20)) + +* fix an issue with the dataset cache in which it does not behave properly if multiple semantic keys end up requiring the same cache key. TODO add a test case + +* stub a test for this edge case + +* unit test our fun scenario + +* realized another potential bug as I was doing a self-review. we now more correctly handle pre-existing promises in the cache + +* ! operator because we know that it exists + +* PR feedback cleanup +- CI tests weren't running [DT-7060] ([#87](https://github.com/AllenInstitute/vis/pull/87)) +- Remove non-null assertions ([#101](https://github.com/AllenInstitute/vis/pull/101)) + +### 💼 Other + +- Super basic scatterbrain package +- Confirming I can import stuff from our workspace packages with full ts support, beggining work on a barebones omezarr renderer +- Working basic volumetric slice rendering. cleanup a bunch of oopsies in the tsconfigs. +- Implement a resolution-aware dataset layer picker, and a relative camera which is surprisingly nice +- When initializing the repo, names were changed, this fact was not reflected in imports vs. workspace packages. +- Turn on tsconfig verbatimmodulesyntax. delete super busted old demo. +add a base tsconfig for the others to extend - still a work in progress. +- Merge pull request [#1](https://github.com/AllenInstitute/vis/pull/1) from AllenInstitute/noah/cleanup-mistakes-during-repo-init + +Noah/cleanup mistakes during repo init +- Dont hog the main thread - use a soft limit +- Update the version to accompany this PR, and two lil cleanups in the scatterbrain demo that got lost in the shuffle of everything +- Merge pull request [#12](https://github.com/AllenInstitute/vis/pull/12) from AllenInstitute/noah/limit-queue-time + +dont hog the main thread - use a soft limit +- Cache limits ([#14](https://github.com/AllenInstitute/vis/pull/14)) + +* first pass at a system which cant leak cache content references (unlike my first attempt) + +* finish up some thoughts on how this cache should work. start in on some tests to make sure I'm not crazy. ditch jest because its terrible, try vitest for now - its way nicer but kinda hard to read the output for debugging + +* test some more edgy cases of this separate-but-related cache system + +* update apps to deal with recent changes in scatterbrain caching system + +* stream of consciousness documentation plus basic build&run instructions + +* kick out jest - re-write tests using async and vitest + +* think about warning of unsafe use via jsdoc... + +* forgot to update this demo + +* spellcheck + +* quick readme for scatterplots + +* more words + +* Update apps/omezarr-viewer/README.md + +Co-authored-by: Lane Sawyer + +* Update apps/omezarr-viewer/README.md + +Co-authored-by: Lane Sawyer + +* fix initial versa view. fix a missing closing-brace that would have made cache-eviction waste a lot of time for no reason + +* kick jest out of geometry tests too, switch to vitest, confirm all tests pass + +* remove my debug logging + +* remove isAbortError + +--------- + +Co-authored-by: Lane Sawyer +- Layered rendering util ([#24](https://github.com/AllenInstitute/vis/pull/24)) + +* well its a start + +* apostrophy + +* mostly just move ReglLayer2D over to packages, and make a minor change (that should hopefully be less surprising) to long-running-frame lifecycle callbacks + +* bump the version +- DZI viewer component ([#29](https://github.com/AllenInstitute/vis/pull/29)) + +Co-authored-by: Lane Sawyer +- Flickery frames due to leaky event handling ([#36](https://github.com/AllenInstitute/vis/pull/36)) +- Still flickery ([#37](https://github.com/AllenInstitute/vis/pull/37)) +- Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) +- March 2025 ([#99](https://github.com/AllenInstitute/vis/pull/99)) +- Scatterbrain rendering in vis, including shader generation ([#223](https://github.com/AllenInstitute/vis/pull/223)) + +Co-authored-by: Lane Sawyer +- Merge branch 'main' into lane/package-tag-changelogs + +### 🚜 Refactor + +- Add JS Doc comments (and some minor refactor) ([#4](https://github.com/AllenInstitute/vis/pull/4)) + +### ⚙️ Miscellaneous Tasks + +- Use Parcel to produce libraries ([#9](https://github.com/AllenInstitute/vis/pull/9)) +- Chore - move code around to make writing new "apps" less repetative ([#16](https://github.com/AllenInstitute/vis/pull/16)) + +* move the furniture around - make it easier to share code between various "apps" - the scenario being that the code doesn't yet belong in published-packages, but might have common use in various demos. created a new spatial indexing sub-folder for the geometry package, and put our generic "quad"t tree in there (it can be a tree of any power-of-2 dimension) + +* thinking about layers + +* PR feedback, disable using the .parcel-cache when building +- Formatting ([#26](https://github.com/AllenInstitute/vis/pull/26)) +- Update Scatterbrain Version ([#32](https://github.com/AllenInstitute/vis/pull/32)) +- Pull request template [DT-5996] ([#38](https://github.com/AllenInstitute/vis/pull/38)) +- Scatterbrain README tweaks ([#44](https://github.com/AllenInstitute/vis/pull/44)) +- Remove only-allow so builds stop failing ([#47](https://github.com/AllenInstitute/vis/pull/47)) +- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) +- Install Biome, fix formatting [DT-7060] ([#52](https://github.com/AllenInstitute/vis/pull/52)) +- Biome linting with auto-fixes [DT-7060] ([#53](https://github.com/AllenInstitute/vis/pull/53)) +- Dependency health configurations ([#17](https://github.com/AllenInstitute/vis/pull/17)) +- Clean up dependencies [DT-7060] ([#55](https://github.com/AllenInstitute/vis/pull/55)) +- Fix all but non-null assertion lints ([#96](https://github.com/AllenInstitute/vis/pull/96)) +- Logger with log levels ([#97](https://github.com/AllenInstitute/vis/pull/97)) +- Test coverage tooling ([#95](https://github.com/AllenInstitute/vis/pull/95)) +- Update to v0.0.10 ([#111](https://github.com/AllenInstitute/vis/pull/111)) +- Rename vis-scatterbrain package to vis-core ([#118](https://github.com/AllenInstitute/vis/pull/118)) + + diff --git a/packages/scatterbrain/package.json b/packages/scatterbrain/package.json index 7568f60c..d41beba2 100644 --- a/packages/scatterbrain/package.json +++ b/packages/scatterbrain/package.json @@ -43,7 +43,7 @@ "test": "vitest --watch", "test:ci": "vitest run", "coverage": "vitest run --coverage", - "changelog": "git-cliff -o changelog.md" + "changelog": "git-cliff -o changelog.md --tag-pattern @alleninstitute/vis-scatterbrain@*" }, "repository": { "type": "git", @@ -64,4 +64,4 @@ "devDependencies": { "@types/lodash": "4.17.23" } -} +} \ No newline at end of file diff --git a/site/changelog.md b/site/changelog.md index f1758fd4..770ee822 100644 --- a/site/changelog.md +++ b/site/changelog.md @@ -4,11 +4,36 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🚀 Features + +- Package tag changelog generation + +### 💼 Other + +- Don't filter out unconvenctional commits so we can see everything! +- Added support for Zarr V3 ([#191](https://github.com/AllenInstitute/vis/pull/191)) + +Co-authored-by: Lane Sawyer +- Merge branch 'main' into lane/package-tag-changelogs +- Allow slices from planes by % rather than slice index - as the number of slices is not constant at all scales in most volumes ([#187](https://github.com/AllenInstitute/vis/pull/187)) + +Co-authored-by: Lane Sawyer +- Scatterbrain rendering in vis, including shader generation ([#223](https://github.com/AllenInstitute/vis/pull/223)) + +Co-authored-by: Lane Sawyer +- Merge branch 'main' into lane/package-tag-changelogs + ### ⚙️ Miscellaneous Tasks - Add Changelogs ([#117](https://github.com/AllenInstitute/vis/pull/117)) - -## [alleninstitute/core@0.0.4] - 2025-07-14 +- *(deps)* Bump @biomejs/biome from 2.1.3 to 2.2.2 ([#190](https://github.com/AllenInstitute/vis/pull/190)) +- Create standalone Priority Cache without fetching ([#199](https://github.com/AllenInstitute/vis/pull/199)) +- Adding in a caching multithreaded Fetch Store ([#200](https://github.com/AllenInstitute/vis/pull/200)) +- Chore -cached loading (V3 omezarr support) step one ([#205](https://github.com/AllenInstitute/vis/pull/205)) +- Cleanup & reorganization of Examples in Vis Docs ([#209](https://github.com/AllenInstitute/vis/pull/209)) +- Update or remove dependencies ([#229](https://github.com/AllenInstitute/vis/pull/229)) + +## [0.0.4] - 2025-07-14 ### 🚀 Features From a41374185d703d1f333139e9c9a12af81d4c9820 Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Wed, 18 Feb 2026 21:43:18 -0800 Subject: [PATCH 5/7] fmt --- packages/scatterbrain/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scatterbrain/package.json b/packages/scatterbrain/package.json index d41beba2..c7a3fc58 100644 --- a/packages/scatterbrain/package.json +++ b/packages/scatterbrain/package.json @@ -64,4 +64,4 @@ "devDependencies": { "@types/lodash": "4.17.23" } -} \ No newline at end of file +} From 243f0804f1cef6082ee82299f45c33edf3f601d3 Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Wed, 18 Feb 2026 21:44:47 -0800 Subject: [PATCH 6/7] remove release workflow, not necessary for this PR --- .github/workflows/release.yml | 165 ---------------------------------- 1 file changed, 165 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index eef9d49d..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,165 +0,0 @@ -name: Release Package - -on: - workflow_dispatch: - inputs: - package: - description: 'Package to release' - required: true - type: choice - options: - - core - - dzi - - geometry - - omezarr - - web-components - -permissions: - contents: write - packages: write - pull-requests: write - -jobs: - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 9.14.2 - - - name: Install dependencies - run: pnpm install - - - name: Configure Git - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - - # Set the remote URL to use the token for pushing - git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git - - - name: Get current version and determine next version - id: version_info - run: | - cd packages/${{ github.event.inputs.package }} - - # Get current version - CURRENT_VERSION=$(node -p "require('./package.json').version") - echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT - - # Use git-cliff to determine the next version - TAG_PATTERN="@alleninstitute/vis-${{ github.event.inputs.package }}@*" - NEXT_VERSION=$(npx git-cliff --tag-pattern "$TAG_PATTERN" --bumped-version) - - # Extract just the version number (remove the tag prefix) - NEXT_VERSION=$(echo "$NEXT_VERSION" | sed 's/.*@//') - - echo "next_version=$NEXT_VERSION" >> $GITHUB_OUTPUT - echo "Current version: $CURRENT_VERSION" - echo "Next version: $NEXT_VERSION" - - - name: Update version number and create initial tag - run: | - cd packages/${{ github.event.inputs.package }} - # npm version creates a commit and a tag for us - npm version ${{ steps.version_info.outputs.next_version }} --no-git-tag-version=false - - - name: Generate changelog - run: | - cd packages/${{ github.event.inputs.package }} - pnpm run changelog - - - name: Amend commit with changelog - run: | - cd packages/${{ github.event.inputs.package }} - git add changelog.md - git commit --amend --no-edit - - - name: Delete the tag created by npm version and create new one - id: create_tag - run: | - cd packages/${{ github.event.inputs.package }} - TAG_NAME="@alleninstitute/vis-${{ github.event.inputs.package }}@${{ steps.version_info.outputs.next_version }}" - - # Delete the tag created by npm version (it would be just the version number) - git tag -d v${{ steps.version_info.outputs.next_version }} || true - - # Create a new tag with our naming convention on the amended commit - git tag -a "$TAG_NAME" -m "Release $TAG_NAME" - echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT - - - name: Create release branch and push changes - run: | - BRANCH_NAME="release/${{ github.event.inputs.package }}-v${{ steps.version_info.outputs.next_version }}" - git checkout -b "$BRANCH_NAME" - git push origin "$BRANCH_NAME" - - - name: Create Pull Request - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} - script: | - const { data: pullRequest } = await github.rest.pulls.create({ - owner: context.repo.owner, - repo: context.repo.repo, - title: `Release ${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }}`, - head: `release/${{ github.event.inputs.package }}-v${{ steps.version_info.outputs.next_version }}`, - base: 'main', - body: `Automated release for @alleninstitute/vis-${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }}\n\nSee [CHANGELOG](./packages/${{ github.event.inputs.package }}/changelog.md) for details.` - }); - - // Auto-merge if you have that enabled - await github.rest.pulls.merge({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pullRequest.number, - merge_method: 'squash' - }); - - - name: Push tag after merge - run: | - # Wait a moment for the merge to complete - sleep 5 - git checkout main - git pull origin main - git push origin ${{ steps.create_tag.outputs.tag_name }} - - - name: Create GitHub Release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ steps.create_tag.outputs.tag_name }} - release_name: "${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }}" - body: | - Release of @alleninstitute/vis-${{ github.event.inputs.package }} v${{ steps.version_info.outputs.next_version }} - - See [CHANGELOG](./packages/${{ github.event.inputs.package }}/changelog.md) for details. - draft: false - prerelease: false - - - name: Publish to GitHub Packages (if needed) - run: | - cd packages/${{ github.event.inputs.package }} - echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc - echo "@alleninstitute:registry=https://npm.pkg.github.com" >> .npmrc - - # Build the package first - pnpm run build - - # Publish to GitHub Packages - npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From a2c09906dc8414177a5119c1c9a19e27f6aa3568 Mon Sep 17 00:00:00 2001 From: Lane Sawyer Date: Wed, 18 Feb 2026 21:56:35 -0800 Subject: [PATCH 7/7] tag scattebrain to make sure it was working --- packages/core/changelog.md | 1 + packages/dzi/changelog.md | 4 ++++ packages/geometry/changelog.md | 4 ++++ packages/omezarr/changelog.md | 1 + packages/scatterbrain/changelog.md | 12 +++++++++++- site/changelog.md | 11 ++++++++++- 6 files changed, 31 insertions(+), 2 deletions(-) diff --git a/packages/core/changelog.md b/packages/core/changelog.md index d5d95061..11d02978 100644 --- a/packages/core/changelog.md +++ b/packages/core/changelog.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. ### 🐛 Bug Fixes - Allow Workers to be instantiated directly via callback ([#206](https://github.com/AllenInstitute/vis/pull/206)) +- Fix version display on changelogs and tweak scatterbrain package command ### 💼 Other diff --git a/packages/dzi/changelog.md b/packages/dzi/changelog.md index 2cd11ccc..14686789 100644 --- a/packages/dzi/changelog.md +++ b/packages/dzi/changelog.md @@ -9,6 +9,10 @@ All notable changes to this project will be documented in this file. - DZI fetch function ([#162](https://github.com/AllenInstitute/vis/pull/162)) - Package tag changelog generation +### 🐛 Bug Fixes + +- Fix version display on changelogs and tweak scatterbrain package command + ### 💼 Other - Don't filter out unconvenctional commits so we can see everything! diff --git a/packages/geometry/changelog.md b/packages/geometry/changelog.md index ed560766..bd3da69a 100644 --- a/packages/geometry/changelog.md +++ b/packages/geometry/changelog.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. - Package tag changelog generation +### 🐛 Bug Fixes + +- Fix version display on changelogs and tweak scatterbrain package command + ### 💼 Other - Basic 3D Math utils ([#170](https://github.com/AllenInstitute/vis/pull/170)) diff --git a/packages/omezarr/changelog.md b/packages/omezarr/changelog.md index 2a08c0f1..1921af3a 100644 --- a/packages/omezarr/changelog.md +++ b/packages/omezarr/changelog.md @@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. - Parse axis name to match our internal casing [134] ([#140](https://github.com/AllenInstitute/vis/pull/140)) - Allow Workers to be instantiated directly via callback ([#206](https://github.com/AllenInstitute/vis/pull/206)) +- Fix version display on changelogs and tweak scatterbrain package command ### 💼 Other diff --git a/packages/scatterbrain/changelog.md b/packages/scatterbrain/changelog.md index e120eb3d..3eed7e99 100644 --- a/packages/scatterbrain/changelog.md +++ b/packages/scatterbrain/changelog.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🐛 Bug Fixes + +- Fix version display on changelogs and tweak scatterbrain package command + +### 💼 Other + +- Merge branch 'main' into lane/package-tag-changelogs +- Fmt + +## [0.0.1] - 2026-02-11 + ### 🚀 Features - Publishing documentation and config changes ([#3](https://github.com/AllenInstitute/vis/pull/3)) @@ -263,7 +274,6 @@ Co-authored-by: Lane Sawyer - Scatterbrain rendering in vis, including shader generation ([#223](https://github.com/AllenInstitute/vis/pull/223)) Co-authored-by: Lane Sawyer -- Merge branch 'main' into lane/package-tag-changelogs ### 🚜 Refactor diff --git a/site/changelog.md b/site/changelog.md index 770ee822..99085853 100644 --- a/site/changelog.md +++ b/site/changelog.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🐛 Bug Fixes + +- Fix version display on changelogs and tweak scatterbrain package command + +### 💼 Other + +- Merge branch 'main' into lane/package-tag-changelogs + +## [0.0.1] - 2026-02-11 + ### 🚀 Features - Package tag changelog generation @@ -21,7 +31,6 @@ Co-authored-by: Lane Sawyer - Scatterbrain rendering in vis, including shader generation ([#223](https://github.com/AllenInstitute/vis/pull/223)) Co-authored-by: Lane Sawyer -- Merge branch 'main' into lane/package-tag-changelogs ### ⚙️ Miscellaneous Tasks