diff --git a/.changeset/audit-hardening.md b/.changeset/audit-hardening.md deleted file mode 100644 index 5413fc7..0000000 --- a/.changeset/audit-hardening.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"webgpu-search": patch ---- - -Harden correctness and safety from a repo audit: shared GPU device pool no longer double-acquires or destroys a live device under concurrent creation; GPU buffers are clamped to `maxStorageBufferBindingSize` (oversized corpora now fall back to CPU instead of silently returning 0 results); batch mutations are atomic when a filter getter throws; high-cardinality string filters use bounded memory; worker INIT/RESTORE keep the previous index on failure and handle messages in order; snapshots reject duplicate/invalid doc IDs and accept typed-array buffers; custom IndexedDB store names are created on existing databases. - -Behaviour changes: boolean filter fields accept only `true`/`false` (or `"true"`/`"false"`); blank number filter bounds throw `InvalidFilterError`; numeric IDs sort before string IDs on score ties; field getters ignore `Object.prototype` properties. diff --git a/packages/webgpu-search/CHANGELOG.md b/packages/webgpu-search/CHANGELOG.md new file mode 100644 index 0000000..73625db --- /dev/null +++ b/packages/webgpu-search/CHANGELOG.md @@ -0,0 +1,9 @@ +# webgpu-search + +## 1.0.1 + +### Patch Changes + +- adf41c9: Harden correctness and safety from a repo audit: shared GPU device pool no longer double-acquires or destroys a live device under concurrent creation; GPU buffers are clamped to `maxStorageBufferBindingSize` (oversized corpora now fall back to CPU instead of silently returning 0 results); batch mutations are atomic when a filter getter throws; high-cardinality string filters use bounded memory; worker INIT/RESTORE keep the previous index on failure and handle messages in order; snapshots reject duplicate/invalid doc IDs and accept typed-array buffers; custom IndexedDB store names are created on existing databases. + + Behaviour changes: boolean filter fields accept only `true`/`false` (or `"true"`/`"false"`); blank number filter bounds throw `InvalidFilterError`; numeric IDs sort before string IDs on score ties; field getters ignore `Object.prototype` properties. diff --git a/packages/webgpu-search/package.json b/packages/webgpu-search/package.json index b3b4e5a..82d68a7 100644 --- a/packages/webgpu-search/package.json +++ b/packages/webgpu-search/package.json @@ -1,6 +1,6 @@ { "name": "webgpu-search", - "version": "1.0.0", + "version": "1.0.1", "description": "Ultra-fast hybrid fuzzy and substring search library powered by WebGPU compute shaders with uFuzzy CPU fallback", "type": "module", "main": "./dist/index.cjs",