Skip to content

v0.2.18

Choose a tag to compare

@github-actions github-actions released this 22 Sep 12:42
· 315 commits to main since this release

Nightly release 0.2.18, published to crates.io.

Highlights

  • The datatype family (deftype, defrecord, defprotocol, extend-type, extend-protocol, defmulti, defmethod) is no longer implemented as Rust special forms — they are now Clojure macros over the deftype*, protocol*, extend, multi-fn and add-method primitives, so those primitives are what the compiler and any external tooling should target.
  • Core protocols now bootstrap directly on the primitives rather than the new macros, keeping startup time flat despite the move to Clojure-defined forms.
  • defmulti again accepts its attr-map arity, and defmethod reports its two failure modes distinguishably and once more rejects a versioned target.
  • The IR carries a single shared definition of the datatype family that every pass reads, removing divergence between passes.
  • Test runs share one runtime per thread with per-namespace isolation, cutting suite time.

Highlights are summarized by Claude from the commit log; the full list below is authoritative.

What's Changed

  • refactor(runtime): move datatypes to Clojure without startup regressions by @csm in #399
  • The datatype family becomes Clojure macros over a deftype* primitive by @BuddhiLW in #382

Full Changelog: v0.2.17...v0.2.18