v0.19.0
This release includes an introduction of task retention after successful processing. With Retention
option, you can specify how long the task should be retained in the queue as a completed task.
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.