diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 943f18ad..3c8a0738 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,6 +76,9 @@ jobs: env: OUTPUT: packages/${{ inputs.package }}/CHANGELOG.md + - name: Format changelog + run: pnpm exec oxfmt "packages/${{ inputs.package }}/CHANGELOG.md" + - name: Commit package.json and changelog run: | git add "packages/${{ inputs.package }}/package.json" \ diff --git a/packages/core/changelog.md b/packages/core/CHANGELOG.md similarity index 88% rename from packages/core/changelog.md rename to packages/core/CHANGELOG.md index 41a9df11..386f9e15 100644 --- a/packages/core/changelog.md +++ b/packages/core/CHANGELOG.md @@ -6,22 +6,19 @@ All notable changes to this project will be documented in this file. ### 🚀 Features -- Package tag changelog generation +- Package tag changelog generation [DT-9260] ([#179](https://github.com/AllenInstitute/vis/pull/179)) ### 🐛 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 -- 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 -- Tag scattebrain to make sure it was working - Slight changes to the CacheClient interface ([#253](https://github.com/AllenInstitute/vis/pull/253)) -- Merge branch 'main' into lane/package-tag-changelogs +- Fix name of file on changelog command +- Make changelog files uppercase +- Add fmt to changelog production command +- Do git stuff to make sure it's actually changing the file name ### ⚙️ Miscellaneous Tasks @@ -37,6 +34,8 @@ All notable changes to this project will be documented in this file. - _(deps)_ Bump lodash and @types/lodash ([#236](https://github.com/AllenInstitute/vis/pull/236)) - NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) - _(deps)_ Bump @biomejs/biome from 2.4.4 to 2.4.9 ([#245](https://github.com/AllenInstitute/vis/pull/245)) +- Migrate to oxfmt ([#247](https://github.com/AllenInstitute/vis/pull/247)) +- _(deps)_ Bump lodash from 4.17.23 to 4.18.1 ([#248](https://github.com/AllenInstitute/vis/pull/248)) ## [0.0.4] - 2025-07-14 diff --git a/packages/core/package.json b/packages/core/package.json index e75fb09f..68544b2c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -42,7 +42,7 @@ "test": "vitest --watch", "test:ci": "vitest run", "coverage": "vitest run --coverage", - "changelog": "git-cliff -o changelog.md --tag-pattern @alleninstitute/vis-core@*" + "changelog": "git-cliff -o CHANGELOG.md --tag-pattern @alleninstitute/vis-core@* && oxfmt CHANGELOG.md" }, "repository": { "type": "git", diff --git a/packages/dzi/changelog.md b/packages/dzi/CHANGELOG.md similarity index 68% rename from packages/dzi/changelog.md rename to packages/dzi/CHANGELOG.md index eafdb842..f54c52e9 100644 --- a/packages/dzi/changelog.md +++ b/packages/dzi/CHANGELOG.md @@ -7,20 +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 - -### 🐛 Bug Fixes - -- Fix version display on changelogs and tweak scatterbrain package command +- Package tag changelog generation [DT-9260] ([#179](https://github.com/AllenInstitute/vis/pull/179)) ### 💼 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 -- Tag scattebrain to make sure it was working -- Merge branch 'main' into lane/package-tag-changelogs +- Fix name of file on changelog command +- Make changelog files uppercase +- Add fmt to changelog production command +- Do git stuff to make sure it's actually changing the file name ### ⚙️ Miscellaneous Tasks @@ -35,6 +29,7 @@ All notable changes to this project will be documented in this file. - 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)) - NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) +- Migrate to oxfmt ([#247](https://github.com/AllenInstitute/vis/pull/247)) ## [0.0.11] - 2025-04-08 @@ -71,12 +66,39 @@ All notable changes to this project will be documented in this file. - 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)) + +## [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)) + +## [0.0.6] - 2024-12-04 + +### 💼 Other + +- Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) + +## [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)) + +## [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)) + +## [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/dzi/package.json b/packages/dzi/package.json index b9eec83e..34a5c33e 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 --tag-pattern @alleninstitute/vis-dzi@*" + "changelog": "git-cliff -o CHANGELOG.md --tag-pattern @alleninstitute/vis-dzi@* && oxfmt CHANGELOG.md" }, "repository": { "type": "git", diff --git a/packages/geometry/CHANGELOG.md b/packages/geometry/CHANGELOG.md new file mode 100644 index 00000000..ad321aba --- /dev/null +++ b/packages/geometry/CHANGELOG.md @@ -0,0 +1,208 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [unreleased] + +### 🚀 Features + +- Package tag changelog generation [DT-9260] ([#179](https://github.com/AllenInstitute/vis/pull/179)) + +### 💼 Other + +- Basic 3D Math utils ([#170](https://github.com/AllenInstitute/vis/pull/170)) +- Scatterbrain rendering in vis, including shader generation ([#223](https://github.com/AllenInstitute/vis/pull/223)) + +Co-authored-by: Lane Sawyer + +- Fix name of file on changelog command +- Make changelog files uppercase +- Add fmt to changelog production command +- Do git stuff to make sure it's actually changing the file name + +### ⚙️ 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)) +- 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)) +- NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) +- Migrate to oxfmt ([#247](https://github.com/AllenInstitute/vis/pull/247)) + +## [0.0.6] - 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 + +- 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)) + +## [0.0.5] - 2025-03-28 + +### 🐛 Bug Fixes + +- 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)) + +## [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 + +- 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)) + +## [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)) + +### 💼 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)) +- Version bumps for only-allow removal release ([#51](https://github.com/AllenInstitute/vis/pull/51)) + +## [0.0.2] - 2024-04-02 + +### 🐛 Bug Fixes + +- _(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)) + +## [0.0.1] - 2024-02-13 + +### 🚀 Features + +- 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/geometry/changelog.md b/packages/geometry/changelog.md deleted file mode 100644 index 7dfae781..00000000 --- a/packages/geometry/changelog.md +++ /dev/null @@ -1,48 +0,0 @@ -# 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)) -- _(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)) - -### 🐛 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)) - -## [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 - -- 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)) - - diff --git a/packages/geometry/package.json b/packages/geometry/package.json index 532948d6..947e868d 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 --tag-pattern @alleninstitute/vis-geometry@*" + "changelog": "git-cliff -o CHANGELOG.md --tag-pattern @alleninstitute/vis-geometry@* && oxfmt CHANGELOG.md" }, "repository": { "type": "git", diff --git a/packages/omezarr/CHANGELOG.md b/packages/omezarr/CHANGELOG.md new file mode 100644 index 00000000..a0954e28 --- /dev/null +++ b/packages/omezarr/CHANGELOG.md @@ -0,0 +1,164 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [unreleased] + +### 🚀 Features + +- Package tag changelog generation [DT-9260] ([#179](https://github.com/AllenInstitute/vis/pull/179)) + +### 🐛 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)) +- Incorrectly published a change without changing a version ([#239](https://github.com/AllenInstitute/vis/pull/239)) + +### 💼 Other + +- A priority cache with a (better?) api ([#171](https://github.com/AllenInstitute/vis/pull/171)) + +Co-authored-by: Lane Sawyer + +- 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)) +- 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 + +- Fix name of file on changelog command +- Make changelog files uppercase +- Add fmt to changelog production command +- Do git stuff to make sure it's actually changing the file name + +### ⚙️ 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)) +- 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)) +- NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) +- Migrate to oxfmt ([#247](https://github.com/AllenInstitute/vis/pull/247)) + +## [0.0.11] - 2025-04-23 + +### 💼 Other + +- Noah/webworker decoders ([#126](https://github.com/AllenInstitute/vis/pull/126)) + +## [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)) + +## [0.0.9] - 2025-03-31 + +### 🐛 Bug Fixes + +- Fix issue with handling RGB channels in new OME-Zarr metadata code [DT-7615] ([#110](https://github.com/AllenInstitute/vis/pull/110)) + +### ⚙️ 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)) + +## [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)) + +## [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)) + +## [0.0.6] - 2025-03-14 + +### 💼 Other + +- Updating contributors +- March 2025 ([#99](https://github.com/AllenInstitute/vis/pull/99)) + +## [0.0.5] - 2025-03-14 + +### 🐛 Bug Fixes + +- 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)) +- 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)) + +## [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)) + +## [0.0.3] - 2024-12-04 + +### 💼 Other + +- Noah/documentation ([#46](https://github.com/AllenInstitute/vis/pull/46)) + +## [0.0.2] - 2024-12-02 + +### 💼 Other + +- Noah/fix omezarr tile math mistake ([#45](https://github.com/AllenInstitute/vis/pull/45)) + +## [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/packages/omezarr/changelog.md b/packages/omezarr/changelog.md deleted file mode 100644 index 828bc35c..00000000 --- a/packages/omezarr/changelog.md +++ /dev/null @@ -1,50 +0,0 @@ -# Changelog - -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)) -- Fix version display on changelogs and tweak scatterbrain package command -- Incorrectly published a change without changing a version ([#239](https://github.com/AllenInstitute/vis/pull/239)) - -### 💼 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 -- 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 -- Tag scattebrain to make sure it was working -- Merge branch 'main' into lane/package-tag-changelogs - -### ⚙️ 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)) - - diff --git a/packages/omezarr/package.json b/packages/omezarr/package.json index 5afd954b..293a8ed2 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@* && oxfmt CHANGELOG.md" }, "repository": { "type": "git", diff --git a/packages/scatterbrain/CHANGELOG.md b/packages/scatterbrain/CHANGELOG.md index ada4a7c5..93716c45 100644 --- a/packages/scatterbrain/CHANGELOG.md +++ b/packages/scatterbrain/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. +## [unreleased] + +### 💼 Other + +- Fix name of file on changelog command +- Make changelog files uppercase +- Add fmt to changelog production command +- Do git stuff to make sure it's actually changing the file name + +### ⚙️ Miscellaneous Tasks + +- Update documentatoin for publishing [DT-9260] + ## [0.1.0] - 2026-05-08 ### 🚀 Features @@ -18,10 +31,11 @@ All notable changes to this project will be documented in this file. ### ⚙️ Miscellaneous Tasks -- *(deps)* Bump lodash and @types/lodash ([#236](https://github.com/AllenInstitute/vis/pull/236)) +- _(deps)_ Bump lodash and @types/lodash ([#236](https://github.com/AllenInstitute/vis/pull/236)) - NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) - Migrate to oxfmt ([#247](https://github.com/AllenInstitute/vis/pull/247)) -- *(deps)* Bump lodash from 4.17.23 to 4.18.1 ([#248](https://github.com/AllenInstitute/vis/pull/248)) +- _(deps)_ Bump lodash from 4.17.23 to 4.18.1 ([#248](https://github.com/AllenInstitute/vis/pull/248)) +- _(release)_ @alleninstitute/vis-scatterbrain@0.1.0 ## [0.0.1] - 2026-02-11 @@ -30,178 +44,189 @@ 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)) - 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 - ---------- - +* 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 - +* 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)) @@ -213,70 +238,75 @@ Co-authored-by: Lane Sawyer - 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. + 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 - ---------- - +* 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 - +* 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)) @@ -294,11 +324,12 @@ Co-authored-by: Lane Sawyer - 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 - +* 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)) diff --git a/packages/scatterbrain/changelog.md b/packages/scatterbrain/changelog.md deleted file mode 100644 index 4e4ff9de..00000000 --- a/packages/scatterbrain/changelog.md +++ /dev/null @@ -1,334 +0,0 @@ -# Changelog - -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 -- Incorrectly published a change without changing a version ([#239](https://github.com/AllenInstitute/vis/pull/239)) - -### 💼 Other - -- Merge branch 'main' into lane/package-tag-changelogs -- Fmt -- Tag scattebrain to make sure it was working -- Slight changes to the CacheClient interface ([#253](https://github.com/AllenInstitute/vis/pull/253)) -- Merge branch 'main' into lane/package-tag-changelogs - -### ⚙️ Miscellaneous Tasks - -- _(deps)_ Bump lodash and @types/lodash ([#236](https://github.com/AllenInstitute/vis/pull/236)) -- NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) - -## [0.0.1] - 2026-02-11 - -### 🚀 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 - -### 🚜 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 05c19a65..a0c0a732 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 --tag-pattern @alleninstitute/vis-scatterbrain@*" + "changelog": "git-cliff -o CHANGELOG.md --tag-pattern @alleninstitute/vis-scatterbrain@* && oxfmt CHANGELOG.md" }, "repository": { "type": "git", diff --git a/site/changelog.md b/site/CHANGELOG.md similarity index 86% rename from site/changelog.md rename to site/CHANGELOG.md index b738f441..12bd4c11 100644 --- a/site/changelog.md +++ b/site/CHANGELOG.md @@ -4,37 +4,37 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### 🚀 Features + +- Package tag changelog generation [DT-9260] ([#179](https://github.com/AllenInstitute/vis/pull/179)) + ### 🐛 Bug Fixes -- Fix version display on changelogs and tweak scatterbrain package command - Scatterbrain demo ([#233](https://github.com/AllenInstitute/vis/pull/233)) - DZI Example Improvement ([#238](https://github.com/AllenInstitute/vis/pull/238)) ### 💼 Other -- Merge branch 'main' into lane/package-tag-changelogs -- Tag scattebrain to make sure it was working -- Merge branch 'main' into lane/package-tag-changelogs +- Fix name of file on changelog command +- Make changelog files uppercase +- Add fmt to changelog production command +- Do git stuff to make sure it's actually changing the file name ### ⚙️ Miscellaneous Tasks - Enhance documentation ([#232](https://github.com/AllenInstitute/vis/pull/232)) - NPM registry [DT-9193] ([#241](https://github.com/AllenInstitute/vis/pull/241)) +- Migrate to oxfmt ([#247](https://github.com/AllenInstitute/vis/pull/247)) +- Update documentatoin for publishing [DT-9260] ## [0.0.1] - 2026-02-11 -### 🚀 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 diff --git a/site/package.json b/site/package.json index 308577e8..bf30f0e3 100644 --- a/site/package.json +++ b/site/package.json @@ -36,7 +36,7 @@ "preview": "astro preview", "astro": "astro", "typecheck": "astro check", - "changelog": "git-cliff -o changelog.md" + "changelog": "git-cliff -o CHANGELOG.md && oxfmt CHANGELOG.md" }, "devDependencies": { "@types/file-saver": "2.0.7", diff --git a/site/src/content/docs/developers/publishing.md b/site/src/content/docs/developers/publishing.md index 68919082..994f6966 100644 --- a/site/src/content/docs/developers/publishing.md +++ b/site/src/content/docs/developers/publishing.md @@ -7,11 +7,11 @@ The `vis` project contains multiple packages, each of which is published to the ## Publishing a New Package -When you have a new package to publish, follow these steps to publish it: +Publishing is handled by two GitHub Actions workflows. The **Release** workflow is triggered manually and handles bumping the version, generating the changelog, and creating a git tag. Pushing that tag then automatically triggers the **Publish** workflow, which builds and publishes the package to NPM. -1. Authenticate with NPM by running `npm login` in your terminal and entering your credentials. Make sure the account you're used is part of the Allen Institute NPM organization. +When you have a new package to publish, follow these steps: -2. Add the necessary information about the repository and the registry to the `package.json` file: +1. Add the necessary information about the repository and the registry to the `package.json` file: ```json "repository": { @@ -24,23 +24,21 @@ When you have a new package to publish, follow these steps to publish it: }, ``` -3. Run `pnpm publish` in the package directory. +2. Get all changes onto the `main` branch and make sure everything is ship-shape for publishing. + +3. Go to **Actions → Release** in the GitHub repository, click **Run workflow**, select the package to release, and run it. The workflow will bump the version, update the changelog, create a tag, and push — which automatically triggers the Publish workflow. 4. Verify your package is available. You can see it listed on the [Allen Institute's NPM organization package registry](https://www.npmjs.com/org/alleninstitute) or on the homepage of this repository. ## Updating an Existing Package -When you have changes to an existing package that you want to publish, follow these steps to publish the changes: - -1. Authenticate with NPM by running `npm login` in your terminal and entering your credentials. Make sure the account you're used is part of the Allen Institute NPM organization. - -2. Update the version number in the `package.json` file, following the [Semantic Versioning standard](https://semver.org/). +When you have changes to an existing package that you want to publish, follow these steps: -3. Get that version number update onto the `main` branch and make sure everything is ship-shape for publishing. +1. Get all changes onto the `main` branch and make sure everything is ship-shape for publishing. -4. Run `pnpm publish` in the package directory. +2. Go to **Actions → Release** in the GitHub repository, click **Run workflow**, select the package to release, and run it. The workflow will automatically determine the next version (following [Semantic Versioning](https://semver.org/)) based on commit history, update the changelog, create a tag, and push — which automatically triggers the Publish workflow. -5. Verify that the updated package is available. You can see it listed on the [Allen Institute's NPM organization package registry](https://www.npmjs.com/org/alleninstitute) or on the homepage of this repository. +3. Verify that the updated package is available. You can see it listed on the [Allen Institute's NPM organization package registry](https://www.npmjs.com/org/alleninstitute) or on the homepage of this repository. ## Troubleshooting