Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

Latest commit

 

History

History
99 lines (74 loc) · 4.69 KB

CHANGELOG.md

File metadata and controls

99 lines (74 loc) · 4.69 KB

Changelog

  • Final version
  • Same as previous beta version but without beta dist tag

5.0.0-beta.2

  • Change export names

5.0.0-beta.1

  • Update dependencies
  • Update dependencies
  • Internal: no longer require to use Object.assign
  • Fix: a bug where changes in config properties were not being detected
  • Add: Support for inline mode

4.0.0 (breaking)

  • Change:
    • Component now sets the v-model value in same format as specified in config, previously it was moment string 2017-10-02T06:14:35.665Z but now it should follow the format; for example if format is DD/MM/YYYY then v-model will be like 22/10/2017
    • input-class prop has been removed, you can always use Vue.js inbuilt class binding
      <date-picker v-model="date" class="custom-input"></date-picker>
    • Similarly name, id, placeholder and required props has been removed, you can still specify any number of attributes on component
      <date-picker v-model="date" name="date-of-birth" id="js-date" placeholder="Select date" aria-required="true"></date-picker>
  • Revert: prevent double dp-change event
    • This was preventing date-picker to update DOM
  • Fix: use as plugin
  • Chore: generate two dist file.
  • Change: dist folder is no longer part of repo. it means bower no longer supported.
  • Fix: prevent double dp-change event
  • Add: Emit all available events
    • You can receive the events like this
    <date-picker v-model="date" @dp-hide="onHide"></date-picker>
  • Change: DatetimePicker.vue file name to component.vue
    • This may be breaking for users who were directly importing .vue file
  • Add: Ability to pass component name when used a plugin
  • Fix: Handle false value and convert them to null, #4
  • Fix: stopped working in non module environment, #1
  • Fix: set dp to null upon destroy
  • Fix: UglifyJS issue
  • New way to use as plugin, old is deprecated, see updated example
  • Add id prop
  • Rollback importing css, component is no longer importing any css
    • This also applies when using this package as plugin Vue.use()
  • Expose install method, so that now you can use this package as a plugin

2.0.0 (breaking)

  • Rename input-name prop to name

1.2.0

  • Add validation on value prop

1.1.0

  • Reactive configs

1.0.1

  • Specify eonasdan-bootstrap-datetimepicker as dependency rather than peerDependencies

1.0.0

  • Initial release