Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update from main branch #62

Merged
merged 45 commits into from
Aug 28, 2024
Merged

chore: update from main branch #62

merged 45 commits into from
Aug 28, 2024

Conversation

kabaros
Copy link
Collaborator

@kabaros kabaros commented Aug 28, 2024

No description provided.

kabaros and others added 30 commits February 15, 2023 14:53
chore: merge alpha into beta
# [1.0.0-beta.22](v1.0.0-beta.21...v1.0.0-beta.22) (2023-02-15)

### Bug Fixes

* change build process to emit cjs and es modules ([#10](#10)) ([1102de8](1102de8))
* ensure ethiopic dates are in the correct era ([34061d9](34061d9))
* handle on-the-fly changes to selected calendar ([89f0427](89f0427))
* update useDatePicker to accept the calendar date rather than the iso one ([a65fc3d](a65fc3d))
fix: update useDatePicker hook to resolve options with hook
# [1.0.0-beta.23](v1.0.0-beta.22...v1.0.0-beta.23) (2023-02-17)

### Bug Fixes

* update useDatePicker hook to resolve options with hook ([ffa509a](ffa509a))
fix: update localisation logic for fixed period generation to make it more resilient
# [1.0.0-beta.24](v1.0.0-beta.23...v1.0.0-beta.24) (2023-02-22)

### Bug Fixes

* update localisation logic for fixed period generation ([668f6d8](668f6d8))
Merge beta branch into main to release first version of the library
# 1.0.0 (2023-02-23)

### Bug Fixes

* add eraYear to nepali calendar ([c725d96](c725d96))
* change build process to emit cjs and es modules ([#10](#10)) ([1102de8](1102de8))
* change english-nepal code to en-NP (not ne-EN) ([7e92aa4](7e92aa4))
* change getNowInCalendar to default to user timezone rather than utc ([03caf6d](03caf6d))
* change param for useDatePicker from initialDate to date ([429b2eb](429b2eb))
* change react dependency to fix issue with docusaurus build ([c58d560](c58d560))
* change react to be a peer dependency ([fbf106c](fbf106c))
* change the api for nepali calendar to accept a string ([3a51a6f](3a51a6f))
* change useWeekDayLabels to accept a custom format for day names ([0369006](0369006))
* default to user timezone or UTC if no timezone passed ([e9c34e1](e9c34e1))
* ensure ethiopic dates are in the correct era ([34061d9](34061d9))
* ensure that direction is either rtl or ltr ([4a92e91](4a92e91))
* fallback to default locale if passed a wrong locale ([785a1b9](785a1b9))
* fix period generation for Nepali ([157e6a7](157e6a7))
* force a publish ([feec6c2](feec6c2))
* force a unpublish for alpha channel ([c4bcb20](c4bcb20))
* force npm publish ([571584c](571584c))
* force npm publish ([f57733e](f57733e))
* force npm publish ([bacacf2](bacacf2))
* force npm publish ([ac2ab35](ac2ab35))
* force npm publish ([8021a97](8021a97))
* force npm publish ([d22e470](d22e470))
* force npm publish ([e5cb2ff](e5cb2ff))
* force npm publish ([39bd827](39bd827))
* force npm publish ([6f95463](6f95463))
* force npm publish ([6b7fbf3](6b7fbf3))
* force npm publish ([2ce77b3](2ce77b3))
* force npm publish ([3e43ce4](3e43ce4))
* force publish to @dhis2/multi-calendar-dates ([0bc26f1](0bc26f1))
* handle on-the-fly changes to selected calendar ([89f0427](89f0427))
* make nepali calendar default to en-NP if no valid locale provided ([a074789](a074789))
* make sure period calculation works with non-standard dhis2 calendar IDs ([7c56b1a](7c56b1a))
* put pack semantic-release config ([4ae3f4c](4ae3f4c))
* remove .only for tests ([72fa7e5](72fa7e5))
* remove .only from test ([c685e34](c685e34))
* remove test unpublish alpha ([f815e31](f815e31))
* respect startingDay for weekly period generation ([5f1196a](5f1196a))
* test npm publish ([40de24f](40de24f))
* test npm publish ([69eb402](69eb402))
* throw error if non-supported locale is passed for a custom calendar ([293db88](293db88))
* update current day selection logic to use same calendar system ([adb0dc8](adb0dc8))
* update label for financial year periods ([c13a829](c13a829))
* update labels for Financial Year period types ([f6c9b68](f6c9b68))
* update localisation logic for fixed period generation ([668f6d8](668f6d8))
* update useDatePicker hook to resolve options with hook ([ffa509a](ffa509a))
* update useDatePicker to accept the calendar date rather than the iso one ([a65fc3d](a65fc3d))
* update weekly period logic to match analytics tests ([2faf567](2faf567))
* use numberinSystem if provided ([b3e82fb](b3e82fb))

### Features

* expose a method to return today date in specific calendar ([1213b45](1213b45))
* implement first iteration of the engine ([51526db](51526db))
* implement nepali calendar ([bcb66c6](bcb66c6))
* implement nepali calendar from gregorian conversion ([4ee9173](4ee9173))
* implement period calculation special cases for ethiopic calendar ([62b3de3](62b3de3))
* implement rest of period calculations for gregrorian calendar ([9f83099](9f83099))
* implement some fixed period calculations for gregrorian calendar ([040bd8e](040bd8e))
* update period generation to add start and end date ([9adb0aa](9adb0aa))
## [1.0.1](v1.0.0...v1.0.1) (2023-03-09)

### Bug Fixes

* parse date correctly when a dhis2 calendar type is passed ([#22](#22)) ([08c8032](08c8032))
## [1.0.2](v1.0.1...v1.0.2) (2023-03-09)

### Bug Fixes

* use custom locale when it exists ([#23](#23)) ([3cfb58a](3cfb58a))
* docs: update multi-calendar documentation

Update README.md

Apply suggestions from code review

Co-authored-by: Kai Vandivier <49666798+KaiVandivier@users.noreply.github.com>

Add more examples to documentation

* chore: lint commit messages and pr titles

* docs: update according to code review

Co-authored-by: Kai Vandivier <49666798+KaiVandivier@users.noreply.github.com>

* docs: add more examples for generateFixedPeriods

* docs: reorder docs

---------

Co-authored-by: Kai Vandivier <49666798+KaiVandivier@users.noreply.github.com>
feat: merge alpha to master [skip commit-lint]
# [1.1.0](v1.0.2...v1.1.0) (2024-01-10)

### Bug Fixes

* **generate daily fixed periods:** use correct comparison for "endsBefore" ([#21](#21)) ([3cdb2be](3cdb2be))

### Features

* add createFixedPeriodFromPeriodId method ([#13](#13)) ([ef1132e](ef1132e))
* add getFixedPeriodByDate ([#14](#14)) ([9de82e0](9de82e0))
* add getSiblingFixedPeriods ([#15](#15)) ([59cb406](59cb406))
* **generate fixed periods:** add "endsBefore" option ([#20](#20)) ([6667c97](6667c97))
…#33)

* fix(deps): more flexible react versions

* chore(deps): yarn lock
## [1.1.1](v1.1.0...v1.1.1) (2024-04-08)

### Bug Fixes

* **deps:** relax peer deps requirements to avoid conflicts [LIBS-587] ([#33](#33)) ([662a3eb](662a3eb))
…hanges

The library introduced breaking changes in version 0.4.4 which break our library.
* chore(readme): trim line to 80 characters

* docs: add dev docs for new fixed-period utilities
fix: force publish Temporal version fix
## [1.1.2](v1.1.1...v1.1.2) (2024-06-17)

### Bug Fixes

* force publish Temporal pin ([e676ef5](e676ef5))
dhis2-bot and others added 15 commits June 24, 2024 08:44
# [1.2.0](v1.1.2...v1.2.0) (2024-06-24)

### Features

* add i18n/transifex support ([7c3d3af](7c3d3af))
## [1.2.1](v1.2.0...v1.2.1) (2024-06-24)

### Bug Fixes

* **translations:** sync translations from transifex (main) ([d9f6fd2](d9f6fd2))
* fix jestha 32 date on 2081

* chore(release): cut 1.1.2 [skip ci]

## [1.1.2](v1.1.1...v1.1.2) (2024-06-17)

### Bug Fixes

* force publish Temporal pin ([e676ef5](e676ef5))

* fix jestha 32 date on 2081

* fix: conflicts and include missing changes from previous commit

---------

Co-authored-by: @dhis2-bot <apps@dhis2.org>
## [1.2.2](v1.2.1...v1.2.2) (2024-06-25)

### Bug Fixes

* initialise i18n properly ([1a28c55](1a28c55))
* update Calendar Localization data for nepali calendar ([f172662](f172662))
## [1.2.3](v1.2.2...v1.2.3) (2024-06-25)

### Bug Fixes

* **LIBS-629:** default 'ne' locale to Nepali script ([9cf94d7](9cf94d7))
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## [1.2.4](v1.2.3...v1.2.4) (2024-08-07)

### Bug Fixes

* **translations:** sync translations from transifex (main) ([#48](#48)) ([e8a30f1](e8a30f1))
* date conversion nepali ([#47](#47)) ([9f5b3cc](9f5b3cc))
Copy link
Member

@alaa-yahia alaa-yahia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (alpha@a47732b). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             alpha      #62   +/-   ##
========================================
  Coverage         ?   90.93%           
========================================
  Files            ?       56           
  Lines            ?     1191           
  Branches         ?      322           
========================================
  Hits             ?     1083           
  Misses           ?      106           
  Partials         ?        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kabaros kabaros merged commit c93f789 into alpha Aug 28, 2024
6 of 7 checks passed
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 1.3.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants