Skip to content

Bump async from 2.25.0 to 2.35.0#28

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/async-2.35.0
Open

Bump async from 2.25.0 to 2.35.0#28
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/async-2.35.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2025

Bumps async from 2.25.0 to 2.35.0.

Changelog

Sourced from async's changelog.

v2.35.0

  • Process.fork is now properly handled by the Async fiber scheduler, ensuring that the scheduler state is correctly reset in the child process after a fork. This prevents issues where the child process inherits the scheduler state from the parent, which could lead to unexpected behavior.

v2.34.0

Kernel::Barrier Convenience Interface

Starting multiple concurrent tasks and waiting for them to finish is a common pattern. This change introduces a small ergonomic helper, Barrier, defined in Kernel, that encapsulates this behavior: it creates an Async::Barrier, yields it to a block, waits for completion (using Sync to run a reactor if needed), and ensures remaining tasks are stopped on exit.

require "async"
Barrier do |barrier|
3.times do |i|
barrier.async do |task|
sleep(rand * 0.1)  # Simulate work
puts "Task #{i} completed"
end
end
end
All tasks are guaranteed to complete or be stopped when the block exits.

If an exception is raised by a task, it will be propagated to the caller, and any remaining tasks will be stopped. The parent: parameter can be used to specify a parent task for the barrier, otherwise it will use the current task if available, or create a new reactor if not.

v2.33.0

  • Introduce Async::Promise.fulfill for optional promise resolution.

v2.32.1

  • Fix typo in documentation.

v2.32.0

  • Introduce Queue#waiting_count and PriorityQueue#waiting_count. Generally for statistics/testing purposes only.

v2.31.0

  • Introduce Async::Deadline for precise timeout management in compound operations.

v2.30.0

  • Add timeout support to Async::Queue#dequeue and Async::Queue#pop methods.
  • Add timeout support to Async::PriorityQueue#dequeue and Async::PriorityQueue#pop methods.
  • Add closed? method to Async::PriorityQueue for full queue interface compatibility.
  • Support non-blocking operations using timeout: 0 parameter.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [async](https://github.com/socketry/async) from 2.25.0 to 2.35.0.
- [Release notes](https://github.com/socketry/async/releases)
- [Changelog](https://github.com/socketry/async/blob/main/releases.md)
- [Commits](socketry/async@v2.25.0...v2.35.0)

---
updated-dependencies:
- dependency-name: async
  dependency-version: 2.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants