You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releases.md
+28-29Lines changed: 28 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ queue.dequeue # => nil
78
78
79
79
## v2.25.0
80
80
81
-
- Added support for `io_select` hook in the fiber scheduler, allowing non-blocking `IO.select` operations. This enables better integration with code that uses `IO.select` for multiplexing IO operations.
81
+
- Added support for `io_select` hook in the fiber scheduler, allowing non-blocking `IO.select` operations. This enables better integration with code that uses `IO.select` for multiplexing IO operations.
82
82
83
83
### Use `IO::Event::WorkerPool` for Blocking Operations
84
84
@@ -105,9 +105,8 @@ end
105
105
106
106
## v2.24.0
107
107
108
-
- Ruby v3.1 support is dropped.
109
-
- `Async::Wrapper` which was previously deprecated, is now removed.
110
-
- `Async::Barrier` now waits in order of completion rather than order of creation. This means that if you create a barrier with 3 tasks, and one of them completes (or fails) before the others, it will be the first to be yielded to the barrier.
108
+
- Ruby v3.1 support is dropped.
109
+
-`Async::Wrapper` which was previously deprecated, is now removed.
111
110
112
111
### Flexible Timeouts
113
112
@@ -139,7 +138,7 @@ end
139
138
140
139
## v2.23.0
141
140
142
-
- Rename `ASYNC_SCHEDULER_DEFAULT_WORKER_POOL` to `ASYNC_SCHEDULER_WORKER_POOL`.
141
+
- Rename `ASYNC_SCHEDULER_DEFAULT_WORKER_POOL` to `ASYNC_SCHEDULER_WORKER_POOL`.
143
142
144
143
### Fiber Stall Profiler
145
144
@@ -169,7 +168,7 @@ Ruby 3.4 will feature a new fiber scheduler hook, `blocking_operation_wait` whic
169
168
170
169
The Async scheduler optionally supports this feature using a worker pool, by using the following environment variable:
171
170
172
-
ASYNC_SCHEDULER_WORKER_POOL=true
171
+
ASYNC_SCHEDULER_WORKER_POOL=true
173
172
174
173
This will cause the scheduler to use a worker pool for general blocking operations, rather than blocking the event loop.
175
174
@@ -189,21 +188,21 @@ To take advantage of this feature, you will need to introduce your own `config/t
189
188
190
189
Occasionally on issues, I encounter people asking for help and I need more information. Pressing Ctrl-C to exit a hung program is common, but it usually doesn't provide enough information to diagnose the problem. Setting the `CONSOLE_LEVEL=debug` environment variable will now print additional information about the scheduler when you interrupt it, including a backtrace of the current tasks.
0 commit comments