Skip to content

Commit c90bea9

Browse files
committed
1.13.0-alpha4
1 parent 176290f commit c90bea9

3 files changed

Lines changed: 53 additions & 4 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
= Clojure 1.13.0-alpha4
2+
Alex Miller
3+
2026-07-14
4+
:jbake-type: post
5+
6+
Clojure 1.13.0-alpha4 is now available! Find download and usage information on the <<xref/../../../../../releases/downloads#,Downloads>> page.
7+
8+
== Destructuring changes and additions
9+
10+
Idents after `&` in :keys!/syms!/strs!/:keys/syms/strs must now be actual keys, not binding symbols. This is a change in syntax since alpha3. Note that symbol keys should be quoted as unadorned symbols are binding symbols.
11+
12+
:or now accepts key->val mappings in addition to binding->val.
13+
14+
Added a new ':defaults name' directive at top level to bind name to a map of defaults, key->val. Binding symbols in the `:or` map are transformed to the key value in the `:defaults` map. `:defaults` without `:or` is an error.
15+
16+
`:select name`, introduced in alpha3, now selects deeply, through nested maps, and fills in values for missing keys from `:or`. The `:select` map contains all keys mentioned anywhere in the binding form.
17+
18+
* https://clojure.atlassian.net/browse/CLJ-2964[CLJ-2964] :select directive in map destructuring
19+
* https://clojure.atlassian.net/browse/CLJ-2966[CLJ-2966] :defaults directive in map destructuring
20+
* https://clojure.atlassian.net/browse/CLJ-2967[CLJ-2967] tests for nested destructuring
21+
22+
== Other changes since Clojure 1.13.0-alpha3
23+
24+
* https://clojure.atlassian.net/browse/CLJ-2870[CLJ-2870] Exception phase during top-level eval is miscategorized
25+
26+
== Try it out
27+
28+
Update your deps.edn :deps with:
29+
30+
[source]
31+
----
32+
org.clojure/clojure {:mvn/version "1.13.0-alpha4"}
33+
----
34+
35+
Start a REPL with the Clojure CLI (any version) with:
36+
37+
[source]
38+
----
39+
clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha4"}}}
40+
----

content/releases/devchangelog.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ Note: All dev releases are subject to breaking changes for new work since the pr
1919

2020
== Release 1.13.x
2121

22+
=== 1.13.0-alpha4 (July 14, 2026) [[v1.13.0-alpha4]]
23+
24+
https://clojure.org/news/2026/07/14/clojure-1-13-alpha4[Release Notes]
25+
26+
* https://clojure.atlassian.net/browse/CLJ-2964[CLJ-2964] :select directive in map destructuring
27+
* https://clojure.atlassian.net/browse/CLJ-2966[CLJ-2966] :defaults directive in map destructuring
28+
* https://clojure.atlassian.net/browse/CLJ-2967[CLJ-2967] tests for nested destructuring
29+
* https://clojure.atlassian.net/browse/CLJ-2870[CLJ-2870] Exception phase during top-level eval is miscategorized
30+
2231
=== 1.13.0-alpha3 (July 7, 2026) [[v1.13.0-alpha3]]
2332

2433
https://clojure.org/news/2026/07/07/clojure-1-13-alpha3[Release Notes]

content/releases/downloads.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,29 +54,29 @@ Clojure depends on Java and all Clojure code is compiled to Java 8 compatible by
5454
Read the https://github.com/clojure/clojure/blob/master/changes.md[Changelog] for detailed release information.
5555

5656
[[dev]]
57-
== Development Release: 1.13.0-alpha3
57+
== Development Release: 1.13.0-alpha4
5858

5959
Include the release in your project using the following coordinates:
6060

6161
deps.edn coordinate:
6262

6363
[source,clojure]
6464
----
65-
org.clojure/clojure {:mvn/version "1.13.0-alpha3"}
65+
org.clojure/clojure {:mvn/version "1.13.0-alpha4"}
6666
----
6767

6868
Leiningen dependency:
6969

7070
[source,clojure]
7171
----
72-
[org.clojure/clojure "1.13.0-alpha3"]
72+
[org.clojure/clojure "1.13.0-alpha4"]
7373
----
7474

7575
* https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojure%22%20AND%20v%3A1.13*[Clojure 1.13 pre-release builds]
7676
* <<devchangelog#,Dev changelog>>
7777
* Dependencies:
7878
** `org.clojure/spec.alpha {:mvn/version "0.6.249"}`
79-
** `org.clojure/core.specs.alpha {:mvn/version "0.6.92-alpha2"}`
79+
** `org.clojure/core.specs.alpha {:mvn/version "0.6.113-alpha6"}`
8080
* Requirements: Java 8 or higher (recommended: Java 25)
8181

8282
== Older Releases

0 commit comments

Comments
 (0)