Skip to content

v2.4.0 (2026-07-17)

Choose a tag to compare

@ptaoussanis ptaoussanis released this 17 Jul 05:25

This is a minor feature and maintenance release focused on more predictable error matching, assertion behaviour, and diagnostics. It should be a safe upgrade for all typical users of v2.3.x. Please see the linked commit messages below for details.

- Peter Taoussanis

Minor behaviour changes

  • matching-error's 2-arity now also matches nested causes (a loosening; some previously non-matching calls may now match).
  • New compile-time validation turns previously-compiling malformed assertions like (have [:n= 2 3] x) into compile errors.

Since v2.3.0 (2025-12-09)

  • [fix] matching-error: fix edge semantics [eaea16d]
  • [fix] Submap: match present non-nil keys [83f0b4b]
  • [fix] Submap: nil-pun fn pred vals [e02609a]
  • [fix] Assertions: eval args once [c3a3928]
  • [fix] Assertions: eval Var args once [3e7c603]
  • [fix] Assertions: eval reader-literal args once [81d7f9f]
  • [fix] Assertions: preserve eval errors [5ac0a96]
  • [fix] Assertions: preserve falsey :in vals [191621e]
  • [fix] Assertions: align disabled handler with elision [65941d6]
  • [new] Assertions: validate forms [c44d0fe]
  • [fix] ex-info: preserve generated data [65d8f17]
  • [fix] ex-info: support data maps of arb type/keys [804e2ae]
  • [fix] catching-rf: correct handler docs [a2c9412]
  • [fix] Public docs: correct stale details [0625dbc]
  • [doc] Assertions: clarify :in coll eval error semantics [2fd6c11]
  • [new] Clojure tests: add v1.13 [81da76a]
  • [nop] GitHub CI: update workflows [79a819a], bump deps [5e14c94], housekeeping [0c2131f]