From c86d95f3999b509ae036eb33ccdd9903dc0357d6 Mon Sep 17 00:00:00 2001 From: "@dhis2-bot" Date: Thu, 21 Nov 2024 15:38:35 +0000 Subject: [PATCH] chore(release): cut 2.0.0 [skip ci] # [2.0.0](https://github.com/dhis2/multi-calendar-dates/compare/v1.3.2...v2.0.0) (2024-11-21) ### Bug Fixes * use export type ([#81](https://github.com/dhis2/multi-calendar-dates/issues/81)) ([eaa8cdb](https://github.com/dhis2/multi-calendar-dates/commit/eaa8cdb0416407ab45d0a683aae6ff97f1b55f3c)) * **useDatePicker:** fix onDateSelect type, export types ([#79](https://github.com/dhis2/multi-calendar-dates/issues/79)) ([94358d2](https://github.com/dhis2/multi-calendar-dates/commit/94358d242f5130b8e0c89fba7b89584fea144d30)) * add 'valid' property to validation result ([894e181](https://github.com/dhis2/multi-calendar-dates/commit/894e1818b261652542e6141b8bd6408c3dcc7a5e)) * remove Temporal references from hook public API and clean up use date picker ([#75](https://github.com/dhis2/multi-calendar-dates/issues/75)) ([fb31512](https://github.com/dhis2/multi-calendar-dates/commit/fb31512f25973c46d9758c02f145dbfbb2616e6c)) * update validation logic to expose error code and mirror RFF format ([001d236](https://github.com/dhis2/multi-calendar-dates/commit/001d236efc92ad98e3b0b72bf562725f64960897)) * use NepaliCalendar instance to validate dates ([9fb353a](https://github.com/dhis2/multi-calendar-dates/commit/9fb353a73b12b4fccc32dd48c2775fd57270f180)) ### 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 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 204c514..6dc2b2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,32 @@ +# [2.0.0](https://github.com/dhis2/multi-calendar-dates/compare/v1.3.2...v2.0.0) (2024-11-21) + + +### Bug Fixes + +* use export type ([#81](https://github.com/dhis2/multi-calendar-dates/issues/81)) ([eaa8cdb](https://github.com/dhis2/multi-calendar-dates/commit/eaa8cdb0416407ab45d0a683aae6ff97f1b55f3c)) +* **useDatePicker:** fix onDateSelect type, export types ([#79](https://github.com/dhis2/multi-calendar-dates/issues/79)) ([94358d2](https://github.com/dhis2/multi-calendar-dates/commit/94358d242f5130b8e0c89fba7b89584fea144d30)) +* add 'valid' property to validation result ([894e181](https://github.com/dhis2/multi-calendar-dates/commit/894e1818b261652542e6141b8bd6408c3dcc7a5e)) +* remove Temporal references from hook public API and clean up use date picker ([#75](https://github.com/dhis2/multi-calendar-dates/issues/75)) ([fb31512](https://github.com/dhis2/multi-calendar-dates/commit/fb31512f25973c46d9758c02f145dbfbb2616e6c)) +* update validation logic to expose error code and mirror RFF format ([001d236](https://github.com/dhis2/multi-calendar-dates/commit/001d236efc92ad98e3b0b72bf562725f64960897)) +* use NepaliCalendar instance to validate dates ([9fb353a](https://github.com/dhis2/multi-calendar-dates/commit/9fb353a73b12b4fccc32dd48c2775fd57270f180)) + + +### 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 + # [2.0.0-alpha.6](https://github.com/dhis2/multi-calendar-dates/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2024-11-21) diff --git a/package.json b/package.json index 84b6dd3..c28198d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/multi-calendar-dates", - "version": "2.0.0-alpha.6", + "version": "2.0.0", "license": "BSD-3-Clause", "publishConfig": { "access": "public"