Commit Graph
176 Commits
Author SHA1 Message Date
stefan-gorules 6beecb423f fix: simplify compilation (#429)
* fix: simplify compilation

* improve opcodecache structure
2026-02-11 16:07:34 +01:00
Bot 8ff09e604c chore(release): publish core 2026-01-19 09:53:18 +00:00
stefan-gorules 73d5d5c6cb feat: function scope alias (#426)
* feat: function scope alias

* fix types
2026-01-19 10:44:16 +01:00
Bot 01fa59856c chore(release): publish core 2025-11-24 12:46:07 +00:00
Bot d40b3a16e7 chore(release): publish core 2025-11-21 20:15:49 +00:00
Bot 928e0bf506 chore(release): publish core 2025-11-21 13:44:47 +00:00
bcrevar-gorulesandStefan 7bfebd90fe feat: precompile decision content (#401)
* precompile first

* test

* add Opcode cache through Option<T>

* Compiled support for decisionTable,
default compile of new DecisionContent for node.js and py bindings

* format

* DecisionContent refactored to model module

* fmt

* added back BaseDecisionContent

* tests and benchmark

---------

Co-authored-by: Stefan <stefan@gorules.io>
2025-11-21 14:44:24 +01:00
Bot 611b489e49 chore(release): publish core 2025-11-21 11:49:43 +00:00
Bot 32f6108db3 chore(release): publish core 2025-11-20 13:12:06 +00:00
stefan-gorules de25f98a7f fix: improve fn variable conversion performance (#410) 2025-11-19 13:38:29 +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
Bot ec1ab28379 chore(release): publish core 2025-09-11 08:08:31 +00:00
stefan-gorules 91509821be feat: refactor engine (#390)
* temp: refactor engine

* temp

* implement remaining nodes

* resolve snapshot tests

* improve decision graph implementation

* implement changes in bindings

* implement changes in bindings

* fix function impl gaps

* update cargo.toml

* fix issues with trace
2025-09-04 18:54:32 +02:00
Bot 0b0ccc1117 chore(release): publish core 2025-08-25 15:57:38 +00:00
Bot fd167bb303 chore(release): publish core 2025-08-25 14:55:13 +00:00
stefan-gorules 1e4135f5fb fix: rust version bump (#387)
* fix: rust version bump

* add publish cmd
2025-08-25 16:52:34 +02:00
Bot 24128bb6eb chore(release): publish core 2025-08-25 12:10:49 +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
bcrevar-gorulesandStefan 4a59f222db feat: add snapshot tests (#385)
* first draft

* mock time; update snapshots

* fix

* Node.js test fix

---------

Co-authored-by: Stefan <stefan@gorules.io>
2025-08-20 16:30:28 +02:00
Bot b045e29df3 chore(release): publish core 2025-07-04 08:05:54 +00:00
stefan-gorules 09f59e9bb2 fix: timezone caching (#371) 2025-07-04 10:05:35 +02:00
Bot 0495d24f71 chore(release): publish core 2025-07-03 09:13:58 +00:00
Bot 4d4bb21fbe chore(release): publish core 2025-06-18 08:59:04 +00:00
stefan-gorules f2fcb95ad9 feat: assignment (#366)
* feat: assignment

* add tests
2025-06-18 10:43:01 +02:00
Bot fb56d34ae1 chore(release): publish core 2025-06-16 07:48:19 +00:00
stefan-gorules bdf51dec11 fix: safe division (#365)
* fix: safe division

* add test
2025-06-16 09:47:35 +02:00
Bot 5d55ffcb4b chore(release): publish core 2025-06-04 11:39:24 +00:00
Bot a5a0c80d0e chore(release): publish core 2025-06-03 10:05:13 +00:00
stefan-gorules 815729aca4 fix: update rounding strategy (#361)
* fix: update rounding strategy

* add test
2025-06-03 12:04:47 +02:00
stefan-gorules a911a623cb fix: align date diff with dayjs (#360) 2025-06-03 09:48:57 +02:00
Bot e739523864 chore(release): publish core 2025-06-02 12:47:44 +00:00
stefan-gorules c9d11f12dd fix: normalize number during serialization (#359) 2025-06-02 14:47:16 +02:00
Bot 6107ade25b chore(release): publish core 2025-05-28 08:40:57 +00:00
stefan-gorules 173d7bcb79 feat: improve stack resiliency (#357) 2025-05-27 17:46:00 +02:00
Bot cbc6c6113b chore(release): publish core 2025-05-23 09:48:16 +00:00
stefan-gorules 29ce060ac7 feat: number scientific notation (#355)
* feat: number scientific notation

* add tests
2025-05-23 11:46:33 +02:00
stefan-gorules 34de232d3a feat: dates min/max (#353) 2025-05-23 11:18:50 +02:00
stefan-gorules 71b949b1e1 fix: number fn type (#354) 2025-05-23 11:18:23 +02:00
Bot f1bf5d4bb6 chore(release): publish core 2025-05-21 09:47:08 +00:00
stefan-gorules 157859ca37 fix: lossy exponent fallback (#352) 2025-05-21 11:46:44 +02:00
Bot 0cc818ce8e chore(release): publish core 2025-05-19 22:36:30 +00:00
stefan-gorules e09f2ede5e fix: date method signature (#351) 2025-05-20 00:36:07 +02:00
Bot 9e5d542763 chore(release): publish core 2025-05-14 06:22:55 +00:00
stefan-gorules d179552b3c feat: trunc function and decimal places for round (optional) (#349) 2025-05-14 08:21:29 +02:00
Bot 5207498c79 chore(release): publish core 2025-05-13 23:38:51 +00:00
stefan-gorules 6027f5a6a1 fix: date endOf for a year and isAfter comparison for units (#348)
* fix: date endOf for a year and isAfter comparison for units

* fix test

* improve impl
2025-05-14 01:27:58 +02:00
Bot 1e04a19aa3 chore(release): publish core 2025-05-12 20:39:56 +00:00
stefan-gorules de6d13e1c7 feat: date v2 (#345)
* feat: date v2

* implement more date functions

* improve type safety

* add more methods for dates

* update utc to tz and add support

* add unary node behaviour for date methods

* add tests; fix errors in bindings

* add date operators

* fix types

* change set date signature

* update nightly
2025-05-12 22:39:08 +02:00
Bot cbfc70411d chore(release): publish core 2025-04-27 22:43:49 +00:00
stefan-gorules 6535d44e03 feat: expression function system (#340)
* feat: expression function system

* cleanup

* improve parser

* revert test changes

* add more tests

* minor fixes
2025-04-28 00:40:32 +02:00