Commit Graph
145 Commits
Author SHA1 Message Date
GoRules Team c747ea2f46 chore(release): publish (#544) 2026-10-13 12:51:22 +02:00
stefan-gorules c8692c401d fix: threadless wasm (#543)
* feat(nodejs): replace the threaded wasm build with threadless wasm32-wasip1

The browser binding no longer needs SharedArrayBuffer or cross-origin isolation. napi moves to 3.14 / cli 3.10.8 with emnapi 2.0.0-alpha.6; the wasm build registers napi-async-runtime's current-thread backend and spawns each evaluation as a runtime task. console.sleep goes through a sleep provider so the wasm build waits on the host timer instead of tokio. CI and the Makefile build and publish @gorules/zen-engine-wasm32-wasip1 in place of the threaded package.

* ci(nodejs): test the wasm32-wasip1 binding and load test binaries in place

cli 3.10 rejects napi artifacts when any configured target is missing, so test jobs download their binary next to index.js instead of building npm dirs. A wasm test job runs the suite against the threadless binding and gates the release.

* chore(nodejs): stop tracking generated wasip1 loaders

napi build writes them alongside the wasm and CI ships them through the wasm artifact, like index.d.ts.

* ci(nodejs): build the glibc legs with cargo zigbuild directly

cli 3.10 runs cargo metadata with the requested target, which rejects the zigbuild glibc suffix. Matches the go and uniffi workflows.

* build(nodejs): keep dev dependencies installable on node 20

@octokit/request 10.0.16 (via @napi-rs/cli) pulls content-type 3, which requires node 22; pin the cli's copy to 10.0.14.
2026-10-13 12:30:29 +02:00
GoRules Team 6b2a11ad4d chore(release): publish (#542) 2026-10-09 13:53:07 +02:00
stefan-gorules dca7cac7e7 fix: generate nodejs index.d.ts at build time instead of committing it (#541) 2026-10-09 13:40:01 +02:00
GoRules Team 6ccf7f6013 chore(release): publish (#540) 2026-10-09 12:24:24 +02:00
GoRules Team 7e0b3d1e1f chore(release): publish (#536) 2026-10-02 12:40:20 +02:00
GoRules Team 2e88387e7a chore(release): publish (#533) 2026-09-29 23:07:09 +02:00
GoRules Team 61862ab9ef chore(release): publish (#526) 2026-09-29 12:35:25 +02:00
GoRules Team a1f8c3e470 chore(release): publish (#519) 2026-08-24 10:08:40 +02:00
GoRules Team 6c0fbabba1 chore(release): publish (#517) 2026-08-22 13:27:31 +02:00
stefan-gorules 692ca2fe6b fix: improve READMEs across bindings (#516)
* fix: improve READMEs across bindings

* add readmes for crates
2026-08-22 13:10:37 +02:00
GoRules TeamandStefan 112b8dbd42 chore(release): publish (#507)
* chore(release): publish

* correct version of expression_repl to v2

* remove release-as property

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-08-20 19:43:55 +02:00
GoRules TeamandStefan 0a1c0c3ff5 chore(release): publish (#503)
* chore(release): publish

* correct versions

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-08-19 00:06:21 +02:00
GoRules TeamandStefan 83504fa639 chore(release): publish (#501)
* chore(release): publish

* correct versions

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-08-07 10:51:46 +02:00
GoRules TeamandIvan Miletic 32a8f12547 chore(release): publish (#499)
* chore(release): publish

* correct the release

---------

Co-authored-by: Ivan Miletic <vnmiletic@gmail.com>
2026-07-26 14:02:39 +02:00
GoRules TeamandIvan Miletic 6ed91ecb82 chore(release): publish (#497)
* chore(release): publish

---------

Co-authored-by: Ivan Miletic <vnmiletic@gmail.com>
2026-07-24 14:53:46 +02:00
GoRules TeamandStefan e17a808bae chore(release): publish (#495)
* chore(release): publish

* correct the release

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-07-22 16:47:46 +02:00
GoRules TeamandStefan ad97b340b3 chore(release): publish (#491)
* chore(release): publish

* fix: correct cascade-bumped prerelease versions

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-07-22 11:38:23 +02:00
GoRules Team 717cbf5d80 chore(release): publish (#488) 2026-07-21 12:44:04 +02:00
stefan-gorules a9580c83d7 fix: reduce wasm memory limits (#489) 2026-07-21 00:19:22 +02:00
GoRules Team fe4790bee4 chore(release): publish (#486) 2026-07-18 02:21:58 +02:00
stefan-gorules 4990a487cb fix: nodejs types and test timeout (#485) 2026-07-18 01:33:37 +02:00
GoRules TeamandStefan 7c8f847c6d chore(release): publish (#484)
* chore(release): publish

* fix prerelease versions

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-07-17 11:51:27 +02:00
GoRules TeamandStefan 48cc2e38d5 chore(release): publish (#482)
* chore(release): publish

* correct release versions

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-07-10 10:42:56 +02:00
GoRules TeamandStefan 68708fa057 chore(release): publish (#480)
* chore(release): publish

* fix incorrect version bump

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-07-08 13:49:07 +02:00
GoRules TeamandStefan d3cd7ccad9 chore(release): publish (#478)
* chore(release): publish

* correct release version

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-07-07 14:54:50 +02:00
GoRules Team 7805da79f7 chore(release): publish (#475) 2026-06-29 14:18:59 +02:00
GoRules TeamandStefan c064ed0c4c chore(release): publish (#471)
* chore(release): publish

* hotfix version update and remove release-as from config

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-06-26 14:16:28 +02:00
stefan-gorules c76e618551 chore: disable gh release for napi (#469) 2026-06-26 13:18:42 +02:00
GoRules TeamandStefan bab9af86e4 chore(release): publish (#468)
* chore(release): publish

* hotfix 1.0.1-beta.0 version to 1.0.0-beta.1

---------

Co-authored-by: Stefan <stefan@gorules.io>
2026-06-26 12:00:10 +02:00
GoRules Team 0aa2a39ebc chore(release): publish (#462) 2026-06-25 15:19:46 +02:00
stefan-gorules 6c0ca51354 feat: policy engine (#450)
* feat: policy engine

* fix: cargo fmt

* fix: resolve issues with miri
2026-06-23 18:51:47 +02:00
Bot 9851f646f6 chore(release): publish nodejs
- @gorules/zen-engine@0.54.0
2026-03-15 13:45:53 +00:00
Bot 99fa17565f chore(release): publish nodejs
- @gorules/zen-engine@0.53.0
2026-03-04 09:34:40 +00:00
Bot a35dafec66 chore(release): publish nodejs
- @gorules/zen-engine@0.52.1
2026-01-19 14:28:07 +00:00
Bot 400d2ae45b chore(release): publish nodejs
- @gorules/zen-engine@0.52.0
2026-01-19 09:53:58 +00:00
Bot 0b7c019e97 chore(release): publish nodejs
- @gorules/zen-engine@0.51.5
2025-11-24 11:45:46 +00:00
Bot 3e2037fea1 chore(release): publish nodejs
- @gorules/zen-engine@0.51.4
2025-11-21 20:42:01 +00:00
Bot 938e7de505 chore(release): publish nodejs
- @gorules/zen-engine@0.51.3
2025-11-21 11:22:30 +00:00
Bot 04fe2d95b2 chore(release): publish nodejs
- @gorules/zen-engine@0.51.2
2025-11-21 08:54:41 +00:00
Bot fe440fd67f chore(release): publish nodejs
- @gorules/zen-engine@0.51.1
2025-11-20 10:46:03 +00:00
Bot 15b7661952 chore(release): publish nodejs
- @gorules/zen-engine@0.51.0
2025-11-13 11:38:35 +00:00
stefan-gorulesandIvan Miletic 922a262e98 feat: wasm support (#404)
* feat: wasm support

* add http callback

* streamline structs

* fix: wasm workflow

* fix: wasi path

* fix: wasm

* fix: wasm path

* fix: clang dev

* fix: libclang static

* fix: build

* fix: node

* fix: wasm

* fix: wasm wasi

* fix: npm dirs

* fix: node workflow

* fix: testing

* fix: test

* update version

* fix: targets

* fix: wasm fix

* fix: commit files

---------

Co-authored-by: Ivan Miletic <vnmiletic@gmail.com>
2025-11-13 12:36:59 +01:00
bcrevar-gorules a97e82aab2 Merge pull request #394 from gorules/feat/napi_3
fix: nodejs bindings napi migration to v3
2025-09-18 12:50:40 +02:00
bojancrevar 23898b5a25 temp test fix 2025-09-11 14:44:14 +02:00
Bot 94faf6792a chore(release): publish nodejs
- @gorules/zen-engine@0.50.0
2025-09-11 08:27:50 +00:00
bojancrevar 3ce30cd1c2 first draft 2025-09-09 15:23:59 +02:00
Bot 33fe2a42c2 chore(release): publish nodejs
- @gorules/zen-engine@0.49.0
2025-08-25 12:25:17 +00:00
stefan-gorulesandbojancrevar 80fe4021c2 feat: compact trace (#384)
* feat: compact trace

* align with changes

* add deserialization

* add tests and deserializer

* fix bindings

* first draft

* mock time; update snapshots

* fix

* Node.js test fix

* fix merge

* fix utc override

* fix cross-env

* fix workflow

* fix

---------

Co-authored-by: bojancrevar <bojan.crevar@gorules.io>
2025-08-25 12:33:07 +02:00
Bot 97f50a945b chore(release): publish nodejs
- @gorules/zen-engine@0.48.0
2025-08-04 16:22:01 +00:00