All Versions
49
Latest Version
Avg Release Cycle
43 days
Latest Release
411 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.23.0 Changes
April 11, 2022โ Added
Group
option is introduced to enqueue task in a group.GroupAggregator
and related types are introduced for task aggregation feature.GroupGracePeriod
,GroupMaxSize
,GroupMaxDelay
, andGroupAggregator
fields are added toConfig
.Inspector
has new methods related to "aggregating tasks".Group
field is added toTaskInfo
.- (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
- ๐ Fixed overflow issue with 32-bit systems (For details, see https://github.com/hibiken/asynq/pull/426)
-
v0.22.1 Changes
February 20, 2022๐ Fixed
- ๐ Fixed Redis version compatibility: Keep support for redis v4.0+
-
v0.22.0 Changes
February 19, 2022โ Added
BaseContext
is introduced inConfig
to specify callback hook to provide a basecontext
from whichHandler
context
is derived- ๐ท
IsOrphaned
field is added toTaskInfo
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 withErrLeaseExpired
error.
-
v0.21.0 Changes
January 22, 2022โ Added
- โฑ
PeriodicTaskManager
is added. Prefer using this overScheduler
as it has better support for dynamic periodic tasks. - ๐ The
asynq stats
command now supports a--json
option, making its output a JSON object - ๐ Introduced new configuration for
DelayedTaskCheckInterval
. See godoc for more details.
- โฑ
-
v0.20.0 Changes
December 19, 2021โ Added
- ๐ฆ Package
x/metrics
is added. - Tool
tools/metrics_exporter
binary is added. ProcessedTotal
andFailedTotal
fields were added toQueueInfo
struct.
- ๐ฆ Package
-
v0.19.1 Changes
December 12, 2021โ Added
- ๐ค
Latency
field is added toQueueInfo
. EnqueueContext
method is added toClient
.
๐ Fixed
- ๐ Fixed an error when user pass a duration less than 1s to
Unique
option
- ๐ค
-
v0.19.0 Changes
November 06, 2021๐ Changed
NewTask
takesOption
as variadic argument- โฌ๏ธ Bumped minimum supported go version to 1.14 (i.e. go1.14 or higher is required).
โ Added
Retention
option is added to allow user to specify task retention duration after completion.TaskID
option is added to allow user to specify task ID.ErrTaskIDConflict
sentinel error value is added.ResultWriter
type is added and provided throughTask.ResultWriter
method.TaskInfo
has new fieldsCompletedAt
,Result
andRetention
.
โ Removed
- ๐
Client.SetDefaultOptions
is removed. UseNewTask
instead to pass default options for tasks.
-
v0.18.6 Changes
October 03, 2021๐ Changed
- โก๏ธ Updated
github.com/go-redis/redis
package to v8
- โก๏ธ Updated
-
v0.18.5 Changes
September 01, 2020โ Added
IsFailure
config option is added to determine whether error returned from Handler counts as a failure.
-
v0.18.4 Changes
August 17, 2020๐ Fixed
- โฑ Scheduler methods are now thread-safe. It's now safe to call
Register
andUnregister
concurrently.
- โฑ Scheduler methods are now thread-safe. It's now safe to call