Skip to content

Commit

Permalink
Merge pull request #1006 from dr-prodigy/beta
Browse files Browse the repository at this point in the history
v.0.21
  • Loading branch information
arkid15r authored Mar 6, 2023
2 parents a30688e + 996285b commit d4cfc39
Show file tree
Hide file tree
Showing 141 changed files with 7,671 additions and 5,112 deletions.
16 changes: 8 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@ Your PR description goes here.

- [ ] New country holidays support (thank you!)
- [ ] Supported country holidays update (calendar discrepancy fix, localization)
- [ ] Existing code/tests/processes improvement (best practice, refactoring, optimization)
- [ ] Existing code/test/process improvement (best practice, cleanup, refactoring, optimization)
- [ ] Dependency upgrade (version update)
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] Breaking change (a code change causing existing functionality to break)
- [ ] New feature (adds functionality to python-holidays in general)
- [ ] New feature (new python-holidays functionality in general)

## Checklist

<!--
Put an `x` in the boxes that apply. You can change them after PR is created.
-->

- [ ] I've followed the [contributing guidelines][contributing-guidelines]
- [ ] This PR is filed against `beta` branch of the repository
- [ ] This PR doesn't contain any merge conflicts
- [ ] The code style looks good (`make pre-commit`)
- [ ] I've added tests to verify that the new code works and all tests pass locally (`make test`)
- [ ] The related [documentation][docs] has been added/updated (check off the box for free if no updates is required)
- [x ] I've followed the [contributing guidelines][contributing-guidelines]
- [x ] This PR is filed against `beta` branch of the repository
- [x ] This PR doesn't contain any merge conflicts and has clean commit history
- [x ] The code style looks good (`make pre-commit`)
- [x ] I've added tests to verify that the new code works and all tests pass locally (`make test`, `make tox`)
- [x ] The related [documentation][docs] has been added/updated (check off the box for free if no updates is required)

<!--
Thanks again for your contribution!
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ repos:
- id: rstcheck
additional_dependencies: [rstcheck, sphinx]

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "0.6.1"
hooks:
- id: tox-ini-fmt

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
hooks:
Expand Down
33 changes: 33 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
Version 0.21
============

Released March 6, 2023

- Refactor `HolidayBase::get_named`, #991 (@arkid15r)
- Refactor calendars: extract to a separate module, #969 (@arkid15r)
- Refactor common.TestCase, #979 (@arkid15r)
- Refactor relative weekdays calculation: replace relativedelta, #1002 (@KJhellico)
- Fix NYSE New Year's Day observance calculation, #1000 (@KJhellico)
- Fix tox.ini typo, #994 (@mborsetti)
- Improve Argentina holidays, #988 (@PPsyrius)
- Optimize Azerbaijan observed holidays, #961 (@KJhellico)
- Optimize Malaysia observed holidays, #963 (@KJhellico)
- Optimize Nigeria observed holidays, #978 (@KJhellico)
- Update Argentina holidays. Add holidays localization: uk, #968 (@KJhellico)
- Update Chile holidays. Add localization: en_US, es, uk, #990 (@KJhellico)
- Update Ireland holidays: St. Bridget's Day, #953 (@PPsyrius)
- Update Japan holidays localization: en_US, #964 (@KJhellico)
- Update Mexico holidays, #980 (@KJhellico)
- Update PR template, #997 (@arkid15r)
- Update Saudi Arabia holidays, #962 (@KJhellico)
- Add Canada holidays localization: th, #986 (@PPsyrius)
- Add Colombia holidays localization: en_US, es, uk, #965 (@KJhellico)
- Add Monaco holidays localization: en_US, fr, uk, #966 (@KJhellico)
- Add Thailand holidays localization: en_US, th, #946 (@PPsyrius)
- Add functions for relative weekdays calculation, #989 (@KJhellico)
- Add tox-ini-fmt to .pre-commit-config.yaml, #999 (@arkid15r)
- Clean up Malaysia tests, #996 (@KJhellico)
- Clean up Thailand localization and in-line code comments, #995 (@PPsyrius)
- Clean up tests module loading, #992 (@arkid15r)
- Use the built-in library for time zone functions, #993 (@mborsetti)

Version 0.20
============

Expand Down
17 changes: 16 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ default language code is a `ISO 639-1 code`_.
- Supported languages
* - Argentina
- es
- en_US, es
- en_US, es, uk
* - Armenia
- hy
- en_US, hy
Expand All @@ -541,6 +541,12 @@ default language code is a `ISO 639-1 code`_.
* - Canada
- en
- en, fr
* - Chile
- es
- en_US, es, uk
* - Colombia
- es
- en_US, es, uk
* - Cyprus
- el
- el, en
Expand All @@ -559,6 +565,12 @@ default language code is a `ISO 639-1 code`_.
* - Japan
- ja
- en_US, ja
* - Monaco
- fr
- en_US, fr, uk
* - Peru
- es
- en_US, es, uk
* - Poland
- pl
- en_US, pl, uk
Expand All @@ -568,6 +580,9 @@ default language code is a `ISO 639-1 code`_.
* - Serbia
- sr
- en_US, sr
* - Thailand
- th
- en_US, th
* - Ukraine
- uk
- en_US, uk
Expand Down
2 changes: 1 addition & 1 deletion holidays/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
from holidays.holiday_base import *
from holidays.utils import *

__version__ = "0.20"
__version__ = "0.21"
Loading

0 comments on commit d4cfc39

Please sign in to comment.