Releases: dhis2/multi-calendar-dates
Releases · dhis2/multi-calendar-dates
v2.0.0
2.0.0 (2024-11-21)
Bug Fixes
- use export type (#81) (eaa8cdb)
- useDatePicker: fix onDateSelect type, export types (#79) (94358d2)
- add 'valid' property to validation result (894e181)
- remove Temporal references from hook public API and clean up use date picker (#75) (fb31512)
- update validation logic to expose error code and mirror RFF format (001d236)
- use NepaliCalendar instance to validate dates (9fb353a)
BREAKING CHANGES
-
Remove Temporal references from hook public API
-
feat: remove validation details from result of useDatePicker
as they are available in exposed validate date string function
-
feat: remove calendar date from use date picker
-
refactor: remove calendarDate from onDateSelect callback
-
refactor: remove zonedDateTime from week days array
-
refactor: fix linting issues
v2.0.0-alpha.6
2.0.0-alpha.6 (2024-11-21)
Bug Fixes
v2.0.0-alpha.5
v2.0.0-alpha.4
2.0.0-alpha.4 (2024-10-09)
Bug Fixes
v2.0.0-alpha.3
2.0.0-alpha.3 (2024-10-09)
Bug Fixes
v1.3.2
v2.0.0-alpha.2
2.0.0-alpha.2 (2024-10-04)
Bug Fixes
- update validation logic to expose error code and mirror RFF format (001d236)
v2.0.0-alpha.1
2.0.0-alpha.1 (2024-10-03)
Bug Fixes
BREAKING CHANGES
-
Remove Temporal references from hook public API
-
feat: remove validation details from result of useDatePicker
as they are available in exposed validate date string function
-
feat: remove calendar date from use date picker
-
refactor: remove calendarDate from onDateSelect callback
-
refactor: remove zonedDateTime from week days array
-
refactor: fix linting issues
v1.3.1
v1.3.0
1.3.0 (2024-09-24)
Bug Fixes
- format undefined when thers is a mismatch (79b54fd)
- localise validation message in multi calendar (#61) (ead860b)
- remove unnecessary console warn (b2d795d)
Features
- expose function to convert dates (622f0eb)
- expose function to convert dates (9d42640)
- expose methods for converting between iso8601 and calendars (#37) (33fa25d)
- reararnge memorized variables so that we only recompute them when necessary (b754dcc)
- support min & max date, DD-MM-YYYY date format (#36) (3b2e57e)
- validation: add and expose validateDateString utility (cb4c919)