5.6 KiB
@backstage/backend-tasks
0.3.0-next.2
Patch Changes
-
a83babdd63: Fixed theinitialDelayparameter of tasks to properly make task workers always wait before the first invocations on startup, not just the very first time that the task is ever created. This behavior is more in line with expectations. Callers to not need to update their code.Also clarified in the doc comment for the field that this wait applies only on an individual worker level. That is, if you have a cluster of workers then each individual machine may postpone its first task invocation by the given amount of time to leave room for the service to settle, but other workers may still continue to invoke the task on the regular cadence in the meantime.
0.3.0-next.1
Minor Changes
ab008a0988: Adds the ability to manually trigger tasks which are registered
Patch Changes
bdd2773202: Refactored the internalTaskWorkerclass to make it easier to test.- Updated dependencies
- @backstage/backend-common@0.13.2-next.1
0.2.2-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.2-next.0
0.2.1
Patch Changes
efc73db10c: Usebetter-sqlite3instead of@vscode/sqlite3- Updated dependencies
- @backstage/backend-common@0.13.1
- @backstage/config@1.0.0
- @backstage/errors@1.0.0
- @backstage/types@1.0.0
0.2.0
Minor Changes
-
9461f73643: BREAKING: TheTaskDefinitiontype has been removed, and replaced by the equal pairTaskScheduleDefinitionandTaskInvocationDefinition. The interface forPluginTaskScheduler.scheduleTaskstays effectively unchanged, so this only affects you if you use the actual types directly.Added the method
PluginTaskScheduler.createTaskSchedule, which returns aTaskSchedulewrapper that is convenient to pass down into classes that want to control their task invocations while the caller wants to retain control of the actual schedule chosen.
Patch Changes
ab7cd7d70e: Do some groundwork for supporting thebetter-sqlite3driver, to maybe eventually replace@vscode/sqlite3(#9912)7290dda9d4: Relaxed the task ID requirement to now support any non-empty stringae2ed04076: Add support for cron syntax to configure task frequency -TaskScheduleDefinition.frequencycan now be both aDurationand an object on the form{ cron: string }, where the latter is expected to be on standard crontab format (e.g.'0 */2 * * *').- Updated dependencies
0.2.0-next.0
Minor Changes
-
9461f73643: BREAKING: TheTaskDefinitiontype has been removed, and replaced by the equal pairTaskScheduleDefinitionandTaskInvocationDefinition. The interface forPluginTaskScheduler.scheduleTaskstays effectively unchanged, so this only affects you if you use the actual types directly.Added the method
PluginTaskScheduler.createTaskSchedule, which returns aTaskSchedulewrapper that is convenient to pass down into classes that want to control their task invocations while the caller wants to retain control of the actual schedule chosen.
Patch Changes
ab7cd7d70e: Do some groundwork for supporting thebetter-sqlite3driver, to maybe eventually replace@vscode/sqlite3(#9912)7290dda9d4: Relaxed the task ID requirement to now support any non-empty string- Updated dependencies
- @backstage/backend-common@0.13.0-next.0
0.1.10
Patch Changes
- Updated dependencies
0.1.9
Patch Changes
dc97845422: Only output janitor logs when actually timing out tasks- Updated dependencies
0.1.8
Patch Changes
- Fix for the previous release with missing type declarations.
- Updated dependencies
- @backstage/backend-common@0.10.9
- @backstage/config@0.1.15
- @backstage/errors@0.2.2
- @backstage/types@0.1.3
0.1.7
Patch Changes
c77c5c7eb6: Addedbackstage.roletopackage.json- Updated dependencies
- @backstage/backend-common@0.10.8
- @backstage/errors@0.2.1
- @backstage/config@0.1.14
- @backstage/types@0.1.2
0.1.6
Patch Changes
-
2441d1cf59: chore(deps): bumpknexfrom 0.95.6 to 1.0.2This also replaces
sqlite3with@vscode/sqlite35.0.7 -
Updated dependencies
0.1.6-next.0
Patch Changes
-
2441d1cf59: chore(deps): bumpknexfrom 0.95.6 to 1.0.2This also replaces
sqlite3with@vscode/sqlite35.0.7 -
Updated dependencies
- @backstage/backend-common@0.10.7-next.0
0.1.5
Patch Changes
- Updated dependencies
0.1.5-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.6-next.0
0.1.4
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.4
- @backstage/config@0.1.13
0.1.4-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.4-next.0
- @backstage/config@0.1.13-next.0
0.1.3
Patch Changes
- Updated dependencies
- @backstage/config@0.1.12
- @backstage/backend-common@0.10.3
- @backstage/errors@0.2.0
0.1.2
Patch Changes
-
e188b37024: Updated README to clarify the following:- Dashes cannot be used in the
id, changed to an underscore in the example - The
timeoutis required, this was also added to the example - Added a note about tasks not running as expected for local development using persistent database
- Dashes cannot be used in the
-
Updated dependencies
0.1.1
Patch Changes
- Updated dependencies