Skip to content

Releases: JoshOY/quartz-cron-parser

v1.0.3

Choose a tag to compare

@JoshOY JoshOY released this 12 Sep 03:02

Changed

  • Republished the 1.0.2 package from the merged main branch.
  • No parser behavior or public API changes from 1.0.2.

Verification

  • 163 tests passed on Node.js 22.
  • CommonJS, ES module, type-resolution, and package-content checks passed.
  • Published to npm and GitHub Packages.

See CHANGELOG.md for details.

v1.0.2

Choose a tag to compare

@JoshOY JoshOY released this 11 Sep 18:27

Added

  • Added Quartz 2.5.2 compatibility tests based on the official tutorial and CronExpressionTest.
  • Added CI checks for pull requests and pushes to main.

Fixed

  • Parse L-nW, including L-1W,L-1 lists.
  • Parse nearest-weekday values with ordinary day-of-month list items, such as 2W,16.
  • Reject descending year ranges such as 2099-1970 and 2099-1970/10.
  • Ship separate .d.mts and .d.cts declarations for ES module and CommonJS consumers.

Verification

  • 163 tests passed.
  • CommonJS, ES module, type-resolution, and package-content checks passed.

See CHANGELOG.md for details.

v1.0.1

Choose a tag to compare

@JoshOY JoshOY released this 11 Sep 17:54
633ad76

Added

  • Support overflowing ranges such as 22-2, NOV-FEB, and FRI-MON.
  • Support increments inside lists and range increments in all numeric fields.
  • Support standalone L in day-of-week and L in day-of-month lists such as 5,15,L.
  • Accept spaces and tabs as field separators.
  • Add Quartz 2.5.x compatibility regression tests.

Fixed

  • Accept 2099 as the starting year of an increment.
  • Expand overflowing ranges and range increments correctly inside lists.

Packaging

  • Include CHANGELOG.md and dist/index.min.js.map in the package.
  • Verify package contents in both release workflows.

Compatibility

Existing valid expressions keep their previous result structure. Range increments use mode: "rangeIncrement"; day-of-month lists containing L use mode: "list".

See CHANGELOG.md for details.