Skip to content

Latest commit

 

History

History
228 lines (135 loc) · 6.55 KB

CHANGELOG.md

File metadata and controls

228 lines (135 loc) · 6.55 KB

1.1.5

Bugfixes

    • removed .git/index from npm package (this fixes #43)

1.1.4

Features

  • Added select date on double-click

Bugfixes

  • Updated moment version to fix security vulnaribility (pull request #42, thanks to Kyle)

1.1.3

Bugfixes

1.1.2

Housekeeping

  • Allowing angular 1.5 as well (pull request #34, thanks to Kyle)

1.1.1

Bugfixes

Housekeeping

  • Merged the demos into one big demo

1.1.0

Bugfixes

  • Fixed error when input are not in a form (cf2b00f)
  • Fixed date object error (7417a93)
  • Fixed bug that caused date to reset if date picker dialog was cancelled (pull request #18)
  • Fixed issues with date picker and required (pull request #16)

Features

  • Added service to configure settings globally
  • Added demo

1.0.1

Bugfixes

  • Cancelling a dialog does not leave an unhandled rejected promise flying around (thanks to Marvin Huber)

1.0.0

Breaking changes

  • Default: 24 hours time format instead of am/pm. Use mdp-ampm to switch.
  • mdp-min-date and mdp-max-date of mdp-date-picker now take either a Date object or a string formatted using mdp-format (they used to take only a string in YYYY-MM-DD format).

Features

  • Support for angular 1.6 (thanks to Andrea Vega)
  • Support for 24 hours format. This includes an attribute mdp-ampm to switch between 24/12 (disabled by default) (thanks to Matteo Gaggiano)
  • Option to set the parent element of the dialogs. This is needed for correct theme inheritance in angular-material pre 1.1.1 (see angular-material issue #525) (thanks to David Poetzsch-Heffter)
  • Possibility to specify input name via mdp-input-name in order to allow for ng-messages (thanks to David Poetzsch-Heffter)
  • mdp-min-date and mdp-max-date also allow passing a Date object (thanks to David Poetzsch-Heffter)
  • mdp-time-picker now takes validation attributes mdp-min-time and mdp-max-time which are either Date objects or strings formatted using mdp-format (thanks to David Poetzsch-Heffter)

Bugfixes

Housekeeping

  • Converted all tabs to spaces (using 4 spaces everywhere now)
  • Removed trailing whitespace

0.7.5

Minor bugfixes

0.7.4

Minor bugfixes

0.7.3

Several bugfixes

Features

  • Added mdp-disabled

Breaking changes

min and max attributes are refactored to mdp-min-date and mdp-max-date respectively and are setup as two-way binding

Features

  • Floating labels and mdp-no-float attribute
  • Directives are restricted to (A)ttribute and (E)lement
  • mdp-open-on-click attribute for open date picker by clicking on the input

0.7.1

Bugfixes and improvements

0.7.0

Bugfixes and improvements (obviously.. :))

Breaking Changes

  • mdpTimePicker and mdpDatePicker are now restricted to and Element (see demo for details)
  • Pickers will not open clicking the input, but using the button

Features

  • Button for open dialog
  • Set first day of the week by changing Moment.js localeData
  • Customize date format on date picker
  • Dialog will not close others (needs angular material >= 1.1.0rc-1)

0.6.1

Minor bugfixes and improvements

0.6.0

Breaking Changes

  • Removed Material Design Icons dependency
  • $mdpDatePicker and $mdpTimePicker now accept the date/time and an object containing the options as arguments. (see demo for more details)

Features

  • mdpDatePicker directive now accept min/max date and a filter function
<input type="date" min="2000-01-01" max="2050-01-01" mdp-date-filter="myFilterFunction" />
function myFilterFunction(date) {
    ...
}
  • Output format in mdpTimePicker and mdpDatePicker directives thorugh mdp-format attribute (see moment.js documentation for details)
<input type="text" min="2000-01-01" max="2050-01-01" mdp-format="DD/MM/YYYY" />
  • Swipe capabilities on date picker
  • Automatic switch between hours and minutes view in the time picker

0.5.2

Bugfixes

  • Corrected packaje.json file

Features

  • Added mdpTimePicker directive for input[type=time]

0.5.1

Minor bugfixes and improvements

0.5.0

Breaking Changes

  • Service $mdDatePicker is changed to $mdpDatePicker
  • Directive mdDatePicker is changed to mdpDatePicker

Features

  • Time picker
  • Dynamic year selector on date picker
  • Animations
  • Minor improvements

0.3.2

Bugfixes

  • Renamed classes names to avoid collisions with official date picker
  • Changed angular repository in bower config

Features

  • Added config provider for $mdDatePicker. Now is possible to set the labels of the dialog buttons with $mdDatePickerProvider.setOKButtonLabel(...) and $mdDatePickerProvider.setCancelButtonLabel(...)
  • Minor improvements

0.3.0

Features

  • Bower support

0.2.0

Breaking Changes

Repository name is changed to mdPickers. The goal is to have a both date and time pickers in the same module.

0.1.0

Features

  • Date picker dialog