Releases: jaclarke/cronosjs
Releases · jaclarke/cronosjs
v1.7.1
v1.6.1
v1.6.0
Added
CronosExpression
now haswarnings
property that lists possible errors in the expression. Currently supports detecting cases where increment value is larger than the valid (or supplied) range for a fieldscheduleTask
,CronosExpression.parse()
andvalidate
now support strict option, which when enabled will throw an error if warnings were generated during parsing
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
Added
- Original cron string passed to
CronosExpression.parse()
accessable onCronosExpression.cronString
property .toString()
returns more useful information onCronosExpression
andCronosTimezone
Fixed
- Added workaround for bug when
Array.prototype.find
is incorrectly polyfilled - Added check to ensure tasks only run at most once a second
1.1.0
Changed
- Switched to @pika/pack for building, adding builds optimised for node, browsers and modern ES module support (eg. Webpack, modern browsers)
- Improved test coverage
1.0.0
First release of CronosJS, featuring:
- Extended cron syntax support, including last day (
L
), nearest weekday (W
), nth of month (#
), optional second and year fields, and predefined expressions - Fixed offset and IANA timezone support, via
Intl
api - Configurable daylight saving handling
- Zero dependencies