[PR #706] [CLOSED] Bump github.com/hibiken/asynq from 0.21.0 to 0.24.1 in /x #831

Closed
opened 2026-03-02 06:05:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/706
Author: @dependabot[bot]
Created: 7/30/2023
Status: Closed

Base: masterHead: dependabot/go_modules/x/github.com/hibiken/asynq-0.24.1


📝 Commits (1)

  • e7ef854 Bump github.com/hibiken/asynq from 0.21.0 to 0.24.1 in /x

📊 Changes

2 files changed (+26 additions, -48 deletions)

View changed files

📝 x/go.mod (+1 -1)
📝 x/go.sum (+25 -47)

📄 Description

Bumps github.com/hibiken/asynq from 0.21.0 to 0.24.1.

Release notes

Sourced from github.com/hibiken/asynq's releases.

v0.24.1

Changed

  • Updated package version dependency for go-redis

v0.24.0

Added

  • PreEnqueueFunc, PostEnqueueFunc is added in Scheduler and deprecated EnqueueErrorHandler (PR: hibiken/asynq#476)

Changed

  • Removed error log when Scheduler failed to enqueue a task. Use PostEnqueueFunc to check for errors and task actions if needed.
  • Changed log level from ERROR to WARNINING when Scheduler failed to record SchedulerEnqueueEvent.

v0.23.0

This version adds Task Aggregation feature and includes a few improvements and fixes.

Task Aggregation

This is a new feature which allows you to enqueue multiple tasks successively, and have them passed to the Handler together rather than individually. The feature allows you to batch multiple successive operations into one, in order to save on costs, optimize caching, or batch notifications, for example. See the Wiki page for details.


Added

  • Group option is introduced to enqueue task in a group.
  • GroupAggregator and related types are introduced for task aggregation feature.
  • GroupGracePeriod, GroupMaxSize, GroupMaxDelay, and GroupAggregator fields are added to Config.
  • Inspector has new methods related to "aggregating tasks".
  • Group field is added to TaskInfo.
  • (CLI): group ls command is added
  • (CLI): task ls supports listing aggregating tasks via --state=aggregating --group=<GROUP> flags
  • Enable rediss url parsing support: Thanks to @​eleboucher

Fixed

v0.22.1

Fixed

  • Fixed Redis version compatibility: Keep support for redis v4.0+ (See issue #401 for details).

v0.22.0

This version improves worker crash recovery by introducing a concept of worker lease for an active task. It also adds an optional field to Config to customize the context passed to the Handler.

Important Note: Since this version changes the logic of crash recovery, update of the library version should be done with a clean restart of the process. In other words, please make sure that the process running asynq.Server shutdown cleanly before restarting the process with this new version.

Added

... (truncated)

Changelog

Sourced from github.com/hibiken/asynq's changelog.

[0.24.1] - 2023-05-01

Changed

  • Updated package version dependency for go-redis

[0.24.0] - 2023-01-02

Added

  • PreEnqueueFunc, PostEnqueueFunc is added in Scheduler and deprecated EnqueueErrorHandler (PR: hibiken/asynq#476)

Changed

  • Removed error log when Scheduler failed to enqueue a task. Use PostEnqueueFunc to check for errors and task actions if needed.
  • Changed log level from ERROR to WARNINING when Scheduler failed to record SchedulerEnqueueEvent.

[0.23.0] - 2022-04-11

Added

  • Group option is introduced to enqueue task in a group.
  • GroupAggregator and related types are introduced for task aggregation feature.
  • GroupGracePeriod, GroupMaxSize, GroupMaxDelay, and GroupAggregator fields are added to Config.
  • Inspector has new methods related to "aggregating tasks".
  • Group field is added to TaskInfo.
  • (CLI): group ls command is added
  • (CLI): task ls supports listing aggregating tasks via --state=aggregating --group=<GROUP> flags
  • Enable rediss url parsing support

Fixed

[0.22.1] - 2022-02-20

Fixed

  • Fixed Redis version compatibility: Keep support for redis v4.0+

[0.22.0] - 2022-02-19

Added

  • BaseContext is introduced in Config to specify callback hook to provide a base context from which Handler context is derived
  • IsOrphaned field is added to TaskInfo to describe a task left in active state with no worker processing it.

Changed

  • Server now recovers tasks with an expired lease. Recovered tasks are retried/archived with ErrLeaseExpired error.
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 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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/706 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 7/30/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/go_modules/x/github.com/hibiken/asynq-0.24.1` --- ### 📝 Commits (1) - [`e7ef854`](https://github.com/hibiken/asynq/commit/e7ef85400f67e2699c7d8694f5902778cda9c02a) Bump github.com/hibiken/asynq from 0.21.0 to 0.24.1 in /x ### 📊 Changes **2 files changed** (+26 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `x/go.mod` (+1 -1) 📝 `x/go.sum` (+25 -47) </details> ### 📄 Description Bumps [github.com/hibiken/asynq](https://github.com/hibiken/asynq) from 0.21.0 to 0.24.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hibiken/asynq/releases">github.com/hibiken/asynq's releases</a>.</em></p> <blockquote> <h2>v0.24.1</h2> <h2>Changed</h2> <ul> <li>Updated package version dependency for go-redis</li> </ul> <h2>v0.24.0</h2> <h3>Added</h3> <ul> <li><code>PreEnqueueFunc</code>, <code>PostEnqueueFunc</code> is added in <code>Scheduler</code> and deprecated <code>EnqueueErrorHandler</code> (PR: <a href="https://redirect.github.com/hibiken/asynq/pull/476">hibiken/asynq#476</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Removed error log when <code>Scheduler</code> failed to enqueue a task. Use <code>PostEnqueueFunc</code> to check for errors and task actions if needed.</li> <li>Changed log level from ERROR to WARNINING when <code>Scheduler</code> failed to record <code>SchedulerEnqueueEvent</code>.</li> </ul> <h2>v0.23.0</h2> <p>This version adds <a href="https://github.com/hibiken/asynq/wiki/Task-aggregation">Task Aggregation</a> feature and includes a few improvements and fixes.</p> <h2>Task Aggregation</h2> <p>This is a new feature which allows you to enqueue multiple tasks successively, and have them passed to the Handler together rather than individually. The feature allows you to batch multiple successive operations into one, in order to save on costs, optimize caching, or batch notifications, for example. See the <a href="https://github.com/hibiken/asynq/wiki/Task-aggregation">Wiki page</a> for details.</p> <hr /> <h3>Added</h3> <ul> <li><code>Group</code> option is introduced to enqueue task in a group.</li> <li><code>GroupAggregator</code> and related types are introduced for task aggregation feature.</li> <li><code>GroupGracePeriod</code>, <code>GroupMaxSize</code>, <code>GroupMaxDelay</code>, and <code>GroupAggregator</code> fields are added to <code>Config</code>.</li> <li><code>Inspector</code> has new methods related to &quot;aggregating tasks&quot;.</li> <li><code>Group</code> field is added to <code>TaskInfo</code>.</li> <li>(CLI): <code>group ls</code> command is added</li> <li>(CLI): <code>task ls</code> supports listing aggregating tasks via <code>--state=aggregating --group=&lt;GROUP&gt;</code> flags</li> <li>Enable rediss url parsing support: Thanks to <a href="https://github.com/eleboucher"><code>@​eleboucher</code></a></li> </ul> <h3>Fixed</h3> <ul> <li>Fixed overflow issue with 32-bit systems (For details, see <a href="https://redirect.github.com/hibiken/asynq/pull/426">hibiken/asynq#426</a>): Thanks to <a href="https://github.com/assimon"><code>@​assimon</code></a>!</li> </ul> <h2>v0.22.1</h2> <h3>Fixed</h3> <ul> <li>Fixed Redis version compatibility: Keep support for redis v4.0+ (See issue <a href="https://redirect.github.com/hibiken/asynq/issues/401">#401</a> for details).</li> </ul> <h2>v0.22.0</h2> <p>This version improves worker crash recovery by introducing a concept of worker lease for an active task. It also adds an optional field to <code>Config</code> to customize the context passed to the <code>Handler</code>.</p> <p><strong>Important Note</strong>: Since this version changes the logic of crash recovery, update of the library version should be done with a clean restart of the process. In other words, please make sure that the process running <code>asynq.Server</code> shutdown cleanly before restarting the process with this new version.</p> <h3>Added</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hibiken/asynq/blob/master/CHANGELOG.md">github.com/hibiken/asynq's changelog</a>.</em></p> <blockquote> <h2>[0.24.1] - 2023-05-01</h2> <h3>Changed</h3> <ul> <li>Updated package version dependency for go-redis</li> </ul> <h2>[0.24.0] - 2023-01-02</h2> <h3>Added</h3> <ul> <li><code>PreEnqueueFunc</code>, <code>PostEnqueueFunc</code> is added in <code>Scheduler</code> and deprecated <code>EnqueueErrorHandler</code> (PR: <a href="https://redirect.github.com/hibiken/asynq/pull/476">hibiken/asynq#476</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Removed error log when <code>Scheduler</code> failed to enqueue a task. Use <code>PostEnqueueFunc</code> to check for errors and task actions if needed.</li> <li>Changed log level from ERROR to WARNINING when <code>Scheduler</code> failed to record <code>SchedulerEnqueueEvent</code>.</li> </ul> <h2>[0.23.0] - 2022-04-11</h2> <h3>Added</h3> <ul> <li><code>Group</code> option is introduced to enqueue task in a group.</li> <li><code>GroupAggregator</code> and related types are introduced for task aggregation feature.</li> <li><code>GroupGracePeriod</code>, <code>GroupMaxSize</code>, <code>GroupMaxDelay</code>, and <code>GroupAggregator</code> fields are added to <code>Config</code>.</li> <li><code>Inspector</code> has new methods related to &quot;aggregating tasks&quot;.</li> <li><code>Group</code> field is added to <code>TaskInfo</code>.</li> <li>(CLI): <code>group ls</code> command is added</li> <li>(CLI): <code>task ls</code> supports listing aggregating tasks via <code>--state=aggregating --group=&lt;GROUP&gt;</code> flags</li> <li>Enable rediss url parsing support</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed overflow issue with 32-bit systems (For details, see <a href="https://redirect.github.com/hibiken/asynq/pull/426">hibiken/asynq#426</a>)</li> </ul> <h2>[0.22.1] - 2022-02-20</h2> <h3>Fixed</h3> <ul> <li>Fixed Redis version compatibility: Keep support for redis v4.0+</li> </ul> <h2>[0.22.0] - 2022-02-19</h2> <h3>Added</h3> <ul> <li><code>BaseContext</code> is introduced in <code>Config</code> to specify callback hook to provide a base <code>context</code> from which <code>Handler</code> <code>context</code> is derived</li> <li><code>IsOrphaned</code> field is added to <code>TaskInfo</code> to describe a task left in active state with no worker processing it.</li> </ul> <h3>Changed</h3> <ul> <li><code>Server</code> now recovers tasks with an expired lease. Recovered tasks are retried/archived with <code>ErrLeaseExpired</code> error.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hibiken/asynq/commit/fde294be326a252f6fcb1d942c11c055bebeecfb"><code>fde294b</code></a> v0.24.1</li> <li><a href="https://github.com/hibiken/asynq/commit/cbb1be34accd052ddf17e2f98fabeb1521e370f9"><code>cbb1be3</code></a> (tools &amp; x): revert to v8 version cc777eb</li> <li><a href="https://github.com/hibiken/asynq/commit/6ed70adf3be95f17164c2da2cfb8d17f15a28c59"><code>6ed70ad</code></a> fix: breaking build below go &lt; 1.18</li> <li><a href="https://github.com/hibiken/asynq/commit/1f42d71e9b000c8a0af96dae22b3b90e528d0d05"><code>1f42d71</code></a> pkg (tools): revert replace directive in go.mod</li> <li><a href="https://github.com/hibiken/asynq/commit/f966a6c3b866ac5040be72f44b311c8f38d5c9cc"><code>f966a6c</code></a> completely update Redis package</li> <li><a href="https://github.com/hibiken/asynq/commit/8b057b8767602728efbf5ff93a0cfc5dc72b7119"><code>8b057b8</code></a> tests: restore ignore goleak.IgnoreTopFunction</li> <li><a href="https://github.com/hibiken/asynq/commit/c72bfef0942f6fd71142ec803c020324a538b2e9"><code>c72bfef</code></a> fix unit test</li> <li><a href="https://github.com/hibiken/asynq/commit/dffb78cca4f7358192d4c6a8c7111f2c1ec6beaa"><code>dffb78c</code></a> pkg: remove v8 refs</li> <li><a href="https://github.com/hibiken/asynq/commit/0275df8df4ba6d54d295bc2f93f8276775f6a7cb"><code>0275df8</code></a> Update redis/go-redis to v9</li> <li><a href="https://github.com/hibiken/asynq/commit/cc777ebdaa62b69bd6e985fa97117b854e7d1cd6"><code>cc777eb</code></a> fix some typos</li> <li>Additional commits viewable in <a href="https://github.com/hibiken/asynq/compare/v0.21.0...v0.24.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/hibiken/asynq&package-manager=go_modules&previous-version=0.21.0&new-version=0.24.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 06:05:47 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#831
No description provided.