Commit Graph
25 Commits
Author SHA1 Message Date
Stefan f4bdae4e42 ci: pin Rust to 1.99.0
Rust 1.100 passes one -L dependency directory per dependency, which pushes the rustc command for zen-engine past the Windows command-line limit when sccache spawns it (os error 206). Every workflow that installed stable now installs 1.99.0; miri stays on nightly.
2026-11-19 14:48:47 +01:00
stefan-gorules 339bd46e6e fix(nodejs): publish the generated index.js so the version check matches the release (#565) 2026-11-11 18:16:55 +01: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
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
Aleksej Komnenovic 966816e1de add s3 backend for sccache 2026-06-26 14:21:27 +02:00
stefan-gorules bb53a5298f fix: switch releases to tag based workflow triggers (#465) 2026-06-25 21:53:52 +02:00
stefan-gorules fc9ab1269f chore: improve release process (#457)
* chore: improve release process

* fix locked build on node.js

* fix release naming

* fix .node bindings

* revert node.yaml

* fix

* add locked param

* fix: node
2026-06-25 11:19:46 +02:00
stefan-gorules 7f31af809d chore: improve release pipeline (#451)
* chore: improve release pipeline

* fix pipelines

* fix sccache

* update workflows

* fix workflow

* update workflow

* remove sccache and cross

* bring back sccache

* fix pipelines

* fix nodejs build

* fix pipelines

* move python to abi3 for future proofing

* fix workflow ordering bug

* gate releases via environment - configure go via release

* set release as 1.0.0-beta
2026-06-24 20:44:35 +02:00
bcrevar-gorules 63957b7010 fix(GRL-517): bump reqsign to 0.20 to drop vulnerable jsonwebtoken (#446)
* dep update

* lld fix

* lld fix 2

* lld fix 3

* lld fix 4

* lld fix 6

* lld fix 7

* lld fix 8

* lld fix 9

* lld fix 10
2026-05-29 14:16:48 +02:00
stefan-gorules 46688a4d4c feat: configurable arbitrary precision (#433)
* feat: configurable arbitrary precision

* fix workflow

* fix workflow

* set version of docker run action to v1

* set arbitrary_precision as opt-in

* revert making arbitrary_precision non-default

* update cargo version action and add features in Cargo.toml for deps

* add tests for arbitrary precision and make it non default. add warnings for compilation when arbitrary precision not enabled

* simplify conversion

* remove build.rs
2026-03-03 16:57:22 +01:00
Ivan Miletic 18d9b143c5 fix: node workflows contents write (#427) 2026-01-19 15:25:21 +01:00
stefan-gorules a6ad0a7894 fix: clean variable before validation (#409)
* fix: clean variable before validation

* bump workflow to macos-14

* move to macos latest

* update runners

* improve performance of implementation
2025-11-19 11:59:51 +01: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
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
Ivan Miletic fec0c40ca0 fix(GRL-189): rustup install 1.88.0 (#383)
* fix: rustup install 1.88.0

* fix: default version
2025-08-04 17:28:16 +02:00
stefan-gorules 3b139e9245 chore: update packages (#334)
* chore: update packages

* update lerna

* fix

* revert nodejs changes

* fix

* fix

* fix

* update minimum node to 18
2025-04-15 13:21:55 +02:00
stefan-gorules be305a4fba feat: update pyo3 (#308)
* feat: update pyo3

* update workflows

* python version

* update minimum

* update pyproject

* fix pipeline
2025-02-07 13:12:46 +01:00
kyle-mwnz 320de1bc77 feat: musl builds for Node.js (#277)
* feat: Node.js musl builds

* Update branch trigger
2024-11-27 09:22:49 +01:00
stefan-gorules e452df33e9 feat: implement new functions - part 1 (#205)
* feat: implement new functions - part 1

* add enumiter to BuiltInFunction

* fix ci

* remove centos test

* fix workflow
2024-07-04 16:39:58 +02:00
stefan-gorules 2d1bebab03 feat: improve switch performance (#159)
* fix: improve switch performance

* fix pipeline
2024-05-13 10:11:24 +02:00
stefan-gorules c281c55ef1 feat: replace v8 with quickjs (#119)
* feat: replace v8 with quickjs

* fix format; fix pipelines

* fix: workflow

* fix: remove incorrect target in node windows pipeline
2024-02-09 10:48:08 +01:00
stefan-gorules 20a68564c6 fix: update dependencies (#102)
* fix: update dependencies

* fix updated interface

* update toolchains in workflows
2023-11-23 12:04:02 +01:00
Ivan Miletic d9a8e0ed7d fix: workflows update (#10) 2023-04-06 16:41:43 +02:00
Ivan Miletic e36fcac075 feat: docs and pipelines (#6)
* feat: docs and pipelines

* fix: temp disable test linux aarch64
2023-04-03 00:10:59 +02:00
Ivan Miletic c5c518eeb5 feat: nodejs and python pipelines (#2)
feat: nodejs and python pipelines
2023-04-02 21:10:05 +02:00