Skip to content

Releases: Vuepic/vue-datepicker

v12.0.5

17 Nov 19:02
463a5d4

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with menu re-rendering while in the open state (#1192)
  • FIxed issue where de-selecting multi-dates breaks time object (#1194)
  • Fixed issue with menu not opening when centered prop is enabled by @alexpopovme (#1195)
  • Fixed issue with calendar days shifting depending on the OS timezone (#1198)

🔧 Refactor

  • boolean HTML attributes are removed from DOM when the value is false (#1191)

v12.0.4

12 Nov 21:17
193e117

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue where multi-calendars navigation in inline mode remounts calendar on position update (#1183)
  • Fixed issue where end time resets on range date select (#1184)
  • Fixed wrong type definition for action-row slot props (#1185)
  • Fixed issue where "blur" event is being emitted on every click outside (#1186)
  • Fixed issue where clearing text-input value with auto-apply emits an empty string (#1187)
  • Fixed issue where auto-apply on range select doesn't close the menu (#1188)
  • Fixed wrong type for updateTime function in time-picker slot (#1189)
  • Fixed issue where setDateOnMenuClose triggers update:model-value to be emitted on every click outside (#1190)

v12.0.3

07 Nov 18:30
a729f12

Choose a tag to compare

🐛 Bug Fix

  • (Regression) Fixed wrong types for text-input format property and proper parsing based on the provided value (#1181)

v12.0.2

05 Nov 18:39
aa72d8b

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue where overlay-toggle event is not emitted on month/year open (#1175)
  • Fixed issue where v-model value set externally not working in the disabled or readonly state (#1176)
  • Make all types exported (#1179)

v12.0.1

03 Nov 19:49
53b37d0

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue where text-input format pattern not propely inheriting default value from formats (#1172)
  • Fixed issue where selecting more that one date in multi-dates mode throws an error (#1173)

v12.0.0

02 Nov 19:27
8680cdf

Choose a tag to compare

⚠️ Breaking changes

This release includes a lot of internal refactor and a lot of breaking changes.

Please take a look at the migration guide

🚀 Features

  • Added option to add calendard instance in setMonthYear exposed function (#1120)
  • Added option to hide menu arrow (floating prop) (#1089)
  • Added option to change inputmode (#1149)
  • Added option to set custom input id (input-attrs prop) (#1163)
  • Added @invalid event that propagates oninvalid from the input field (#1127)
  • Added input masking on text-input alpha stage , tnx to @apsisxcoder (#1131)
  • Added support for rounding the value on now button (action-row prop) (#1138)

🐛 Bug Fixes

  • Fixed issue where time values in the overlay are not reacting to v-model change (#1108)
  • Fixed issue with time increment when picking from non-DST to DST date (#1112)
  • Fixed issue with being unable to use auto-apply when partialRange is enabled (#1113)
  • Fixed issue where Increasing calendar width makes the inline time picker not centered (#1117)
  • Fixed issue where maxRange and minRange are not working in year-picker mode (#1123)
  • Fixed issue where mobile swipe causes an unwanted selection of dates in the calendar (#1124, #1169)
  • Fixed issue where auto-apply closes the picker when using flow with range (#1125)
  • Fixed issue where start-date is not working in quarter-picker mode (#1133)
  • Fixed issue where events range-start and range-end are not emitted when the time is updated (fixes #1142)
  • Fixed positioning issue on smaller screens with preset-dates enabled (#1144)
  • Fixed issue with wrong week numbers from 2027 (#1147)
  • Fixed isue where auto-apply not selecting range in quarter-picker mode (#1166)

🔧 Other

  • Use @floating-ui/vue for menu positioning instead of custom positioning logic
  • Use @vueuse/core: onClickOutside and unrefElement instead of copied logic
  • Use @date-fns/tz for timezone calculations instead of basic custom implementation
  • Documentation website source code is moved under repository and updated
  • Full type support throughout the library
  • Root types are auto generated

v11.0.3

17 Oct 17:56
e04bb5b

Choose a tag to compare

🐛 Bug Fixes

  • Fixed wrong aria-label calendar cell from aria-pressed to aria-selected by (#1102) @sahilrajthapa
  • Fixed issue where you can't type date when text-input and auto-apply are enabled (#1106) by @JoaoPedroAS51
  • Fixed issue with disabled-dates function not working in year-picker mode (#1107) by @sahilrajthapa
  • Fixed wrong css variable on time picker arrow icon (#1109) by @ayrtonandino
  • Fixed issue with selectable months if year is out of range in month-picker mode (#1145) by @spider-hand
  • Removed extra padding from the input when clearable is set to false (#1150) by @Amirkian2023
  • Fixed missing value and text props in year slot when using the month-picker mode (#1154) by @mayswind
  • Fixed a11y typo in aria-selected logic for range end dates (#1167) by @brandonlavello

v11.0.2

16 Mar 16:26
b59683e

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with the disabled-dates function not being called in month-picker mode (#1070)
  • Fixed issue where month-picker is unable to select month when allowed-dates prop is provided (fixes #1075)
  • Fixed issue where @internal-model-change is not being emitted when model-auto is enabled (#1077)
  • Fixed issue where allowPreventDefault and allowStopPropagation config options are not applied on the esc key (#1079)
  • Fixed issue with auto-apply not working with text-input (#1080)
  • Fixed issue with entering date past 1970 with the text-input in range mode (#1084 by @amazy) (#1082)
  • Fixed issue with severe memory leak (#1099 by @sahilrajthapa) (#1083)
  • Fixed type issue with aria-labels properties not being all optional (#1085)
  • Fixed issue with Arabic short weekdays localization (#1088 by @lmetdaoui) (#1087)
  • Fixed issue with missing app context when doing pre-render (#1094 by @chocolateimage) (#1092)

v11.0.1

09 Jan 23:22
efcecf3

Choose a tag to compare

🐛 Bug Fixes

  • Fixed issue with increased bundle size in v11 (#1069)
  • Fixed issue with swipe on the calendar not working

v11.0.0

07 Jan 17:56
d71488b

Choose a tag to compare

⚠️ Breaking Changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

For more info, take a look at the migration guide

🚀 Features

  • Allow preset-dates value to be computed when clicked 11bd8bc (#1031) by @ayrtonandino
  • Added prop always-clearable 94ff47d (#1033) by @Georglider
  • Added option escClose to the text-input configuration object (#1038)
  • When min or max range config is provided, the calendar will auto-disable dates out of range (#1039)
  • Custom onClickOutside function now receives the second param of type PointerEvent (#1040)
  • Exposed isDisabled to month-year slot props 19a1bbd (#1056) by @vukadinFE

🐛 Bug Fixes

  • Fixed issue with incorrect handling of allowed-dates in month-picker and year-picker modes (#1035, #1047)
  • Fixed issue where the start time is not reset on value reset (#1048)
  • Fixed invalid calendar cell id (#1051)
  • Fixed typescript error from wrongly exposed property (#1053)
  • Fixed issue with the wrong year format on the first week in week-picker mode (#1055)
  • Fixed issue where clicking DST date from outside DST and active timezone increments by an hour (#1059)
  • Fixed issue with being unable to scroll over the calendar without selecting the date on iOS touch devices (#1061, #1066)
  • Fixed typescript error due to missing type export InternalTime 724027e (#1062) by @davidglezz