Version Packages (next)
This commit is contained in:
@@ -1,5 +1,29 @@
|
||||
# @backstage/backend-tasks
|
||||
|
||||
## 0.3.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 73480846dd: `TaskScheduleDefinition` has been updated to also accept an options object containing duration information in the form of days, hours, seconds and so on. This allows for scheduling without importing `luxon`.
|
||||
|
||||
```diff
|
||||
-import { Duration } from 'luxon';
|
||||
// omitted other code
|
||||
|
||||
const schedule = env.scheduler.createScheduledTaskRunner({
|
||||
- frequency: Duration.fromObject({ minutes: 10 }),
|
||||
- timeout: Duration.fromObject({ minutes: 15 }),
|
||||
+ frequency: { minutes: 10 },
|
||||
+ timeout: { minutes: 15 },
|
||||
// omitted other code
|
||||
});
|
||||
```
|
||||
|
||||
- ebbec677e1: Correctly set next run time for tasks
|
||||
- Updated dependencies
|
||||
- @backstage/backend-common@0.13.3-next.2
|
||||
- @backstage/config@1.0.1-next.0
|
||||
|
||||
## 0.3.1-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/backend-tasks",
|
||||
"description": "Common distributed task management library for Backstage backends",
|
||||
"version": "0.3.1-next.0",
|
||||
"version": "0.3.1-next.1",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"private": false,
|
||||
@@ -33,8 +33,8 @@
|
||||
"start": "backstage-cli package start"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-common": "^0.13.3-next.0",
|
||||
"@backstage/config": "^1.0.0",
|
||||
"@backstage/backend-common": "^0.13.3-next.2",
|
||||
"@backstage/config": "^1.0.1-next.0",
|
||||
"@backstage/errors": "^1.0.0",
|
||||
"@backstage/types": "^1.0.0",
|
||||
"@types/luxon": "^2.0.4",
|
||||
@@ -48,8 +48,8 @@
|
||||
"zod": "^3.9.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-test-utils": "^0.1.24-next.0",
|
||||
"@backstage/cli": "^0.17.1-next.0",
|
||||
"@backstage/backend-test-utils": "^0.1.24-next.1",
|
||||
"@backstage/cli": "^0.17.1-next.2",
|
||||
"@types/cron": "^1.7.3",
|
||||
"wait-for-expect": "^3.0.2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user