All Versions
Latest Version
Avg Release Cycle
33 days
Latest Release
834 days ago

Changelog History
Page 3

  • v7.1.9 Changes

    May 13, 2018
    • ๐Ÿ›  (DayPickerInput) Fixed an error when year from input is too big (#717)
  • v7.1.8 Changes

    May 07, 2018
    • ๐Ÿ›  Fixed: tabIndex={0} was not passed to the container (#716)
    • ๐Ÿ›  (DayPickerInput) Fixed: interaction with the overlay was not working correctly on Safari or IE 11 (#715)
  • v7.1.7

    May 06, 2018
  • v7.1.6 Changes

    April 15, 2018
    • โšก๏ธ Updated to support React 17 (#696)
    • โž• Added: isSameMonth, isDate functions to DateUtils.
    • ๐Ÿ›  Fixed: month was reset when selecting multiple days (#669)
    • ๐Ÿ›  Fixed: week numbers may not be correct (#692)
    • ๐Ÿ›  (DayPickerInput) Fixed: overlay did not reset the displayed month when appearing again (#667)
    • ๐Ÿ›  (DayPickerInput) Fixed: overlay was shown even if the input was disabled (#680)
  • v7.1 Changes

    March 04, 2018


    • โž• Added: enableOutsideDaysClick prop (#585 by smesgr)
    • ๐Ÿ›  Fixed: month may be not defined in the navigation component (#607 by MhMadHamster)
    • ๐Ÿ›  Fixed: outside days were shown also when using toMonth/fromMonth (#630)
    • ๐Ÿ›  Fixed: Cannot read property 'focus' error with outside days (#646)
    • TypeScript: added more types (#618 by adidahiya)


    • ๐Ÿ‘Œ Improved: focus/blur behavior (#598 by jbarco, #579)
    • ๐Ÿ‘Œ Improved: onDayChange is called undefined when day is not valid (#647)
    • โž• Added: keepFocus prop (#598 by bartpeeters)
    • ๐Ÿ›  Fixed: use dayPickerProps.month before the input's value (#612 by kradical)
    • ๐Ÿ›  Typescript: fixed onDayChange definition (#622)

    ๐Ÿš€ > This should be the last minor release before v8.0.0. The next major version should not break existing code but as we are moving from webpack to rollup we will bump a major for safety :)

  • v7.0.7 Changes

    January 09, 2018
    • ๐Ÿ›  (DayPickerInput) Fixed: daypickerProps.onMonthChange not being called (#604 by ah-adarlow)
  • v7.0.6 Changes

    December 31, 2017
    • ๐Ÿ›  (DayPickerInput) Fixed: focusing behavior when pressing the TAB key (#594)
    • ๐Ÿ“œ (DayPickerInput) Fixed: wrong behavior with malformatted dates using the included moment parseDate function (#584 by jbarco)
    • โœ‚ Removed duplicated style from CSS (#591 by nicoffee)
  • v7.0.5 Changes

    December 03, 2017
    • ๐Ÿ›  (Typescript) Various fixes to type definitions
    • ๐Ÿ“œ (DayPickerInput) Fixed: issue parsing dates in January
    • ๐Ÿ›  Fixed: Updated month prop not updating the calendar when displaying multiple months (#580)
  • v7.0.0 Changes

    November 25, 2017

    ๐Ÿ’ฅ Breaking changes

    • enableOutsideDays prop is now named showOutsideDays
    • ๐Ÿšš if you are using DayPickerInput, we removed the moment.js dependency and changed how to pass props to the input field (upgrade is easy, see below).
    • if you are using commonjs to import the component, change your code: diff - var DayPicker = require('react-day-picker`) + var DayPicker = require('react-day-picker`).default
    • โฌ†๏ธ if you are using TypeScript and upgrading from v6.2.1 (see #533), use the default import: diff - import { DayPicker } from 'react-day-picker`; + import DayPicker from 'react-day-picker';
    • if you are using a custom CSS, consider that now the calendar table is inside a div with a .DayPicker-Months CSS class.

    โฌ†๏ธ If you find problems while upgrading, please add an issue, thanks!

    ๐Ÿ†• New features

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed: multiple months navigation not working correctly in some cases (#556 by hydrognomik)
    • ๐Ÿ›  Fixed: (Typescript) added again DayModifiers and Modifiers back to type definitions file (#526 by azhangstrata)
    • ๐Ÿ›  Fixed: (Typescript) missing default export (#533)
    • ๐Ÿ›  Fixed: (a11y) removed role="application" (#548 by trezy)


    ๐Ÿ’ฅ Breaking changes

    • The moment.js requirement has been removed, and you should use parseDate and formatDate props to parse and format the dates. If you want to keep using moment.js, your existing code should changes as follows:
        import DayPicker from 'react-day-picker/DayPickerInput'
      + import { formatDate, parseDate, } from 'react-day-picker/moment';
        function MyDayPicker() {
          return (
              placeholder="Please choose a date"
      +       formatDate={formatDate}
      +       parseDate={parseDate}

    See also this example.

    • You must pass additional props to the input component using the inputProps prop. This is not a breaking change if you are just using placeholder or value. E.g.: diff <DayPickerInput placeholder="Type a day" value={this.state.selectedDay} - onFocus={myFocusHandler} - className="my-input-css" + inputProps={{ + onFocus: myFocusHandler, + className: 'my-input-css, + }} />

    ๐Ÿ†• New features

    • ๐Ÿ†• New: inputProps prop to pass additional props to the input component
    • ๐Ÿ†• New: parseDate and formatDate props
    • ๐Ÿ†• New: inputProps prop to pass additional props to the input component
    • ๐Ÿ†• New: overlayComponent prop: useful to customize the overlay component (#477, thanks to wldcordeiro)
    • ๐Ÿ†• New: allow to change numberOfMonths, selectedDays props from dayPickerProps (#513, #531 by hydrognomik). Useful for selecting range of days (example).
    • ๐Ÿ†• New: showOverlay prop: shows the overlay at the initial rendering (useful for styling)
    • ๐Ÿ†• New: getInput and getDayPicker public methods

    • ๐Ÿ”„ Changed: clicking the Today Button will set the input value to today (#561)

    • ๐Ÿ”„ Changed: removed fixedWeek prop. Use dayPickerProps ={{ fixedWeek: true }} to restore it.

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed: some modifiers were not passed down when using a custom classNames (#517, #504 by tume)
    • ๐Ÿ›  Fixed: focus behavior on Firefox (#525 by martinmosko)
    • ๐Ÿ›  Fixed: value not updated when changed in some cases (#535)
    • ๐Ÿ›  Fixed: localization bug when using multiple languages (#509)

  • v6.2.0 Changes

    October 05, 2017

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed: an issue with React 0.14
    • ๐Ÿ›  Fixed: a console warning in React 16 (#493)
    • DayPickerInput Fix an error when format is passed as array (#502)
    • โšก๏ธ DayPickerInput Fix update when receiving new props (#495 by kradical)