releases 2026-07-21

kontor 0.1.3 — double-entry accounting kernel on datahike. Minor release, two things in it: • ClojureScript support for the substrate. ~30 kernel namespaces are now .cljc — Money, the structural gate, invariants, bitemporal, the pure tx-data builders, and the read path (balance / ledger / trial, P&L, explain, FX). The cljs branch does exact decimal arithmetic on the fress Bigdec that a konserve-synced posting amount actually arrives as, so a client-side sum-to-zero check is bit-identical to the JVM gate — no drift between a live form check and the commit. • Governed writer. kontor.governance/validate-report plugs into datahike's new tx-preds as a store-level transaction predicate, so validation runs post-resolution in the writer — on every committed write, not only the ones routed through kontor's own gate. Balance is re-summed per commodity over the transactions the delta touched (O(delta), ledger-size-independent), sealing is checked against retracted datoms, and the registered datalog invariants run on the resolved report. = Also kontor.book/validate-entry — a non-committing dry-run that returns diagnostics instead of throwing, for form-level feedback that can't drift from the commit gate. https://github.com/replikativ/kontor

👍 1
💰 2
🎉 1

#C05HQFMTURF 0.2.29 can compile to YS code to Clojure code that is runnable by Babashka, Clojure, Glojure and Jolt!

$ ys -e 'say: "$(ENV.USER:uc1), the answer is $sum(3 .. 9)! (ys v$VERSION)"'
Ingy, the answer is 42! (ys v0.2.29)

$ bb <(ys --to=bb -e 'say: "$(ENV.USER:uc1), the answer is $sum(3 .. 9)! (bb v$(System/getProperty \"babashka.version\"))"')
Ingy, the answer is 42! (bb v1.12.218)

$ clj -M <(ys --to=clj -e 'say: "$(ENV.USER:uc1), the answer is $sum(3 .. 9)! (clj $(value \"*clojure-version*\")"')
Ingy, the answer is 42! (clj {:major 1, :minor 12, :incremental 4, :qualifier nil}

$ glj <(ys --to=glj -e 'say: "$(ENV.USER:uc1), the answer is $sum(3 .. 9)! (glj $(value \"*glojure-version*\")"')
Ingy, the answer is 42! (glj {:major 0, :minor 6, :incremental 9, :qualifier nil}

$ joltc <(ys --to=jolt -e 'say: "$(ENV.USER:uc1), the answer is $sum(3 .. 9)! (jolt $value(\"*jolt-version*\"))"')
Ingy, the answer is 42! (jolt v0.4.12)
https://gist.github.com/ingydotnet/462e79d95d0f68ab0dfcf49665229241 is the output of 100 random YS programs from these 834 examples https://rosettacode.org/wiki/Category:YAMLScript#mw-pages run with ys, bb and jolt. At the end of that gist is a standalone program you can run with something like:
bash <(curl -sL ) --count=3 --shuffle --ys --bb --jolt
Note: this Bash script is standalone and installs the latest ys bb glj and jolt (in /tmp) and clones https://github.com/acmeism/RosettaCodeData to get the programs. I would run this in an empty directory as some of the example programs create little files.

🙌 2
🎉 1

What could YAMLscript target before? Just Glojure?

Just its own (babashka-like, SCI based) runtime

👍 1

XTDB 2.2.0-rc0, with the first release of "external sources" - hook XT up to your existing Postgres/Kafka data stores and query them across time xtdb

👀 1
🎉 4