diff --git a/changelog.md b/changelog.md index 00abf44..f0257f2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## [1.6.0] - 17 Apr 2020 +### Added + - `CronosExpression` now has `warnings` 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 field + - `scheduleTask`, `CronosExpression.parse()` and `validate` now support strict option, which when enabled will throw an error if warnings were generated during parsing + ## [1.5.0] - 01 Nov 2019 ### Added - Support for the `?` symbol as a alias to `*` in the *Day of Month* and *Day of Week* fields diff --git a/package-lock.json b/package-lock.json index d3f2ce0..0d240c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cronosjs", - "version": "1.5.0", + "version": "1.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b9f9a04..f3c936c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cronosjs", - "version": "1.5.0", + "version": "1.6.0", "description": "A cron based task scheduler for node and the browser, with extended syntax and timezone support.", "keywords": [ "cron", diff --git a/readme.md b/readme.md index 1a5f442..f3bfe35 100644 --- a/readme.md +++ b/readme.md @@ -312,7 +312,7 @@ import { - `cronString: string` Cron string to validate - - `options: { strict? }` + - `options: { strict? }` Same as `strict` option documented in [`scheduleTask`](#scheduletask) - **Returns** `boolean`