All notable changes to this module will be documented in this file.
The format is based on Keep a Changelog, and this module adheres to Semantic Versioning.
1.1.1 - 2021-08-19
- Fix no retry will be executed in
SingleInstanceTaskScheduler
whenschedule()
orrun()
is called after first retry.
1.1.0 - 2021-07-28
- Added read only property
SingleInstanceTaskScheduler.context
.
1.0.1 - 2021-07-21
- Fix broken package by repacking and republish.
1.0.0 - 2021-07-20
SingleInstanceTaskScheduler
is rewrote with stability index 2 - Stable.
0.3.0 - 2021-05-27
- Added method
SingleInstanceTaskScheduler.setNextRunTimeOptions()
.
- Export is changed again.
require('task-scheduler-collection/dist/single-instance')
should now be changed torequire('task-scheduler-collection/single-instance')
. - Change constructor signiture of
SingleInstanceTaskScheduler
to make it easier to use.
- Marked function
buildEvaluator
insingle-instance
module as private by adding underscore prefix. Export will be removed in future. - Package on npm no longer include TypeScript source and
tsconfig.json
.
0.2.0 - 2021-05-25
- Added
SingleInstanceTaskScheduler.nextRunTime
property.
- In
SingleInstanceTaskScheduler
constructor options, renamenextRunTimeEvaluator
tonextRunTime
and accept the same options asbuildEvaluator
. - Export is changed. Instead of
const { SingleInstanceTaskScheduler } = require('task-scheduler-collection')
, useconst { SingleInstanceTaskScheduler } = require('task-scheduler-collection/dist/single-instance')
. - In
SingleInstanceTaskScheduler
,NextRunRequest.startTime
is renamed toNextRunRequest.startDelayOrTime
to avoid ambiguity.
ExecutionMetadata.isRetry
is removed as this can be deduced fromExecutionMetadata.attemptNumber !== 1
.
0.1.0 - 2021-05-24
- First release with
SingleInstanceTaskScheduler
.