FunctionalScriptCLIPRsReleasesPlaygroundGitHub ↗

root / changelog / 0.25.0

← Previous: 0.24.0 · Next: 0.26.0 →
  • ci: auto-detect Rust by checking for Cargo.toml at the repo root, removing the manual rust: boolean flag from Setup #969
  • ci: split npm test into explicit steps (npx tsc, npm test, node --test, npm run cov); add the cov script and remove fst #969
  • bnf: hoist the commaJoin0Plus delimited-list combinator into fs/bnf/module.f.ts and collapse three byte-identical local copies onto it #964
  • types/rtti/ts: add README.md documenting the TS2589 depth-overflow problem for recursive Ts<T>, the any fast-path and WithOut solutions, and the three remaining as any casts #961
  • types/rtti/ts: use a unique symbol key for WithOut's phantom field instead of the string $out, so WithOut<Struct, Out> is valid for any Out #960
  • types/rtti/ts: add the WithOut<S, Out> phantom type and $out branch to Ts<T> — a pre-computed output type short-circuits the schema walk, fixing TS2589 for recursive struct schemas #959
  • json/schema: redesign the unknown rtti schema using WithOut, splitting it into unknownConst and unknownThunk so Ts<typeof unknown> is the single source of truth #959
  • types/rtti: remove unnecessary as any from all verror / prependPath returns in validate, parse, and common; document the root cause of the remaining casts #959
  • json/schema: add toJsonSchema(rtti) — converts any rtti Type to a JSON Schema draft 2020-12 object #957
  • crypto/sha2: collapse bigSigma / smallSigma into one sigma(third) factory parameterised by the third XOR operand. No API change #954
  • json/rpc: add a pure JSON-RPC 2.0 layer — rtti schemas for the envelopes, a decodeRequest decoder, and a pure dispatch(handlers)(value) #950
  • json: add rtti schemas (primitive, unknown, object, array) and derive Primitive and Unknown from them via Ts<> #950
  • types/rtti: decouple rtti from djs — Primitive, Unknown, Array, and Object are now defined locally #950
  • types/rtti/ts: Ts<T> fast-path — unknown extends T ? Unknown short-circuits when T is any, preventing TS2589 distribution #950
  • crypto/vdf: add a Sloth verifiable delay function over a fixed 3072-bit safe prime; extends types/prime_field with reduce / quadRes and a standalone modSqrt helper #937
Support FunctionalScript: GitHub Sponsors ↗ · Open Collective ↗ · Patreon ↗