Skip to content

Commit 9295e2a

Browse files
committed
Merge branch 'master' into dev-vthreads-exec
2 parents 19d8b32 + 0cb226c commit 9295e2a

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Diff for: README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ A Clojure library providing facilities for async programming and communication.
77

88
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
99

10-
Latest release: 1.8.735
10+
Latest release: 1.8.741
1111

1212
* [All Released Versions](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22core.async%22)
1313

1414
[deps.edn](https://clojure.org/reference/deps_and_cli) dependency information:
1515

1616
```clj
17-
org.clojure/core.async {:mvn/version "1.8.735"}
17+
org.clojure/core.async {:mvn/version "1.8.741"}
1818
```
1919

2020
[Leiningen](https://github.com/technomancy/leiningen) dependency information:
2121

2222
```clj
23-
[org.clojure/core.async "1.8.735"]
23+
[org.clojure/core.async "1.8.741"]
2424
```
2525

2626
[Maven](http://maven.apache.org/) dependency information:
@@ -29,7 +29,7 @@ Latest release: 1.8.735
2929
<dependency>
3030
<groupId>org.clojure</groupId>
3131
<artifactId>core.async</artifactId>
32-
<version>1.8.735</version>
32+
<version>1.8.741</version>
3333
</dependency>
3434
```
3535

@@ -65,6 +65,8 @@ Copyright © Rich Hickey and contributors
6565

6666
## Changelog
6767

68+
* Release 1.8.741 on 2025-04-07
69+
* [ASYNC-234](https://clojure.atlassian.net/browse/ASYNC-234) (CLJ) Inactive alt handlers hold strong references to (potentially large) caller state after the alt completes
6870
* Release 1.8.735 on 2025.04.02
6971
* Fix reflection warnings when using `clojure.core.async.go-checking`
7072
* Release 1.8.730 on 2025.04.02, effective changes since last non-beta release:

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>org.clojure</groupId>
44
<artifactId>core.async</artifactId>
55
<!-- Don't set this manually! Call script/build/update_version -->
6-
<version>1.9.0-SNAPSHOT</version>
6+
<version>1.8.742-SNAPSHOT</version>
77
<packaging>jar</packaging>
88
<name>core.async</name>
99
<description>Facilities for async programming and communication in Clojure</description>

Diff for: src/main/clojure/clojure/core/async.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ unset - default to ioc when aot, always
365365
namespace docs)."
366366
[ports & opts]
367367
(let [p (promise)
368-
ret (do-alts (on-caller #(deliver p %)) ports (apply hash-map opts))]
368+
ret (do-alts (on-caller (^:once fn* [v] (deliver p v))) ports (apply hash-map opts))]
369369
(if ret
370370
@ret
371371
(deref p))))
@@ -475,7 +475,7 @@ unset - default to ioc when aot, always
475475
(defn ioc-alts! [state cont-block ports & {:as opts}]
476476
(ioc/aset-all! state ioc/STATE-IDX cont-block)
477477
(when-let [cb (clojure.core.async/do-alts
478-
(fn [val]
478+
(^:once fn* [val]
479479
(ioc/aset-all! state ioc/VALUE-IDX val)
480480
(ioc/run-state-machine-wrapped state))
481481
ports

0 commit comments

Comments
 (0)