npm / react-js-cron
react-js-cron
What changed in react-js-cron 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
7 breaking1 new APIs and options5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-js-cron 613 changes
Breaking changes 7
The minimum peer dependency is now Ant Design 6.0.0, up from 5.8.0.
The all-wildcard cron value is now considered empty and triggers an error with allowEmpty='never' or the default 'for-default-value'; set allowEmpty='always' to preserve previous behavior.
The package now uses an exports map, so bundlers resolve only declared entry points; direct dist imports are discouraged in favor of the package name.
The minimum peer dependency is now React 18.0.0; React 19 is supported but not required.
The CommonJS direct dist import path changes from react-js-cron/dist/cjs/index.js to react-js-cron/dist/index.cjs.
The direct type declaration import path changes from react-js-cron/dist/index.d.ts to react-js-cron/dist/index.d.mts.
The ESM direct dist import path changes from react-js-cron/dist/esm/index.js to react-js-cron/dist/index.mjs.
New APIs and options 1
Per-dropdown allowEmpty configuration is now available.
Fixes and other changes 5
Using the clear button no longer errors with the default allowEmpty setting.
Removes redundant right padding from custom select content, fixing its styling.
A bug causing an infinite re-render loop with dropdownsConfig is fixed.
Round-tripping */N notation is fixed for large step intervals.
Period detection now respects defaultPeriod and allowedPeriods.