Clojure
Clojure 1.13.0-alpha12

Clojure 1.13.0-alpha12

04 December 2026
Alex Miller

Clojure 1.13.0-alpha12 is now available! Find download and usage information on the Downloads page.

New functions / arities / support:

  • CLJ-2992 assoc-some - assoc only if val is not nil

  • CLJ-2333 clojure.java.io - add support for java.nio.file.Path

  • CLJ-2936 subs - could be more generic and accept CharSequence, not just String

  • CLJ-1720 regex? - add predicate for portability

  • CLJ-2996 vector-of - throws when used with reduce-kv

Performance:

  • CLJ-2817 Return type hint is ignored for functions with primitive arities

  • CLJ-3000 Compile closure fields as final when possible

  • CLJ-2999 class - inline to Util/classOf

  • CLJ-2986 Remove volatiles for transient vector fields

Fixes + tests:

  • CLJ-3002 function meta - Functions not "born" with meta use slow invoke path if added later

  • CLJ-2994 vector-of - reduce on dropped vector-of with 65505 or more elements never terminates

  • CLJ-2959 Closures with multiple captures emit nondeterministic bytecode

  • CLJ-2997 Reflective FI adapters differ in using truthy return logic

  • CLJ-3001 defrecord - add extmap tests

  • CLJ-2988 macro invocation type hints - add tests

Error messages:

  • CLJ-2884 recur - arg mismatch message prints file name, not file path

  • CLJ-1548 protocols - methods with primitive type hints cause ClassCastException at callsites

Docstrings:

  • CLJ-2476 future, send, send-of, pmap - note binding conveyance in docstring

  • CLJ-2329 partition-all - docstring should mention it returns vectors in transducer case

  • CLJ-2544 get - make docstring more like get-in

  • CLJ-2595 extend, etc - update docstring to mention Object

  • CLJ-2879 dedupe - docstring does not state that it returns a stateful transducer

  • CLJ-2890 read, read-string - update docstring link to edn-format.org

Security (changes from 1.12.7 + 1.12.8):

  • CLJ-2998 Add code deserialization control

  • CLJ-2993 Make AFunction throw on [de]serialization unless clojure.serializable.fns=true

Try it out

Update your deps.edn :deps with:

org.clojure/clojure {:mvn/version "1.13.0-alpha12"}

Start a REPL with the Clojure CLI (any version) with:

clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha12"}}}'