Releases: api-haus/com.api-haus.unity.js
Releases · api-haus/com.api-haus.unity.js
v1.2.2
v1.2.1
v1.2.0
1.2.0 (2026-03-26)
Bug Fixes
- centralize runtime resource lifecycle — eliminate TDZ regression (c8d51f8)
- dispose stale VM on system start to prevent TDZ after domain reload (40ab44b)
- eliminate TDZ errors in system probes, add PlayModeControlE2ETests (bb37361)
- remove auto-discovered query probe that broke PlayMode tests (21d6f2b)
- resolve 10 failing hotreload tests (dcdd80b)
- resolve all 271 PlayMode test cross-contamination failures (7e2ff9c)
- strengthen weak assertions, fix e2e_entity_ops TDZ (5cc108c)
- suppress transient tick errors during live baking rebake (9177c86)
- TDZ + spatial trigger — module dedup and JS_CFUNC_generic_magic enum (e07ea11)
- withNone query filter — JS_IsArray returns 0 for P/Invoke-returned arrays (02722c4)
Features
- add ColorBridge + SystemInfo E2E tests (7 tests) (70e65fc)
- add ComponentAccess E2E tests (define, add, get, has, remove) (8acdaec)
- add E2E tests for TDZ bug with unity.js/components import after domain reload (168e621)
- add EntityOperations E2E tests (create, create with position, destroy) (a3742ad)
- add hot reload resilience E2E tests (9431b59)
- add HotReload E2E tests (version mutation + rapid reload stability) (7ef9469)
- add integration E2E tests for ALINE draw + spatial.query() (ad1d86e)
- add QueryPipeline E2E tests (match count, write-back, stability) (b7300af)
- add runsAfter/runsBefore component execution ordering with topological sort (9cc3950)
- add SystemExecution and MathBridge E2E tests, fix spatial wait budget (e654d40)
- address blind spots — property overrides test, tightened assertions, state isolation (cd13853)
- complete E2E test suite — LogBridge, TickGroups, MultiScript, ModuleImport, InputBridge, DomainReload (1d4084a)
- consolidate MiniSpatial runtime + JS bridge as bundled integration (20c9ea3)
- E2E test infrastructure with SceneFixture DSL and gameplay lighthouse tests (da145fc)
- param() accepts explicit default value as required 3rd argument (b502979)
- replace tsc build pipeline with runtime Sucrase transpilation (1ed374d)
- StoredPrefs store, param() command system, and scripts/ script type (4c00d51)
- use TypeScript logo for status bar indicator, neutral idle state (c04c8cb)
Performance Improvements
- remove redundant ECS sync points in JS tick systems (7cfcf15)
v1.1.0
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
1.0.0 (2026-03-21)
Bug Fixes
- duplicate module guard + TscWatchService error reporting (9e3cfb7)
- ecs.get() auto-flush deduplication — prevent stale entries from clobbering writes (f729bb2)
- gitignore integration csc.rsp files so they ship disabled (bb71561)
- hot-reload HasScript guard, module health + exception capture API (d3add5f)
- null byte included in module loader length causing SyntaxError (823d7be)
- null-terminate synthetic module source for JS_Eval (8c3af46)
- register bridges before script evaluation to prevent TDZ and silent failures (1af5f3e)
- reset QJS shim callback table on VM recreation to prevent slot overflow (259db58)
- start-only Components never ticked + late-bind spatial.trigger export (26e2d3a)
Features
- add burst context and dependency tracking to JsTickSystemBase (dda7f72)
- add C shim trampoline for managed QuickJS callbacks (132769b)
- add JsBridge.Marshal API for JS→struct marshaling (33ac178)
- add JsRuntime layer (Stage 2) (3c7ef65)
- add RefRW auto-flush for ecs.get() component accessors (d67b26e)
- auto write-back for ECS query iterator (29d160d)
- codegen compile-time bridge registration, vector math compiled helpers (e1eda67)
- ES module layer for unity.js/* synthetic imports (d392788)
- fix JsCompile codegen, expand type support, full math.* bridge (1425d3e)
- float2/float4 overloads for vector math bridge functions (473800c)
- hot-reload rework — versioned module cache, tsc --watch, E2E stress tests (a43ec59)
- hot-reload stress tests with synchronous TscCompiler (8fa07bc)
- integration architecture with GUID-based detection, test assemblies, and reusable E2E harness (4c0cdcb)
- JS ECS benchmark suite, expose _nativeQuery globally (c7f8ba3)
- refactor benchmarks to read-write only, codegen query bridge improvements (b493d0b)
- replace LuaJIT with QuickJS-ng P/Invoke bindings (7caab57)
- restrict JsScriptAuthoring inspector to public fields only (aff6a58)
- Stage 3 — ECS core (UnityJS.Entities assembly) (a1c1674)
- Stage 4 — fill 47 bridge function stubs, add EditMode test suite (190a491)
- Stage 5-7,9 — remove legacy Lua, port editor tools to JS, enable codegen (5e69b21)
- tsc --watch status bar indicator in Unity Editor (d9a4c6e)
- vector arithmetic methods + fix Signature-mode JsCompile registration (44b7bf1)