Skip to content

Releases: umakantp/react-date-range

2.2.0

Choose a tag to compare

@umakantp umakantp released this 31 Dec 08:46

Added

  • Touch support.

Changed

  • Bug fix: Moving to next month, hovering the date took the user back to selected dates.
  • Validate date input (typing) for being within min and max date range.

2.1.1

Choose a tag to compare

@umakantp umakantp released this 29 Dec 12:04

Removed

  • showSelectionPreview prop: Removed from docs. It is not supported already.

Changed

  • maxDate and minDate limits are followed for start/end date time given by user.
  • pre-defined ranges now show up basis maxDate and minDate props.

2.1.0

Choose a tag to compare

@umakantp umakantp released this 27 Dec 19:23

Changed

  • Upgrade dependencies: date-fns 3.0.6, react 18.2.0, react-dom 18.2.0, webpack 5.89.0, react-styleguidist 13.1.1, css-loader 3.6.0, style-loader 1.3.0 and many other including postcss, eslint, babel, prettier...etc.
  • BREAKING: New version only supports React 18 version and upwards.
  • Changed repo name to scoped @umakantp since we cannot use the original one.
  • Use npm instead of yarn.
  • Migrated unit tests to React Testing Library.
  • Import all date-fns functions since individual imports not working.
  • Fixed bug of default locale which led to errors.
  • Fixed workflow files

Added

  • Typescript types.
  • @testing-library/react 14.1.2 - To migrate tests.