From 82bda5d3e0cfdd07c74a503f4a0745d4882de2cd Mon Sep 17 00:00:00 2001 From: NirBarak-RecoLabs Date: Sat, 25 Apr 2026 11:49:21 +0300 Subject: [PATCH] Release v0.2.2 Bump npm package gnata-js from 0.2.1 to 0.2.2 to ship the conformance fixes and performance optimizations from #13: - Signature validation for variadic, optional-skip, context, and union (u-type) parameters - $split returns T0410 on non-string input (spec alignment) - Deterministic key iteration for raw map[string]any inputs - Pre-parsed function signatures at registration (no per-call re-parse) - Eval hot-path optimizations: float64 arithmetic fast path, primitive DeepEqual fast path, reusable HOF argument buffers - New Expression.EvalMap and Expression.EvalBytesWithVars APIs - WASM exports gnataEvalMap and gnataEvalWithVars for the browser playground Also realigns npm/package-lock.json with the package name (gnata-js) and version after prior drift. Tagging v0.2.2 on the merge commit triggers publish-npm.yml. --- npm/package-lock.json | 8 ++++---- npm/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/npm/package-lock.json b/npm/package-lock.json index 984016cf..06fcefce 100644 --- a/npm/package-lock.json +++ b/npm/package-lock.json @@ -1,12 +1,12 @@ { - "name": "gnata", - "version": "0.2.0", + "name": "gnata-js", + "version": "0.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "gnata", - "version": "0.2.0", + "name": "gnata-js", + "version": "0.2.2", "license": "MIT", "devDependencies": { "typescript": "^5.8.0" diff --git a/npm/package.json b/npm/package.json index 08075997..21915cf5 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "gnata-js", - "version": "0.2.1", + "version": "0.2.2", "description": "Browser JSONata via gnata WASM for backend parity, not a performance optimization", "license": "MIT", "repository": {