react-js-cron
follows Semantic Versioning 2.0.0.
- Fix
dropdownsConfig
filterOption
prop not working for months and week-days.
- (Breaking change!) Fix issue #60: react-js-cron now only support antd >= v5.8.0, use "suffixIcon" instead of deprecated "showArrow" for Select component
- (New feature) Issue #36: Dropdowns specific configuration (mode, allowClear, filterOption, ...)
- Fix dropdowns popover style
- (Breaking change!) Fix issue #55: react-js-cron now only support antd >= v5.5.0, change antd Select property "dropdownMatchSelectWidth" to "popupMatchSelectWidth"
- Add themes support for antd v5 with ConfigProvider (@nefedov-dm)
- Export converter (@useafterfree)
- (Important) Issue #40: Antd v5 compatibility
- (Breaking change!) Fix issue #35: react-js-cron now only support antd >= v4.23.0, change antd props dropdownClassName
- Fix issue #41: Fix broken build with react-js-cron v3.0.0
❌ Do not use this release, broken build ❌
- Fix issue #31: Fix cron parsing accepting incorrect values
- Fix issue #30: Fix invalid expression parsing with multiple ranges
- (New feature) Issue #28: Add an extra param in setValue function to always know the selected period
- (Breaking change!) Issue #19: Remove CSS import in Cron component to support Next.js. It's now required to manually import "react-js-cron/dist/styles.css" file!
- (Breaking change!) Issue #22: periodicityOnDoubleClick is not ignored anymore when single mode is active
- (New feature) Issue #22: Automatically close a dropdown when single mode is active and periodicityOnDoubleClick is false
- (New feature) Issue #28: Add the possibility to restrict visible dropdowns and periods
- (New feature) Issue #22: Add the possibility to choose a single selection mode
- Fix disabled mode broken since antd 13.0
- Fix issue #15: Fix double setValue function call that prevents changing value
- (New feature) Issue #12: Add the possibility to deactivate the double click feature
- Fix antd automatic tree-shaking not working in many cases (Missing Select import)
- Fix to allow equal min and max range values
- Fix issue #6: Display problem for Selects with antd 4.10.0
- Fix placeholder color that should not be gray but black as the value
- (New feature) Issue #3: Add the possibility to translate alternative labels
- Fix typo in README
- Fix issue #2: antd Select cannot work when using Cron component
- Add dependencies version in README
- Add link in README to story for clear button action management
- (Breaking change!) Drop support of antd version anterior to 4.6.0 due to change on rc-virtual-list
- (Breaking change!) Fix period change not handling new value, changing period now change the value
- Add the possibility to choose clear button action, empty or fill-with-every
- Fix issue #1 Styling of popovers breaks with latest antd version
- Fix a problem with the onBlur function not triggered by Select component
- Fix antd automatic tree-shaking not working in many cases
- Fix double-click wrong output
- Rewrite the entire cron converter to support some missing cron expressions
- Fix typo in peer dependencies
- Improve read-only mode by hiding week days or month days if not needed
- Improve rendering problems caused by the new responsive management
- Fix locale update not changing some labels
- Rename setError to onError to improve naming
- Update README API section
- Add @reboot to the supported shortcuts
- Change leading zero prop type to be easy to use
- Fix missing locale property for clear button text
- Fix no-prefix class on period field
- The default period should only be read once
- Fix double margin-bottom on fields
- Prevent select dropdown to overlap window by changing dropdown popup direction
- Update demo links in README
- Fix regression on multiple detection
- Add a prop to choose a clock format, 12-hour clock or 24-hour clock
- Fix bug with multiple on months and week days
- Fix display of dropdown options when leadingZero is active
- Update README to add features info and usage
- Improve responsive design management
- Add support for cron shortcuts by default
- Update hooks dependencies to prevent multiple re-render
- Support import with an alias
- Update README image with new features
- Add a prop leadingZero to add a '0' before number lower than 10
- Add a prop to make the component read only
- Add a prop to disable the component
- Set day as default period
- Add missing support for mixing week days with month and month days
- Rename some locale properties to fix typos
- Fix typo in jqCron name
- Add a prop to humanize the value
- The value should not be changed using humanizeLabels
- Fix bug when the input string contains duplicates
- Clear button should have a margin-bottom in case of a break line
- Add prop to humanize labels for week days and months
- Add a prop 'allowEmpty' to choose how the component handles the default value
- Add a prop 'defaultPeriod' used when the default value is an empty string
- Empty string and invalid string should not change the value
- Fix a bug accepting string like '5-0'
- Fix infinite loop for bad string like '*/0' or '1-2/0'
- Always use 0 for Sunday
- Fix a bug when using 0 for Sunday
- Fix bug that caused the impossibility to unselect last value
- Style modification to display errors correctly over antd default style
- Update peerDependencies to add minimal versions
- Improve custom select onClickOption function
- Fix typo in README
- Update README image example for npm
- Initial release of the library