2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-26 11:16:12 +08:00

Rename modules, update to Go 1.20, init workspace, add task metadata

This commit is contained in:
Joseph Fourny
2023-04-03 14:25:40 -04:00
parent cc777ebdaa
commit 668cd760c6
76 changed files with 1174 additions and 723 deletions

View File

@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.24.0] - 2023-01-02
### Added
- `PreEnqueueFunc`, `PostEnqueueFunc` is added in `Scheduler` and deprecated `EnqueueErrorHandler` (PR: https://github.com/hibiken/asynq/pull/476)
- `PreEnqueueFunc`, `PostEnqueueFunc` is added in `Scheduler` and deprecated `EnqueueErrorHandler` (PR: https://github.com/Shopify/asynq/pull/476)
### Changed
- Removed error log when `Scheduler` failed to enqueue a task. Use `PostEnqueueFunc` to check for errors and task actions if needed.
@@ -31,7 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed overflow issue with 32-bit systems (For details, see https://github.com/hibiken/asynq/pull/426)
- Fixed overflow issue with 32-bit systems (For details, see https://github.com/Shopify/asynq/pull/426)
## [0.22.1] - 2022-02-20
@@ -56,7 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `PeriodicTaskManager` is added. Prefer using this over `Scheduler` 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](https://godoc.org/github.com/hibiken/asynq) for more details.
- Introduced new configuration for `DelayedTaskCheckInterval`. See [godoc](https://godoc.org/github.com/Shopify/asynq) for more details.
## [0.20.0] - 2021-12-19
@@ -129,7 +129,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed latency issue around memory usage (see https://github.com/hibiken/asynq/issues/309).
- Fixed latency issue around memory usage (see https://github.com/Shopify/asynq/issues/309).
## [0.18.1] - 2021-07-04
@@ -162,7 +162,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Free unique lock when task is deleted (https://github.com/hibiken/asynq/issues/275).
- Free unique lock when task is deleted (https://github.com/Shopify/asynq/issues/275).
## [0.17.1] - 2021-04-04
@@ -190,7 +190,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.15.0] - 2021-01-31
**IMPORTATNT**: All `Inspector` related code are moved to subpackage "github.com/hibiken/asynq/inspeq"
**IMPORTATNT**: All `Inspector` related code are moved to subpackage "github.com/Shopify/asynq/inspeq"
### Changed
@@ -244,7 +244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- `Scheduler` type is added to enable periodic tasks. See the godoc for its APIs and [wiki](https://github.com/hibiken/asynq/wiki/Periodic-Tasks) for the getting-started guide.
- `Scheduler` type is added to enable periodic tasks. See the godoc for its APIs and [wiki](https://github.com/Shopify/asynq/wiki/Periodic-Tasks) for the getting-started guide.
### Changed
@@ -259,7 +259,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.12.0] - 2020-09-12
**IMPORTANT**: If you are upgrading from a previous version, please install the latest version of the CLI `go get -u github.com/hibiken/asynq/tools/asynq` and run `asynq migrate` command. No process should be writing to Redis while you run the migration command.
**IMPORTANT**: If you are upgrading from a previous version, please install the latest version of the CLI `go get -u github.com/Shopify/asynq/tools/asynq` and run `asynq migrate` command. No process should be writing to Redis while you run the migration command.
## The semantics of queue have changed
@@ -351,13 +351,13 @@ To view details on any command, use `asynq help <command> <subcommand>`.
### Fixed
- Fixes issue of same tasks processed by more than one worker (https://github.com/hibiken/asynq/issues/90).
- Fixes issue of same tasks processed by more than one worker (https://github.com/Shopify/asynq/issues/90).
## [0.9.3] - 2020-06-12
### Fixed
- Fixes the JSON number overflow issue (https://github.com/hibiken/asynq/issues/166).
- Fixes the JSON number overflow issue (https://github.com/Shopify/asynq/issues/166).
## [0.9.2] - 2020-06-08
@@ -391,7 +391,7 @@ To view details on any command, use `asynq help <command> <subcommand>`.
### Fixed
- [Fixed cancelfunc leak](https://github.com/hibiken/asynq/pull/145)
- [Fixed cancelfunc leak](https://github.com/Shopify/asynq/pull/145)
## [0.8.1] - 2020-04-27
@@ -407,7 +407,7 @@ To view details on any command, use `asynq help <command> <subcommand>`.
- `Background` type is renamed to `Server`.
- To upgrade from the previous version, Update `NewBackground` to `NewServer` and pass `Config` by value.
- CLI is renamed to `asynq`.
- To upgrade the CLI to the latest version run `go get -u github.com/hibiken/tools/asynq`
- To upgrade the CLI to the latest version run `go get -u github.com/Shopify/asynq/tools/asynq`
- The `ps` command in CLI is renamed to `servers`
- `Concurrency` defaults to the number of CPUs when unset or set to a negative value.