3.1.7 (2024-04-08)
- action: prevent duplicate checks on Renovate PRs (#784) (6b56a36)
- action: update actions/setup-node digest to 60edb5d (#821) (f05b75e)
- action: update actions/upload-artifact action to v4 (#856) (46d6660)
- action: update amannn/action-semantic-pull-request digest to e9fabac (#849) (d96457c)
- action: update github/codeql-action action to v2.22.6 (#783) [skip ci] (687fd43)
- action: update github/codeql-action action to v2.22.7 (#787) (a0204d8)
- action: update github/codeql-action action to v2.22.8 (#797) (323f48c)
- action: update github/codeql-action action to v3 (#817) (69d2695)
- action: update insurgent-lab/is-in-pr-action action to v0.1.4 (#790) (8e85b13)
- action: update insurgent-lab/is-in-pr-action action to v0.1.5 (#798) (76751d2)
- action: update insurgent-lab/is-in-pr-action action to v0.2.0 (#853) (cc3fcbd)
- action: update marocchino/sticky-pull-request-comment digest to 331f8f5 (#850) (a477f08)
- action: update step-security/harden-runner action to v2.6.1 (#788) [skip ci] (2e5ca52)
- action: update step-security/harden-runner action to v2.7.0 (#846) (f1a8486)
- fix renovate skipping checks (#796) (3b00555)
- deps: lock file maintenance (38979af)
- deps: lock file maintenance (dc5b205)
- deps: lock file maintenance (77ddb73)
- deps: lock file maintenance (03eea6c)
- deps: lock file maintenance (94e8aac)
- deps: lock file maintenance (142c2d1)
- deps: lock file maintenance (c70bd32)
- deps: lock file maintenance (e0931ca)
- deps: lock file maintenance (effe686)
- deps: lock file maintenance (#763) (5d17388)
- deps: lock file maintenance (#771) (cf3d5e8)
- deps: lock file maintenance (#781) (6a00c1e)
- deps: lock file maintenance (#793) (bcbc778)
- deps: lock file maintenance (#804) (2e72c8f)
- deps: update dependency @commitlint/cli to v18.4.3 (8c8acf7)
- deps: update dependency @commitlint/cli to v18.4.4 (2572023)
- deps: update dependency @commitlint/cli to v18.6.0 (22e8a0f)
- deps: update dependency @commitlint/cli to v18.6.1 (e34c9d1)
- deps: update dependency @fast-check/jest to v1.8.0 (689eea4)
- deps: update dependency @fast-check/jest to v1.8.1 (a6a120c)
- deps: update dependency @insurgent/conventional-changelog-preset to v9.0.1 (39ae9c1)
- deps: update dependency @semantic-release/github to v9.2.4 (be59173)
- deps: update dependency @semantic-release/github to v9.2.6 (4c994df)
- deps: update dependency @semantic-release/npm to v11.0.1 (#770) (72f9dea)
- deps: update dependency @semantic-release/npm to v11.0.3 (d62bc05)
- deps: update dependency @types/jest to v29.5.11 (8fe499f)
- deps: update dependency @types/jest to v29.5.12 (621f556)
- deps: update dependency @types/jest to v29.5.7 (#765) [skip ci] (3b9b43d)
- deps: update dependency @types/node to v20.10.0 (3111ecd)
- deps: update dependency @types/node to v20.10.4 (b0853e7)
- deps: update dependency @types/node to v20.10.5 (35ee733)
- deps: update dependency @types/node to v20.10.7 (603fdfa)
- deps: update dependency @types/node to v20.11.0 (a1a38fe)
- deps: update dependency @types/node to v20.11.13 (c42b5e9)
- deps: update dependency @types/node to v20.11.17 (f37f31c)
- deps: update dependency @types/node to v20.11.19 (c3bdd6d)
- deps: update dependency @types/node to v20.11.24 (fb4a087)
- deps: update dependency @types/node to v20.11.25 (4b22794)
- deps: update dependency @types/node to v20.11.26 (166563d)
- deps: update dependency @types/node to v20.11.27 (8c14927)
- deps: update dependency @types/node to v20.11.28 (bf7efeb)
- deps: update dependency @types/node to v20.11.30 (ed26da9)
- deps: update dependency @types/node to v20.11.5 (8838ae5)
- deps: update dependency @types/node to v20.11.8 (006f6fc)
- deps: update dependency @types/node to v20.12.2 (f6bf108)
- deps: update dependency @types/node to v20.12.3 (30648f8)
- deps: update dependency @types/node to v20.12.4 (7d5cf86)
- deps: update dependency @types/node to v20.8.10 (#768) [skip ci] (6a91b78)
- deps: update dependency @types/node to v20.9.0 (6d972d5)
- deps: update dependency @types/node to v20.9.1 (1817d85)
- deps: update dependency @types/node to v20.9.2 (a9fb08b)
- deps: update dependency @types/node to v20.9.4 (05124bb)
- deps: update dependency @types/node to v20.9.5 (a32ba3d)
- deps: update dependency @types/sinon to v17 (#774) [skip ci] (6ab97db)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.11.0 (d41dfa3)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.12.0 (bd2e981)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.13.1 (#806) (d696565)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.13.2 (d614393)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.9.1 (#766) [skip ci] (4d2bfe6)
- deps: update dependency chai to v4.4.1 (cd26e74)
- deps: update dependency eslint to v8.53.0 (#773) [skip ci] (8dea8d7)
- deps: update dependency eslint to v8.54.0 (ef4a99c)
- deps: update dependency eslint to v8.55.0 (f5578ac)
- deps: update dependency eslint-config-prettier to v9.1.0 (ba1df8b)
- deps: update dependency eslint-plugin-jest to v27.6.0 (#762) (615b06f)
- deps: update dependency eslint-plugin-jest to v27.8.0 (ca9c72d)
- deps: update dependency prettier to v3.1.1 (f31bd3b)
- deps: update dependency semantic-release to v22.0.6 (#767) [skip ci] (230291a)
- deps: update dependency semantic-release to v22.0.9 (ac87eba)
- deps: update dependency sinon to v17.0.1 (#769) [skip ci] (bf2bdfb)
- deps: update dependency ts-jest to v29.1.2 (6f8af23)
- deps: update dependency typescript to v5.3.2 (#802) (0f541a4)
- deps: update dependency typescript to v5.3.3 (4f470c6)
- deps: update dependency typescript to v5.4.2 (98dfa32)
- deps: update dependency typescript to v5.4.3 (412c453)
- deps: update dependency typescript to v5.4.4 (6b172b1)
- deps: update linters (2c2fe1b)
- deps: update linters (66a470a)
- deps: update linters (3010a70)
- deps: update linters (f8609df)
- deps: update linters (8937be5)
- deps: update linters (834e0f4)
- deps: update linters (fe0d705)
- deps: update linters (767ad39)
- deps: update semantic-release related packages (38096a9)
- deps: update semantic-release related packages (a5cd89d)
- deps: update semantic-release related packages (#772) [skip ci] (4a654a7)
- deps: update semantic-release related packages (#777) (898254c)
- deps: update tests (eb417b6)
- deps: update tests (0cdd4a3)
- deps: update tests (#800) (ea1a22b)
- reduce renovate updates noise (#750) (661722f)
- reflect insurgentlab scope update in config files (#785) (edf67d0)
3.1.6 (2023-10-29)
- action: update actions/checkout action to v4 (#755) (d0d70c6)
- action: update github/codeql-action action to v2.22.4 (#752) (04454c3)
- action: update github/codeql-action action to v2.22.5 (#758) (2dff183)
- action: update ossf/scorecard-action action to v2.3.1 (#754) (41d21f1)
- deps: update dependency @commitlint/cli to v18.2.0 (#759) (4cb466e)
- deps: update dependency @types/node to v20.8.8 (#756) (361728e)
- deps: update dependency @types/node to v20.8.9 (#757) (e2b1bac)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.9.0 (#753) (9cec04f)
3.1.5 (2023-10-26)
- detect multiple zeros as an invalid step (#743) [skip ci] (b0bf677)
- re-add runOnce property to CronJob (#751) (a61d8c9)
- deps: update dependency @commitlint/cli to v18 (#747) (5ff1cf8)
- deps: update dependency sinon to v17 (#748) (9d61ff9)
- deps: update linters (7bdc726)
- improve ossf scorecard's score (#715) [skip ci] (1284df4)
3.1.4 (2023-10-24)
- deps: lock file maintenance (#741) (6d94742)
- deps: update dependency @types/jest to v29.5.6 (#736) (57c0efa)
- deps: update dependency @types/node to v20.8.7 (#737) (21c4065)
- deps: update dependency @typescript-eslint/eslint-plugin to v6.8.0 (#734) (12e7487)
- deps: update tests (#738) (3815e2a)
3.1.3 (2023-10-19)
3.1.2 (2023-10-19)
- deps: lock file maintenance (#731) (b6bc715)
- deps: pin dependencies (#719) [skip ci] (5003745)
- deps: pin dependencies (#720) [skip ci] (4f977ef)
- deps: pin dependencies (#721) [skip ci] (60fbf7f)
- deps: update dependency @commitlint/cli to v17.8.0 (#723) [skip ci] (a7a18cb)
- deps: update dependency @types/node to v20.8.6 (#724) [skip ci] (b5e4c9f)
- deps: update dependency sinon to v16 (#726) [skip ci] (d114a12)
- deps: update dependency typescript to v5.2.2 (#729) [skip ci] (d1b267e)
- deps: update linters (#728) [skip ci] (9ab00e8)
- deps: update linters (major) (#727) [skip ci] (a75418a)
- deps: update tests (#722) [skip ci] (6b4c6fa)
3.1.1 (2023-10-12)
- fix lastDate() value for intervals > 25 days (#711) (141aa00)
- fix object constructor typings & make OC generic type optional (#712) (6536084)
3.1.0 (2023-10-09)
- deps: update semantic-release related packages (#709) [skip ci] (b94a48a)
- reflect repository label changes (#708) (85c9e18)
3.0.0 (2023-09-30)
utcOffset
parameter no longer accepts a stringutcOffset
values between -60 and 60 are no longer treated as hours- providing both
timeZone
andutcOffset
parameters now throws an error - removed
cron.job()
method in favor ofnew CronJob(...args)
/CronJob.from(argsObject)
- removed
cron.time()
method in favor ofnew CronTime()
CronJob
: constructor no longer accepts an object as its first and only params. UseCronJob.from(argsObject)
instead.CronJob
: callbacks are now called in the order they were registered- return empty array from nextDates when called without argument (#519)
- UNIX standard alignments (#667)
- expose useful types (737b344)
- rework utcOffset parameter (#699) (671e933)
- UNIX standard alignments (#667) (ff615f1)
- update new test for cron standard alignments (4a406c1)
- fix linting issues (47e665f)
2.4.4 (2023-09-25)
2.4.3 (2023-08-26)
2.4.2 (2023-08-26)
2.4.1 (2023-08-14)
2.4.0 (2023-07-24)
- don't start job in setTime if it wasn't running (7e26c23)
- npm: ship type definitions with releases (0b663a8)
- add support for beta & maintenance releases (#677) (c6fc842)
- setup conventional commits & release automation (#673) (c6f39ff)
v2.3.1 (2023-05-25)
- Logo!
- New test cases
- Linting issues
v2.3.0 (2023-03-14)
- Some small bugs
- Refactored get next date function
v2.2.0 (2023-01-09)
- Updated Luxon dependency
- Updated unit tests to be compatible with new Luxon version
v2.1.0 (2022-07-14)
- "Maximum iterations" will direct the user to refer to a single canonical issue instead of creating a new one
v2.0.0 (2022-05-03)
- Upgrade vulnerable dependencies
- Move from moment.js to luxon (breaking change)
v1.8.2 (2020-01-24)
- Fix syntax parsing bug
v1.8.1 (2020-01-19)
- Revert TS definition defaulting to DefinitelyTyped definitions.
v1.8.0 (2020-01-19)
- GH-454 - Range upper limit should default to highest value when step is provided by Noah May noahmouse2011@gmail.com in d36dc9581f9f68580a2016b368f8002a9f1e357d
v1.7.1 (2019-04-26)
- GH-416 - Fix issue where next execution time is incorrect in some cases in Naoya Inada naoina@kuune.org in c08522ff80b3987843e9930c307b76d5fe38b5dc
v1.7.0 (2019-03-19)
- GH-408 - DST issue by Shua Talansky shua@bitbean.com in 1e971fd6dfa6ba4b0469d99dd64e6c31189d17d3 and 849a2467d16216a9dfa818c57cc26be6b6d0899b
v1.6.0 (2018-11-15)
- GH-393, GH-394 - Remove hard limit on max iters in favor of a timeout by Nick Campbell nicholas.j.campbell@gmail.com in 57632b0c06c56e82f40b740b8d7986be43842735
- GH-390 - better handling of real dates which are in the past by Nick Campbell nicholas.j.campbell@gmail.com in 7cbcc984aea6ec063e38829f68eb9bc0dfb1c775