You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump to 0.5.0: fix schema bug, stream slot GC, release pipeline, CI caching
- parsePartialJson: return "failed-parse" (not "successful-parse") when
schema rejects complete JSON — fixes confusing result where state says
success but value is undefined
- Add FinalizationRegistry for stream parser slots — prevents slot leaks
when callers forget .destroy() (hard 4-slot cap)
- Fix release.yml: publish to npm BEFORE creating git tag — prevents
orphaned tags when npm publish fails (hit this with v0.2.0)
- CI: shared build job with artifact upload, bun dep caching — test and
benchmark jobs no longer duplicate the full build
- ParseResult: proper discriminated union type with typed .free()
- Seeker: fix </think> tag split across chunks via pending buffer
- embed-wasm.mjs: add WASM magic number validation and existence check
- Sync build.zig.zon version with package.json
- Add coverage-gaps test suite (22 tests)
Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "vectorjson",
3
-
"version": "0.4.7",
3
+
"version": "0.5.0",
4
4
"description": "O(n) WASM SIMD JSON parser for AI agents — stream fields instantly, abort errors early, offload parsing to Workers",
5
5
"type": "module",
6
6
"main": "dist/index.js",
@@ -29,7 +29,7 @@
29
29
"build:embed": "node scripts/embed-wasm.mjs",
30
30
"build:js": "bun build src/js/index.ts --outdir dist --target node --format esm --minify --sourcemap=external && bun run build:types",
31
31
"build": "bun run build:zig && bun run build:opt && bun run build:embed && bun run build:js",
32
-
"test": "bun test/phase1.mjs && bun test/phase2.mjs && bun test/parse-result.mjs && bun test/is-complete.mjs && bun test/partial-json.mjs && bun test/zerocopy.mjs && bun test/standards.mjs && bun test/event-parser.mjs && bun test/live-doc.mjs && bun test/large-json.mjs && bun test/deep-compare.mjs && bun test/sync-api.mjs && bun test/pick-fields.mjs && bun test/jsonl.mjs && bun test/json5.mjs && bun test/tape-transfer.mjs",
32
+
"test": "bun test/phase1.mjs && bun test/phase2.mjs && bun test/parse-result.mjs && bun test/is-complete.mjs && bun test/partial-json.mjs && bun test/zerocopy.mjs && bun test/standards.mjs && bun test/event-parser.mjs && bun test/live-doc.mjs && bun test/large-json.mjs && bun test/deep-compare.mjs && bun test/sync-api.mjs && bun test/pick-fields.mjs && bun test/jsonl.mjs && bun test/json5.mjs && bun test/tape-transfer.mjs && bun test/coverage-gaps.mjs",
0 commit comments