Skip to content

Latest commit

 

History

History
178 lines (121 loc) · 6.97 KB

CHANGELOG.md

File metadata and controls

178 lines (121 loc) · 6.97 KB

Changelog

react-js-cron follows Semantic Versioning 2.0.0.

5.0.1

  • Fix dropdownsConfig filterOption prop not working for months and week-days.

5.0.0

  • (Breaking change!) Fix issue #60: react-js-cron now only support antd >= v5.8.0, use "suffixIcon" instead of deprecated "showArrow" for Select component

4.1.0

  • (New feature) Issue #36: Dropdowns specific configuration (mode, allowClear, filterOption, ...)
  • Fix dropdowns popover style

4.0.0

  • (Breaking change!) Fix issue #55: react-js-cron now only support antd >= v5.5.0, change antd Select property "dropdownMatchSelectWidth" to "popupMatchSelectWidth"

3.2.0

  • Add themes support for antd v5 with ConfigProvider (@nefedov-dm)

3.1.0

  • Export converter (@useafterfree)

3.0.1

  • (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

3.0.0

❌ Do not use this release, broken build ❌

2.1.2

  • Fix issue #31: Fix cron parsing accepting incorrect values

2.1.1

  • Fix issue #30: Fix invalid expression parsing with multiple ranges

2.1.0

  • (New feature) Issue #28: Add an extra param in setValue function to always know the selected period

2.0.0

  • (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

1.4.0

  • (New feature) Issue #22: Add the possibility to choose a single selection mode

1.3.1

  • Fix disabled mode broken since antd 13.0
  • Fix issue #15: Fix double setValue function call that prevents changing value

1.3.0

  • (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

1.2.1

  • 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

1.2.0

  • (New feature) Issue #3: Add the possibility to translate alternative labels
  • Fix typo in README

1.1.1

  • 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

1.1.0

  • (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

1.0.8

  • 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

1.0.7

  • 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

1.0.6

  • 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

1.0.5

  • 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

1.0.4

  • Add a prop to humanize the value
  • The value should not be changed using humanizeLabels

1.0.3

  • 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

1.0.2

  • 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

1.0.1

  • Update README image example for npm

1.0.0

  • Initial release of the library