Skip to content

Commit 677a3a1

Browse files
committed
Bump minor version.
1 parent bed3f03 commit 677a3a1

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎lib/async/version.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
# @namespace
77
module Async
8-
VERSION = "2.41.0"
8+
VERSION = "2.42.0"
99
end

‎readme.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Please see the [project documentation](https://socketry.github.io/async/) for mo
3535

3636
Please see the [project releases](https://socketry.github.io/async/releases/index) for all releases.
3737

38+
### v2.42.0
39+
40+
- `Sync` and `Async` can now be invoked from a non-blocking fiber that has no scheduler (e.g. inside an `Enumerator` or a bare `Fiber.new`). Previously this raised `RuntimeError: Running scheduler on non-blocking fiber!`. The reactor is now run within `Fiber.blocking`, so the scheduler always runs on a blocking fiber.
41+
3842
### v2.41.0
3943

4044
- **Fixed**: Protect initial task from Interrupt exceptions.
@@ -75,10 +79,6 @@ Please see the [project releases](https://socketry.github.io/async/releases/inde
7579
- Improved handling of `Process.fork` on Ruby 4+.
7680
- Improve `@promise` state handling in `Task#initialize`, preventing incomplete instances being visible to the scheduler.
7781

78-
### v2.35.1
79-
80-
- Fix incorrect handling of spurious wakeups in `Async::Promise#wait`, which could lead to premature (incorrect) resolution of the promise.
81-
8282
## See Also
8383

8484
- [async-http](https://github.com/socketry/async-http) — Asynchronous HTTP client/server.

‎releases.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Releases
22

3-
## Unreleased
3+
## v2.42.0
44

55
- `Sync` and `Async` can now be invoked from a non-blocking fiber that has no scheduler (e.g. inside an `Enumerator` or a bare `Fiber.new`). Previously this raised `RuntimeError: Running scheduler on non-blocking fiber!`. The reactor is now run within `Fiber.blocking`, so the scheduler always runs on a blocking fiber.
66

0 commit comments

Comments
 (0)