Skip to content

Releases: mui/material-ui-pickers

v1.0.1

28 Oct 16:41
Compare
Choose a tag to compare

Thanks for 3 contributors that made this release possible

Here are some highlights ✨:

  • Fix missing tslib dependency
  • Fix common typescript errors
  • Improve bundle size by removing prop types and treeshakable classes

Fixes

  • Fix missing tslib de
  • Fix a bug with white border if localized dialog actions are too wide
  • Fix not updating component on initialFocusedDate change

v1.0.0

25 Oct 07:52
Compare
Choose a tag to compare

Hey ho!

1.0.0 release is here 🎉
We are happy to proceed with the stable version. Thanks for every user of this package 👍

We have a lot of changes for you there.
Big thanks to 7 contributors especially @TrySound and @rosskevin for their awesome work! 🔥

Breaking changes

-import MuiPickersUtilsProvider from 'material-ui-pickers/utils/MuiPickersUtilsProvider'
+import MuiPickersUtilsProvider from 'material-ui-pickers/MuiPickersUtilsProvider'

Features

  • Rewrote codebase in typescript @rosskevin
  • Opt in to es module build @TrySound
  • Update to material-ui@3.3.1
  • Make inline pickers dispatch onChange before close
  • Fix alignment of today button in IE11 @ahce

v1.0.0-rc.17

30 Sep 18:42
Compare
Choose a tag to compare

This extra release fixes problems with esm module, which caused cannot read property date of undefined error. We apologize for any inconvenience 😔

This release also contains improvement for keyboard navigation in inline datepicker

v1.0.0-rc.15

28 Sep 19:43
Compare
Choose a tag to compare

Big thanks to the 6 contributors who made this release possible!
It contains many bug fixes 🐛 , documentation improvements and update to material-ui 3.1.1

Breaking changes

We are now relying on ^material-ui/core@3.1.1

Changes

  • Make a lot improvements in build systems and dependency resolving. We saved 3kb 🚀 @TrySound
  • Make possible to pass pipe prop to MaskedInput @mckernanin
  • Fix formatting of dates on the docs @joebandenburg
  • Remove redundant import from v8 @Jtango18
  • Fix proptypes error when using React.createRef
  • Fix missing initialFocusedDate in typescript typings
  • Fix ref property for inline pickers
  • Adjust validation for min/max rules - now they are not relying on current date time and compares end date for maxDate prop and start of day for minDate

v1.0.0-rc.14

30 Aug 11:32
c09f244
Compare
Choose a tag to compare

Good day! We have a lot of good news for you! 🥇

Breaking changes

  • Updated to date-fns@2.0.0-alpha.16, so date-fns users must update.
    P.S. If you cannot update you can still use utils/date-fns-utils-old for compatibility
  • We have reorganized a lot of files so if you are using some internal components, directory may
    be changed
- import Calendar from 'material-ui-pickers/DatePicker/Calendar';
+ import Calendar from 'material-ui-pickers/DatePicker/components/Calendar';

Features

We are announcing new displaying mode - Inline popover view. This should be very useful for desktop experience. 🚀
2018-08-28 15 47 58

import { InlineDatePicker } from 'material-ui-pickers/DatePicker';

<InlineDatePicker
  label="Basic example"
  value={selectedDate}
  onChange={this.handleDateChange}
/>

Fixes / Enhancements

  • Fix transKey prop type warning 😱
  • Update @babel/runtime to much material-ui version and update whole babel to v7
  • Increase coverage to > 80% 🎉
  • Fix not working animateYearScrolling with openToYearSelection #565
  • Fix clipping component vertically on small screens

v1.0.0-rc.13

19 Aug 12:33
Compare
Choose a tag to compare

Good day! We apologize for long break with such critical changes :(
But we are ready to move on and big thanks to 6 contributors, that worked hard on this release 🚀

Breaking changes

  • container prop was removed, now use new DialogProps property to pass container to dialog
- <DatePicker container={...} />
+ <DatePicker DialogProps={{ container: ... }} />

Fixes / enhancmenents

  • Add new DialogProps property
  • Fix not working 24hours mode @sakulstra
  • Migrate to react-transition group v2 to reduce bundle size @sakulstra
  • Fix not displaying arrow icons in IOS safari
  • Improve finding closest enabled date algorithm @Philipp91
  • Fix warning on duplicate keys with luxon utils @jarib
  • Fix not applying materail-ui font-family change to days components

v1.0.0-rc.12

27 Jul 13:50
Compare
Choose a tag to compare

Thanks so match to 7 contributors, that makes this release possible! You are the best ❤️
And we are mostly near the 1.0.0 release 🚀

Breaking changes

N/A

Features

  • New awesome set of material design animations for all pickers (check the video here)
  • New onInputChange prop, which fires on each input change
  • New initialFocusedDate prop to make ability display initial date @mcMickJuice
  • New container prop to add ability change the modal container @aleliberty
  • New mergeDateAndTime method in utils that adds ability to more slightly control time selection @Philipp91
  • New ViewContainerComponent prop for DateTimePicker @Philipp91
  • Move all text field formats to utils instances, that will make ability to override text field formats globally
  • UMD bundle coming material-ui-pickers/dist/material-ui-pickers.umd.min.js @TrySound

Enhancmenents

  • Update to babel 7 and improve bundle size @TrySound
  • Reexport props interfaces from index modules [typescript]
  • Add new moment localization example in docs @josephMG

Fixes

  • Fix freezings on FireFox
  • Fix incorrect format keys for default luxon utils.

v1.0.0-rc.11

03 Jul 12:53
36d3b3d
Compare
Choose a tag to compare

Big thanks to 3 contributors ❤️

This release will fix all major issues with masked input.
And also we done great improvement in test coverage 🚀

Breaking changes:

N/A

Features

N/A

Fixes

  • Fix not registering input with react-text-mask@5.4.2
  • Fix not working keyboard input if null passed
  • Fix not applying validation with empty not validated input
  • Fix not passing onBlur handler to TextFieldComponent.

v1.0.0-rc.10

13 Jun 08:30
844796d
Compare
Choose a tag to compare

We apologize for long break between releases. But we have done a lot inside ⭐️

Big thanks to 6 contributors, that makes this release possible ❤️
Here is what's changed:

Breaking changes

We have redone forwarding refs logic with the new React's api. So no more pickerRef prop

<DatePicker
- pickerRef={node => { this.picker = node }}
+ ref={node => { this.picker = node }}
/>

Features

  • We have moved from inheritance to composition and providing our internal hoc for using any pickers sub-component (read more here) @dmtrKovalenko
  • Accept date on text field blur instead of on any successful parse. @LastDreamer
  • Introduce new TimePicker view with seconds. Use seconds prop @baig
  • Switched to new lifecycle components #422
  • Accept react components for messages and labels #387
  • Allow to disable keyboard event listener by setting allowKeyboardControl to false.

Fixes

  • Make calendar keyboard event listener disabled by default if its used not under modal #412
  • Fix that autoOk prop break keyboard input #432
  • Fix not applying disabled effect for keyboard button if textfield disabled #452
  • [ts] Fix missing onKeyDown typescript property for DateTextFieldProps @ahmad Ilaiwi
  • [ts] Fix missing todayLabel and showTodayButton for pickers props @tjaskula

v1.0.0-rc.9

15 May 19:17
208a987
Compare
Choose a tag to compare

This release is actually support of material-ui rc.0. Thanks 2 contributors, that support this release ❤️
Here is what's changed:

Breaking changes

Since this version material-ui-pickers depends on @material-ui/core instead of material-ui. Please update to the most recent material-ui version

Features

  • Use React 16.3 context api, that fixes blocking of updates by any outer component with scu implemented #383

Fixes

  • Fix utils typings for typescript import luxon and moment #406
  • Add support of material-ui rc.0 imports. @retyui