Skip to content

chore(main): release node-cron 5.0.0#574

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main--components--node-cron
Closed

chore(main): release node-cron 5.0.0#574
github-actions[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main--components--node-cron

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

5.0.0 (2026-06-22)

⚠ BREAKING CHANGES

  • rename distributedTtl option to distributedLease (#551)

Added

  • add cron.parse and cron.validateDetailed (#548) (cbe36bc)
  • add lastRun() introspection getter (#557) (5d858ca)
  • added bree to readme (94c139f)
  • added bree to readme (bee9aa0)
  • added jitter to the tasks (e82975c)
  • added maxExecutions option (07c4510)
  • added maxRandomDelay to the tasks (0559ad9)
  • added Options (259c6f0)
  • blocking io detection (27563da)
  • configurable executeTimeout for background tasks (default: no timeout) (5f46889)
  • configurable executeTimeout for background tasks (default: no timeout) (65aee63)
  • configurable logger + opt-out of the missed-execution warning (1e3d420)
  • configurable logger + opt-out of the missed-execution warning (14a5dd7)
  • day-of-month: Quartz-style W, L-n and ? modifiers (#570) (cbe379b)
  • distributed run coordination (one instance per fire across a fleet) (#549) (2ba12f1)
  • getNext added on task (7981164)
  • run task on demand or on init (3792abb)
  • support L (last day of month) in the day-of-month field (#396) (1ab9abc)
  • support extended day-of-week tokens (# nth weekday and L last weekday) (#560) (c2db9d1)
  • task introspection (getNextRuns, match, msToNext, isBusy, runsLeft, getPattern) (#547) (394e57e)
  • testing background task (8450a1a)
  • using async await and checking features, looking okay (8b8f5eb)

Fixed

  • add uuid dependency (f370a0d)
  • add uuid dependency (5d715f1)
  • background task resolution path (57a7b74)
  • badges (111e803)
  • build (e3662e7)
  • build cjs and esm (530fecc)
  • chai import (a12e1ee)
  • change getStatus() return type to string (c1dae18)
  • change getStatus() return type to string (b8b6446)
  • cleanup execution:finished listener when execute() fails (2c5141f)
  • cleanup execution:finished listener when execute() fails (fcab4de)
  • create id function making it compatible with old node version li… (ea019c7)
  • create id function making it compatible with old node version like node 16 (29d96b5)
  • crypto import (16d3a9b)
  • date parsed to 24:00 (5bed625)
  • destroy (a8d51ea)
  • destroy (3788243)
  • fixed interop of ESM and CJS on Windows (50bfc82)
  • fixed task import on Windows (7821a27)
  • get next match (c76f95e)
  • get next match (c76f95e)
  • get next match (e5d9cdd)
  • get next run (fbd6826)
  • getNextMatch returns past dates near DST boundaries (d789934)
  • getNextMatch() returns past dates near DST boundaries (657497d)
  • getNextMatch() returns past dates near DST boundaries (5fa3232)
  • gmt on node 16 (b3988ef)
  • handle GMT+0 as Z in getTimezoneGMT and fix EventEmitter ESM import (f989527)
  • import EventEmitter as a named import in the inline task (d846506)
  • import EventEmitter as a named import in the inline task (59316b9)
  • invalid value separator (0c6b8f9)
  • invalid value separator (2319e04)
  • isDayWildcard (a898e9e)
  • lint (386cb1a)
  • make test command compatible with windows shell (31b5070)
  • make test command compatible with windows shell (c5ea4b3)
  • matching with timezone (33ad7a3)
  • overlap (81053ea)
  • overlap (340eb12)
  • range with step (f9751b3)
  • removing timeZoneName from localized time (7ffaf13)
  • removing useless Object.asign (fde1746)
  • require (bc3d96b)
  • resolve getNextMatch returning past dates near DST boundaries (d175f12)
  • set max delay (1c86d20)
  • stop (9453ded)
  • stop (4523664)
  • surface real background task start errors and stop orphaned daemons (#535) (da270d2)
  • sync package-lock.json version with package.json (4.2.1) (d84e060)
  • sync package-lock.json version with package.json (4.2.1) (b806688)
  • tests (3452cfc)
  • tolerate late heartbeats so drifting timers don't skip executions (#534) (e519d6c)
  • uuid (a2c5851)

Performance

  • build: bundle dist into flat files instead of preserving modules (#566) (c80a396)
  • id: drop crypto.randomBytes from internal id generation (#564) (7c5015c)
  • pattern: parse cron expression once per TimeMatcher (#562) (dd0a2a9)
  • runner: run inline when no random delay is configured (#565) (dad56e1)
  • time: cache Intl.DateTimeFormat instances per timezone (#561) (cf69f32)
  • time: compute the GMT offset lazily (#563) (a309d5f)

Changed

  • build with Rollup (ESM + CJS + dts) and migrate tests to Vitest (d51701c)
  • build with Rollup (ESM + CJS + dts) and migrate tests to Vitest (9d9cc38)
  • drop the now-dead LocalizedTime.set and cover localTimeToTimestamp (ec785ae)
  • hoist field sorting, widen search bound, add edge-case tests (8c7eb05)
  • name the time-of-day bound check and drop the dead expressions field (9bbf599)
  • rename distributedTtl option to distributedLease (#551) (23c7849)
  • rewrite matcher-walker to infer next run from cron fields (58cabac)
  • rewrite matcher-walker to infer the next run from cron fields (74874cd)
  • src#node-cron: apply optimizations (72ff630)
  • src#node-cron: apply optimizations (f0cbe3b)
  • time-matcher: use intl date format instead of moment (5f278cb)
  • use intl.DateTimeFormat instead of moment-timezone (422fb05)

This PR was generated with Release Please. See documentation.

merencia added a commit that referenced this pull request Jun 22, 2026
The repo's release tags are `vX.Y.Z`, but release-type `node` defaults to
component-prefixed tags (`node-cron-vX.Y.Z`). release-please could not find
its `v4.5.0` baseline, walked the whole history and proposed a bogus 5.0.0
release (PR #574). Set `include-component-in-tag: false` so it tracks the
`vX.Y.Z` tags. Also drop the manual [Unreleased] section, redundant now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants