Asynq v0.19.0 Release Notes

Release Date: 2021-11-06 // over 2 years ago
  • ๐Ÿ”„ Changed

    • NewTask takes Option 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 through Task.ResultWriter method.
    • TaskInfo has new fields CompletedAt, Result and Retention.

    โœ‚ Removed

    • ๐Ÿšš Client.SetDefaultOptions is removed. Use NewTask instead to pass default options for tasks.