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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"core": "0.2.0",
"bindings/c": "0.2.0",
"packages/js": "0.4.2",
"packages/js": "0.1.0",
"packages/py": "0.3.1"
}
50 changes: 50 additions & 0 deletions packages/js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Changelog

## [0.1.0](https://github.com/Krasner/Img2Num/compare/packages-js-v0.4.2...packages-js-v0.1.0) (2026-10-07)


### ⚠ BREAKING CHANGES

* **js:** img2num no longer offloads WASM execution to a background thread automatically. Heavy operations (gaussianBlur, bilateralFilter, kmeans, imageToSvg) now run on whichever thread calls them. This can block the calling thread (browser main thread/UI or the Node event loop during processing. Consumers who need non-blocking behavior must now wrap calls in their own Worker or worker_thread.
* **core:** prevent holes during SVG generation ([#429](https://github.com/Krasner/Img2Num/issues/429))
* **api:** remove draw_contour_borders from labels_to_svg ([#283](https://github.com/Krasner/Img2Num/issues/283))

### ✨ Features

* **Debug Logging:** route logging through spdlog with compile-time level control ([#524](https://github.com/Krasner/Img2Num/issues/524)) ([47c8dd9](https://github.com/Krasner/Img2Num/commit/47c8dd91a8325a1f7f34838b978a8830f5f839b6))
* **example app:** add html-js example app to demo basic library usage ([72c4669](https://github.com/Krasner/Img2Num/commit/72c466913d2ea0d33f910eeffb5e87ab0b463beb))
* unified image_to_svg function as complete pipeline ([#335](https://github.com/Krasner/Img2Num/issues/335)) ([bdba68c](https://github.com/Krasner/Img2Num/commit/bdba68c8adbbf79a163aba9df25849c5ff36a6b9))


### πŸ› Bug Fixes

* **ci:** add NPM_TOKEN to npm publish step so packages/js can ([2427d1d](https://github.com/Krasner/Img2Num/commit/2427d1d3c67b9ebafcbf3a5021ed335a3d0683fc))
* **commonjs:** load webgpu via dynamic import, fall back to CPU, and guard the CJS build ([#562](https://github.com/Krasner/Img2Num/issues/562)) ([e44480d](https://github.com/Krasner/Img2Num/commit/e44480d9c4736c1ae67094a121731ae9adc4365b))
* **core:** add MSVC support via conditional compiler directives β€” ([2427d1d](https://github.com/Krasner/Img2Num/commit/2427d1d3c67b9ebafcbf3a5021ed335a3d0683fc))
* **core:** prevent holes during SVG generation ([#429](https://github.com/Krasner/Img2Num/issues/429)) ([14e49f9](https://github.com/Krasner/Img2Num/commit/14e49f9a05496524e0190ddddf14283fbc907c0b))
* fix broken v0.1.0 release pipeline ([#417](https://github.com/Krasner/Img2Num/issues/417)) ([2427d1d](https://github.com/Krasner/Img2Num/commit/2427d1d3c67b9ebafcbf3a5021ed335a3d0683fc))
* **ImageToUint8Array:** memory leak and silent failure ([#487](https://github.com/Krasner/Img2Num/issues/487)) ([0eb0598](https://github.com/Krasner/Img2Num/commit/0eb0598ec64ce6859946f79b89a554da87717f9c))
* **packages/js:** Remote property injection in wasmWorker.js ([#346](https://github.com/Krasner/Img2Num/issues/346)) ([dfe3afe](https://github.com/Krasner/Img2Num/commit/dfe3afe55dc380c89e9d8cb38df350a178ee3caf))
* **packages/js:** support browser and node builds from shared Vite setup ([#449](https://github.com/Krasner/Img2Num/issues/449)) ([0b2467c](https://github.com/Krasner/Img2Num/commit/0b2467c672474ef438f17ade91bfb7ed966632ca))
* **packages/py:** include third_party/ in sdist and disable example ([2427d1d](https://github.com/Krasner/Img2Num/commit/2427d1d3c67b9ebafcbf3a5021ed335a3d0683fc))
* restore static wasm URL for bundler asset detection ([#559](https://github.com/Krasner/Img2Num/issues/559)) ([1a27346](https://github.com/Krasner/Img2Num/commit/1a2734629701a702d7e7d5294fe8a8199187412b))


### ⚑ Performance Improvements

* **gpu:** add WebGPU acceleration with automatic fallback to CPU ([#272](https://github.com/Krasner/Img2Num/issues/272)) ([c385319](https://github.com/Krasner/Img2Num/commit/c3853198aaf72e00888352653bf44fe129261201))


### πŸ“š Documentation

* add JS 0.4.2 blog post, overhaul READMEs and security policy, redesign navbar ([#558](https://github.com/Krasner/Img2Num/issues/558)) ([e1a2a8a](https://github.com/Krasner/Img2Num/commit/e1a2a8aa332dc0a3e826a80e2ac9581964f747f5))
* **CSS:** fix table of contents styling and layout ([72c4669](https://github.com/Krasner/Img2Num/commit/72c466913d2ea0d33f910eeffb5e87ab0b463beb))
* **packages/js:** add README for npm package ([#466](https://github.com/Krasner/Img2Num/issues/466)) ([f193a54](https://github.com/Krasner/Img2Num/commit/f193a543f872b60a735706c1b5c1d6671c31563b))
* **README.md:** add alt attributes to language icons and badges ([#498](https://github.com/Krasner/Img2Num/issues/498)) ([21cf395](https://github.com/Krasner/Img2Num/commit/21cf39517785890cb7970e6e351b095558f85d87)), closes [#492](https://github.com/Krasner/Img2Num/issues/492)
* update JSDoc comments and break up website docs ([72c4669](https://github.com/Krasner/Img2Num/commit/72c466913d2ea0d33f910eeffb5e87ab0b463beb))
* **website:** update documentation based on refactor in [#510](https://github.com/Krasner/Img2Num/issues/510) ([72c4669](https://github.com/Krasner/Img2Num/commit/72c466913d2ea0d33f910eeffb5e87ab0b463beb))


### ♻️ Refactoring

* **api:** remove draw_contour_borders from labels_to_svg ([#283](https://github.com/Krasner/Img2Num/issues/283)) ([eee9b31](https://github.com/Krasner/Img2Num/commit/eee9b3135b5b651a20cc8ffab74bcef073b74b6a))
* **js:** run WASM calls on the caller's thread instead of a Worker ([#510](https://github.com/Krasner/Img2Num/issues/510)) ([72c4669](https://github.com/Krasner/Img2Num/commit/72c466913d2ea0d33f910eeffb5e87ab0b463beb))

## [0.4.2](https://github.com/Ryan-Millard/Img2Num/compare/packages-js-v0.4.1...packages-js-v0.4.2) (2026-08-18)


Expand Down
2 changes: 1 addition & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "img2num",
"version": "0.4.2",
"version": "0.1.0",
"description": "Img2Num is a raster vectorization library - it converts images to SVGs",
"publishConfig": {
"access": "public"
Expand Down