Skip to content

Releases: gpbl/react-day-picker

v9.0.0-beta.1

28 May 11:39
94d53c7
Compare
Choose a tag to compare

About DayPicker 9 beta

Version 9 is the next major version of React DayPicker, currently in development.

See http://react-day-picker.js.org/next for the updated documentation and a complete changelog. Please note the documentation is still a work in progress.

Help Testing this Version

Please report any issues or provide feedback on theGitHub Discussions page. We welcome feedback about the upgrade process to ensure it's smooth for everyone.

What’s New

  • Requires React 18+
  • New HTML structure based on div grids instead of tables
  • Updated style system with new CSS variables, CSS classes and selectors
  • Enhanced accessibility to complies with WCAG 2.1 AA
  • Updated typings - now DayPicker works in strict mode
  • Improved rendering performance, e.g. with multiple months
  • Updated custom components system, with new components and props
  • Removed the useInput hook (refer to the documentation for alternatives)

Breaking Changes

Upgrading to v9 will require some changes in your code. See the upgrading guide for more information.


Full Changelog: v8.10.1...v9.0.0-beta.1

v8.10.1

16 Apr 01:11
9a25636
Compare
Choose a tag to compare

What's Changed

  • build: fix Preact support by externalizing JSX runtime by @pwolfert in #2076
  • build: remove unused useIsomorphicLayoutEffect module by @pwolfert in #2077
  • fix(types): improved props for RootContext componet @zakbutcher in #2073

New Contributors

Full Changelog: v8.10.0...v8.10.1

v8.10.0

23 Dec 10:34
01b8e91
Compare
Choose a tag to compare

What's Changed

New Features

  • feat: support for date-fns 3.0 by @gpbl in #2003

Fixes

  • fix(types): cannot find module types/Matchers by @jerodfritz in #1964
  • fix(types): firstWeekContainsDate to be only Monday or Thursday by @gpbl in #2004
    • Note: this prop now supports only the value 1 (Monday) and 4 (Thursday) instead of values from 0 to 6. This change may break your type-check.

Docs Udpates

New Contributors

Full Changelog: v8.9.1...v8.10.0

v8.9.1

18 Oct 11:45
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • fix(types): PropsWithChildren not compatible with React 17 by @binhpv in #1947

Build

  • build(types): add missing Locale imports by @gpbl in #1948
Updated dependencies
  • build(deps-dev): bump @rollup/plugin-terser from 0.4.3 to 0.4.4 by @dependabot in #1939
  • build(deps-dev): bump @adobe/css-tools from 4.0.1 to 4.3.1 by @dependabot in #1941
  • build(deps-dev): bump webpack from 5.88.2 to 5.89.0 by @dependabot in #1940
  • build(deps-dev): bump @types/react-dom from 18.2.7 to 18.2.13 by @dependabot in #1945

New Contributors

Full Changelog: v8.8.3...v8.9.1

v8.9.0

14 Oct 16:41
Compare
Choose a tag to compare

What's Changed

  • feat: support for nonce, lang, title global attributes by @gpbl in #1924
  • feat: new custom components "Months" by @pawelgoc in #1917
  • feat: new --rdp-selected-color CSS variable for text of selected days by @gpbl in #1931

Updated internal dependencies

Details
  • chore(build): update dependencies by @gpbl in #1913
  • build(deps-dev): bump postcss from 8.4.27 to 8.4.29 by @dependabot in #1905
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.61.0 to 5.62.0 by @dependabot in #1904
  • chore(docs): add strict mode to website by @gpbl in #1911
  • build(deps-dev): bump @types/node from 18.15.13 to 20.6.5 by @dependabot in #1916
  • build(deps-dev): bump rimraf from 5.0.1 to 5.0.5 by @dependabot in #1918
  • build(deps): bump focus-trap-react from 10.2.1 to 10.2.2 by @dependabot in #1919
  • build(deps-dev): bump postcss from 8.4.30 to 8.4.31 by @dependabot in #1921
  • build(deps-dev): bump @types/node from 20.6.5 to 20.8.3 by @dependabot in #1925
  • build(deps-dev): bump @rollup/plugin-commonjs from 25.0.4 to 25.0.5 by @dependabot in #1929
  • build(deps-dev): bump eslint from 8.50.0 to 8.51.0 by @dependabot in #1928
  • build: remove allowSyntheticDefaultImports requirement by @gpbl in #1926
  • build(deps): bump clsx from 1.2.1 to 2.0.0 by @dependabot in #1927

New Contributors

Full Changelog: v8.8.2...v8.8.3

v8.8.2

12 Sep 11:45
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • fix(a11y): remove redundant rowgroup role from tbody element by @gpbl in #1907

Other

Dependencies Updates
  • build(deps-dev): bump rollup-plugin-dts from 5.3.0 to 5.3.1 by @dependabot in #1889
  • build(deps-dev): bump jest and @types/jest by @dependabot in #1888
  • build(deps-dev): bump @testing-library/dom from 9.3.0 to 9.3.1 by @dependabot in #1886
  • build(deps-dev): bump tslib from 2.5.0 to 2.6.2 by @dependabot in #1891
  • build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.28.1 by @dependabot in #1892
  • build(deps-dev): bump @types/react from 18.0.38 to 18.2.21 by @dependabot in #1897
  • build(deps): bump focus-trap-react from 10.1.1 to 10.2.1 by @dependabot in #1898

New Contributors

Full Changelog: v8.8.1...v8.8.2

v8.8.1

18 Aug 10:44
Compare
Choose a tag to compare

What's Changed

  • fix: range not selected when missing the from value by @Sam-Apostel in #1876
  • fix: dropdown may navigate to the wrong month when multiple months are set by @gpbl in #1884
  • docs: remove shadow-dom from examples by @gpbl in #1817

Build updates

Toggle list
  • build(deps): bump @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.11 by @dependabot in #1813
  • build: move from yarn to pnpm by @gpbl in #1816
  • build: move the main package to the repo root by @gpbl in #1827
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.61.0 by @dependabot in #1829
  • build(deps-dev): bump webpack from 5.83.1 to 5.88.1 by @dependabot in #1837
  • build(deps-dev): bump date-fns from 2.29.3 to 2.30.0 by @dependabot in #1801
  • build(deps-dev): bump tsc-alias from 1.8.6 to 1.8.7 by @dependabot in #1841
  • build(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #1845
  • build(deps-dev): bump jest and @types/jest by @dependabot in #1840
  • build(deps-dev): bump eslint-plugin-jest from 27.2.1 to 27.2.3 by @dependabot in #1836
  • build(deps-dev): bump jest-axe from 7.0.1 to 8.0.0 by @dependabot in #1850
  • build(deps-dev): bump webpack from 5.83.1 to 5.88.2 by @dependabot in #1851
  • build(deps): bump @codesandbox/sandpack-react from 2.6.1 to 2.6.9 by @dependabot in #1849
  • build(deps-dev): bump postcss from 8.4.23 to 8.4.27 by @dependabot in #1859
  • build(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #1861
  • build(deps-dev): bump tough-cookie from 4.1.2 to 4.1.3 by @dependabot in #1862
  • build(deps-dev): bump @jest/types from 29.5.0 to 29.6.1 by @dependabot in #1857
  • build(deps-dev): bump @rollup/plugin-terser from 0.4.1 to 0.4.3 by @dependabot in #1858
  • build(deps-dev): bump @types/react-dom from 18.2.6 to 18.2.7 by @dependabot in #1869
  • build(deps-dev): bump postcss from 8.4.23 to 8.4.27 by @dependabot in #1868
  • build(deps-dev): bump eslint-config-prettier from 8.8.0 to 9.0.0 by @dependabot in #1867
  • build: prepublish script typo in package.json by @trabeast in #1883
  • build(deps-dev): bump tslib from 2.5.0 to 2.6.1 by @dependabot in #1880
  • build(deps-dev): bump @rollup/plugin-commonjs from 25.0.0 to 25.0.4 by @dependabot in #1881
  • build(deps-dev): bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 by @dependabot in #1879

New Contributors

Full Changelog: v8.8.0...v8.8.1

v8.8.0

19 Jun 12:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.7.1...v8.8.0

v8.7.1

12 Apr 11:16
Compare
Choose a tag to compare

What's Changed

  • fix: cannot extend DayPickerProps, DataAttributes interface by @gpbl in #1755

Full Changelog: v8.7.0...v8.7.1

v8.7.0

09 Apr 15:21
Compare
Choose a tag to compare

What's Changed

  • feat(rendering): add id, data- attributes to the root element by @gpbl in #1745
  • feat(style): add CSS variable for caption font size by @7PH in #1703
  • feat(style): uppercase weekday name by @gpbl in #1746
  • fix(a11y): empty table header when showing week numbers by @gpbl in #1712
  • fix(i18n): caption buttons inverted when using RTL direction and multiple months by @gpbl in #1744
  • docs: update range mode documentation @jorostoyanov in #1717

New Contributors

Full Changelog: v8.6.0...v8.7.0