Skip to content

Commit 0cb226c

Browse files
committed
Merge branch '1.7-dev'
2 parents 2d60b8a + a249d52 commit 0cb226c

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
@@ -339,7 +339,7 @@ return nil for unexpected contexts."
339339
namespace docs)."
340340
[ports & opts]
341341
(let [p (promise)
342-
ret (do-alts (on-caller #(deliver p %)) ports (apply hash-map opts))]
342+
ret (do-alts (on-caller (^:once fn* [v] (deliver p v))) ports (apply hash-map opts))]
343343
(if ret
344344
@ret
345345
(deref p))))
@@ -449,7 +449,7 @@ return nil for unexpected contexts."
449449
(defn ioc-alts! [state cont-block ports & {:as opts}]
450450
(ioc/aset-all! state ioc/STATE-IDX cont-block)
451451
(when-let [cb (clojure.core.async/do-alts
452-
(fn [val]
452+
(^:once fn* [val]
453453
(ioc/aset-all! state ioc/VALUE-IDX val)
454454
(ioc/run-state-machine-wrapped state))
455455
ports

0 commit comments

Comments
 (0)