Skip to content

chore(master): release 6.0.0#85

Merged
xrutayisire merged 2 commits intomasterfrom
release-please--branches--master--components--react-js-cron
Apr 3, 2026
Merged

chore(master): release 6.0.0#85
xrutayisire merged 2 commits intomasterfrom
release-please--branches--master--components--react-js-cron

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 2, 2026

🤖 I have created a release beep boop

6.0.0 (2026-04-03)

⚠ BREAKING CHANGES

Peer dependency requirements

Dependency v5 v6
Ant Design (antd) >= 5.8.0 >= 6.0.0
React >= 16.8.0 >= 18.0.0 (React 19 supported, not required)

React 19 is not required. This library works with both React 18 and React 19. You do not need to upgrade to React 19 to use react-js-cron v6.

* * * * * now treated as empty

* * * * * is now considered an empty value. With allowEmpty='never' or the default 'for-default-value', all-wildcard cron values will trigger an error. Set allowEmpty='always' to preserve previous behavior. Per-dropdown allowEmpty is also now available via dropdownsConfig. (#89)

Migration: import paths

Standard imports are unaffected — these work exactly as before:

import Cron from 'react-js-cron'
import { Cron, converter } from 'react-js-cron'
import 'react-js-cron/styles.css'

If you import directly from dist/ paths, you must update:

Old path (v5) New path (v6)
react-js-cron/dist/cjs/index.js react-js-cron/dist/index.cjs
react-js-cron/dist/esm/index.js react-js-cron/dist/index.mjs
react-js-cron/dist/index.d.ts react-js-cron/dist/index.d.mts
react-js-cron/dist/styles.css react-js-cron/dist/styles.css (unchanged)

The package now uses an exports map, so bundlers will only resolve the declared entry points. Direct dist/ imports are discouraged — use the package name instead. (#84)

Features

  • treat * * * * * as empty and add per-dropdown allowEmpty in dropdownsConfig (#89) (1b7ba7c)
  • v6.0.0 — full dependency modernization (#84) (ce47fbc)

Bug Fixes

  • cron: prevent infinite re-render loop with dropdownsConfig (#86) (df4965a)
  • respect defaultPeriod and allowedPeriods in period detection (#87) (41a797d)
  • round-trip */N notation for large step intervals (#88) (d069ff0)

This PR was generated with Release Please. See documentation.

@github-actions github-actions Bot force-pushed the release-please--branches--master--components--react-js-cron branch 3 times, most recently from 7145210 to b9df655 Compare April 3, 2026 00:28
@github-actions github-actions Bot force-pushed the release-please--branches--master--components--react-js-cron branch from b9df655 to d325958 Compare April 3, 2026 01:37
Add detailed peer dependency requirements table (antd, React, Node),
clarify React 19 is supported but not required, and include import
path migration guide for users of deep dist/ imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@xrutayisire xrutayisire merged commit 6ea8057 into master Apr 3, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Apr 3, 2026

🤖 Created releases:

🌻

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.

1 participant