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

Update holidays to 0.21 #338

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link

@pyup-bot pyup-bot commented Mar 6, 2023

This PR updates holidays from 0.9.10 to 0.21.

Changelog

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)

0.20

============

Released February 23, 2023

- Add localization support, 827 (arkid15r, bkthomps, dragoon)
- Introduce `HolidayBase::_is_leap_year()`, 886 (arkid15r)
- Introduce `HolidayBase::_is_monday` - `HolidayBase::_is_sunday` helper methods, 841 (arkid15r)
- Refactor Burundi holidays, 925 (KJhellico)
- Refactor Cuba holidays, 927 (KJhellico)
- Refactor HolidayBase class and utils, 815 (arkid15r)
- Refactor common.TestCase, 926 (arkid15r)
- Refactor days offset calculation for recently added countries, 924 (KJhellico)
- Refactor days offset calculation: replace `relativedelta` with `timedelta` (tests), 901 (arkid15r)
- Refactor days offset calculation: replace `relativedelta` with `timedelta`, 900 (arkid15r)
- Refactor implicit returns, 935 (arkid15r)
- Add Panama holidays, 916 (KJhellico)
- Localize ascii incompatible countries, 955 (arkid15r)
- Change holiday name separator from ", " to "; ", 922 (arkid15r)
- Fix Hong Kong, 928 (KJhellico)
- Fix Islamic holidays calculation, 914 (KJhellico)
- Fix Thailand related changes coverage decrease, 942 (arkid15r, PPsyrius)
- Fix Ukraine tests, 943 (KJhellico)
- Fix readthedocs.io build, 973 (arkid15r)
- Improve Thailand holidays, 929 (PPsyrius, arkid15r, KJhellico)
- Optimize Botswana observed holidays, 932 (KJhellico)
- Optimize Burundi observed holidays, 933 (KJhellico)
- Optimize Montenegro: observed holidays, 908 (KJhellico)
- Optimize Ukraine observed holidays, 934 (KJhellico)
- Optimize observed holidays, part 1, 949 (KJhellico)
- Optimize observed holidays, part 2, 952 (KJhellico)
- Update Albania observed holidays, 950 (KJhellico)
- Update Australia holidays: fix 2020 QLD holidays, 923 (arkid15r)
- Update Bolivia holidays, 910 (KJhellico)
- Update Bosnia and Herzegovina holidays, 909 (KJhellico)
- Update Canada holidays (add National Day for Truth and Reconciliation in British Columbia), 951 (KJhellico)
- Update Jamaica holidays, 913 (KJhellico)
- Update PR template, 960 (arkid15r)
- Update Poland holidays, add uk localization, 947 (KJhellico)
- Update dev/test environments, 930 (arkid15r)
- Upgrade dependency: change black version from 22.12.0 to 23.1.0, 921 (arkid15r)
- Upgrade pre-commit config: mypy v1.0.1, 970 (arkid15r)
- Add GitHub pull request template, 911 (arkid15r)
- Add International Women's Day for DE-MV, 936 (alexanderschulze)
- Add Marshall Islands (ISO-3666-1 code MH), 937 (mborsetti)
- Add Northern Mariana Islands (ISO-3666-2 code US-MP), 939 (mborsetti)
- Add United States Minor Outlying Islands (ISO-3666-2 code US-UM), 940 (mborsetti)
- ISO 3166-1 for US subdivisions, 941 (mborsetti, dr-prodigy)
- Rename dev env setup target, 944 (arkid15r)
- Suppress warnings for tests, 945 (arkid15r)

0.19

============

Released January 30, 2023

- Copyright update 2023
- Added Arkadii Yakovets (arkid15r) to project collaborators / maintainers - welcome!
- Add supported countries tests 878 (arkid15r)
- Update tox configuration 881 (arkid15r)
- Use augmented assignment statements 890 (arkid15r)
- Clean up timedelta/relativedelta usage 892, 894 (arkid15r)
- Add Albania initial support 895 (arkid15r)
- Add Andorra initial support 896 (arkid15r)
- Add Bahrain initial support 888 (arkid15r)
- Add Montenegro initial support 897 (arkid15r)
- Add San Marino initial support 898 (arkid15r)
- Add Vatican City initial support 904 (arkid15r)
- Add Monaco holidays 877 (KJhellico)
- Migrate prophet.hdays countries 887 (arkid15r)
- Dominican Republic fix Corpus Christi holiday, tests refactoring 906 (KJhellico)
- Japan: substitute holidays and citizens' holidays calculation 879 (KJhellico)
- Singapore holidays update 880 (KJhellico)

0.18

============

Released December 27, 2022

- Code refactoring 801, 870 (arkid15r)
- Test refactoring / common functions 800, 830, 844 (arkid15r)
- Pre-commit reviews 786, 795 (KJhellico, arkid15r, dr-p)
- Import cleanup, flake8 settings review 792 (arkid15r, KJhellico, dr-p)
- PyMeeus for equinox and solstice calculation 828, 863 (Nalguedo)
- Easter holidays refactoring and unification 803 (KJhellico)
- Observed holidays calc optimizations 824 (KJhellico)
- Special holidays refactoring for 13 countries 796 (arkid15r, KJhellico)
- Support for Indonesia 787 (KJhellico)
- Support for Pakistan 847 (KJhellico)
- Support for Armenia 875 (KJhellico)
- Korea renamed to South Korea 797 (arkid15r)
- Azerbaijan: refactoring 859 (KJhellico)
- Hong Kong: optimizations 786 (KJhellico)
- Korea fixes 791 (KJhellico) + test optimizations (dr-p)
- Zambia: optimizations and refactoring 798 (KJhellico)
- Vietnam: optimizations and refactoring 799 (KJhellico)
- Malaysia: optimizations, refactoring and fixes 802, 858 (KJhellico)
- New Zealand: optimizations and refactoring 836 (KJhellico)
- Chile: optimizations 834 (KJhellico) + fixes 828 (Nalguedo)
- Uruguay updates 809 (KJhellico)
- Kazakhstan updates 829, 867 (KJhellico)
- Canada fixes 811 (jasonjensen)
- Nigeria updates 823 (KJhellico)
- NY Stock Exchange updates 817, 853 (SnowX65, KJHellico)
- New Zealand optimizazions 872 (KJhellico)
- Madagascar updates 818 (KJhellico)
- Paraguay updates 819 (KJhellico)
- United Kingdom updates 840 (KJhellico)
- South Africa: optimizations and updates 820, 848 (KJhellico)
- US updates 857 (KJhellico)
- Switzerland: optimizations, fix 821 (KJhellico)
- Angola: optimizations, fix 822, 835 (KJhellico)
- India updates 825 (KJhellico)
- NY Stock Exchange updates 833 (SnowX65, KJhellico)
- Hungary fixes 826 (KJhellico)

0.17.2

==============

Released November 23, 2022
- Swaziland deprecation warning fix 794 (arkid15r)

First release (0.17) November 13, 2022

- 100% test coverage, code refactoring 747, 749 (arkid15r)
- Special holidays (one-off) support 724 (arkid15r, dr-p)
- Support for Bosnia and Herzegovina 683, 725 (kasya, arkid15r)
- Support for Liechtenstein 650, 728, 758 (kasya, arkid15r)
- Added isort to pre-commit 722, 734 (arkid15r, dr-p)
- Get item multiple return type fix (dr-p) TODO: possible refactor required
- Sort overlapping holiday names 713 (kasya, arkid15r)
- Supported country / financial lists fix 764 (arkid15r)
- Various refactorings 777 (arkid15r)
- Various refactorings 756, 759, 760, 766, 767, 770, 775, 776, 780 (KJhellico)
- Portugal improvements 753 (Nalguedo)
- Brazil improvements 761, 592 (Nalguedo)
- Uruguay improvements 758 (kasya)
- Hong Kong improvements 779, 782 (poshingchu)
- Swaziland deprecation, replaced by Eswatini 721 (bkthomps)
- Norway, Sweden rework 771 (arkid15r)
- South Africa rework 773 (KJhellico)
- Singapore fixes 717, 726, 754, 782 (amas01, mborsetti, kasya, poshingchu)
- Canada fixes 715, 733 (bkthomps, MichaelThessel)
- Honduras fixes 720, 744 (bkthomps, arkid15r)
- Japan upgrades (added substitute holidays) 723 (shohirose)
- Malaysia fix 736, 782 (shahonseven, poshingchu)
- Ukraine fixes 743, 746 (KJhellico)
- Bulgaria fixes 748 (KJhellico)
- Isle of Man fix 762, 764 (arkid15r)
- Lithuania fix 781 (Nalguedo)
- Sweden fix 783 (sander-visser, KJhellico)

0.16

============

Released September 16, 2022

This release is dedicated to Queen Elizabeth II (21 April 1926 – 8 September 2022),
who lived her long life as a monarch through 2 centuries, in both happy and difficult moments,
with grace, dignity and an always inspiring strong sense of duty and warm heart.
Goodbye "Lilibet", you have symbolically been a queen, a mother and a grandmother
to a lot of us, and will be dearly missed.

- Financial market support review, new method financial_holidays(..) 694 (dr-p)
- Support for Moldova 695 (Thedand)
- Support for Bolivia 679, 698 (kasya)
- UK updates 702 (JPunter, violuke)
- Australia updates 699 (Ryan-McCrory, dr-p)
- Canada updates 710 (bkthomps)
- New Zealand updates 708, 709 (dr-p, markhoneth)
- NYSE updates 693, 696 (kasya)

0.15

============

Released August 21, 2022

- Added support for Python3.11 (dr-p)
- Updated README - improved badges area (dr-p)
- Support for Cuba 678 (bthompson, dr-p)
- Typechecking implementation, first release (HolidayBase, utils, some sample countries) 661 (dimbleby)
- Test coverage improvement 633 (akosfurton, dr-p)
- Drop support for UK subdivisions as countries (England, Scotland..) (dr-p)
- Drop support for IsleOfMan as UK subdivision (dr-p)
- Drop support for PortugalExt (ie: extended Portugal) (dr-p)
- US fixes 675 (arkid15r)
- Colombia fixes & test improvements 676 (bkthomps)
- Venezuela fixes & test improvements 677 (bkthomps)
- Canada fixes 579 (dr-p, scubaandre)
- Ukraine refactoring 681 (kasya)
- Italy update 689 (g-gg, dr-p)
- Bump pre-commit and setup-python actions 672, 682, 686, 688 (dr-p)
- Doc example fix 685 (steakhutzeee, dr-p)

0.14.2

==============

Released June 5, 2022

- Drop support for EOL Python 3.6 328 (hugovk, dr-p)
- Package review 662 (dimbleby)
- Added financial markets support: ECB and NYSE, list_supported_financial() method (dr-p)
- Support for NY Stock Exchange 651, 458 (nadime, dr-p)
- Support for Malta 612, 630 (rafelbev)
- Support for Madagascar 656 (fav007)
- Support for Cyprus 410, 665 (digidestination, avnigo)
- Ireland as standalone country 636, 639 (TeoTN, dr-p, javicalle)
- Australia fixes 631 (jeremychrimes)
- Singapore updates 652 (mborsetti)
- Saudi Arabia fixes 642 (OsaydAbdu)
- Spain fixes 634 (javicalle)
- US fixes 648 (dashdrum)
- Greece fixes 659 (tudorvaran)
- India doc fixes 657 (dr-p)
- Poland fix 663 (kfsz)

0.13

============

Released February 15, 2022

- New subdivision parameter (subdiv), prov/state deprecation 608, 597, 374 (mborsetti)
- CountryHoliday class deprecation (replaced by country_holidays) (mborsetti, dr-p)
- Sphinx documentation 600, 601, 602 (mborsetti)
- Integration of mypy in pre-commit 620 (mborsetti)
- Wrong year expansion fix 586, 606, 625 (mborsetti, TeejMonster, dr-p)
- Refactoring / cleanups / code and naming reviews (mborsetti)
- Support for Uzbekistan 593 (slako, dr-p)
- Italy fixes/improvements 617, 614 (energywave)
- Spain improvements 580, 603, 624 (gtrabanco, delaosa, dr-p)
- UAE updates (weekend change) 609 (marcomasulli, dr-p)
- India updates 548 (mborsetti)
- US fixes 594, 595, 619 (apicht, SudoRob, dr-p)
- UK fixes 587 (mborsetti)
- Russia fixes 582 (Enzokot)
- Type hints fixes 589 (mborsetti)

0.12

============

Released January 4, 2022

- Copyright update 2022
- Sphinx documentation stub (mborsetti, dr-p)
- Support for Kazakhstan 534 (chiuczek, intelliHugh)
- Support for Azerbaijan 540 (eldar-mustafayev)
- Support for Tunisia 543 (ihebski)
- Support for Taiwan 547 (ifurther)
- Support for North Macedonia 570 (tserekh)
- Support for Ethiopia 558 (tedtad, dr-p)
- Travis CI removal 557 (mborsetti, dr-p)
- CD/CI tests - Pypi versions review (dr-p)
- More useful __repr__ and __str__ 360 (dr-p, kootenpv, d33tah)
- Drop support for Czech (ie: misspelled Czechia) (dr-p)
- Drop support for Polish (ie: misspelled Poland) (dr-p)
- Drop support for Slovak (ie: misspelled Slovakia) (dr-p)

- Test coverage improvement (dr-p)
- "country" property moved to class attributes 573 (dr-p, madphysicist)
- Date slices support fix 529, 530 (justinwaf, mborsetti, dr-p)
- Dictionary changed during iteration fix 569 (mborsetti)
- Doc fixes 549 (canute24)
- UK standalone states deprecation 566 (dr-p)
- Venezuela ISO code + other fixes 567, 576 (Skatox, dr-p, antusystem)
- Canada updates and test review 533, 536 (cturra)
- US updates and fixes 537, 559, 578 (khawley, evohnave, amelkiy, dr-p)
- India fixes 553, 554, 539 (canute24, dr-p)
- Spain fixes 555 (tserekh)
- Italy fixes 546 (dr-p, rtraverso86)
- Korea fixes 535 (0xF4D3C0D3)
- Colombia fixes 564 (jahirfiquitiva)

0.11.3.1

================

Released September 29, 2021

- Support for Zambia 495, 496 (engineervix)
- Support for Uruguay 489, 490, 491, 492, 493 (jemazzeo, dr-p)
- Support for Lesotho 512 (pietervdw115)
- Support for Namibia 513 (pietervdw115)
- Support for Swaziland 514 (pietervdw115)
- Support for Zimbabwe 517 (pietervdw115)
- Support for China 515 (tserekh)
- Refactor lunisolar and islamic calendar 524 (mborsetti)
- Removed six dependency 494 (mborsetti)
- Type hinting 497, 498 (mborsetti)
- Malaysia refactoring & updates 524 (mborsetti)
- New Zealand updates 499 (36wish)
- USA, Angola fixes (jusce17)
- Kenya updates 502 (MainaKamau92)
- Korea updates 508 (0xF4D3C0D3, dr-p)
- Bulgaria updates 509 (BasakUlker, dr-p)
- Australia updates 516 (cmckeague)
- South Africa updates (lispwarez, dr-p)
- Canada updates 457 (dr-p)
- PRTE (PortugalExt) fix 520 (dr-p)
- Norway updates 472 (dr-p)
- Chile updates 473 (dr-p)
- Australia updates 525 (jeremychrimes)
- README iso codes typo / improvements 520 (dr-p)
- .gitattributes fix 522 (mborsetti)

0.11.2

==============

Released July 18, 2021

- Support for Venezuela 470 (antusystem, dr-p)
- Support for Botswana 477 (pietervdw115)
- Support for Malaysia 466 (jusce17) *needs improvement*
- Poland fix 464 (m-ganko)
- Singapore updates for 2022 456 (mborsetti)
- US updates 474, 488 (ChristianAlexander, jusce17)
- NG updates 486 (pietervdw115)
- UK updates 487 (orrock, dr-p)
- .gitignore fix 462 (TheLastProject)
- Pre-commit v.2.0.3 (dr-p)

0.11.1

==============

Released April 2, 2021

- Github Actions CI/CD integration (s-weigand, dr-p)
- Support for Saudi Arabia 429 (OsaydAbdu)
- Support for Curacao 431 (RaychelM, dr-p)
- Support for Jamaica 433 (edyarm, dr-p)
- Support for Georgia 435 (Okroshiashvili, dr-p)
- __init.py__ flake8 issue fix 423 (dr-p)
- Korea 2020 fix 414, 415 (dr-p, janggiKim, spar7453)
- Singapore fix for multi-year 419 (mborsetti)
- Israel fix 442 (giladmaya)
- Japan fix 445 (osoken)
- Serbia fix 446 (kosugor)
- United Kingdom get_list fix 448 (bletham)
- Singapore fix for multi-year 419 (mborsetti)
- Fixed holidays pickling 451 (giladmaya)

0.10.5.2

================

Released February 4, 2021

- Dropped support for Python 2 (dr-p)
- Removed convertdate<=2.2.0 constraint (dr-p)
- Travis CI integration review (dr-p)
- Support for Mozambique (jusce17)
- Angola fixes (jusce17)
- Portugal localized holidays (jusce17)
- Disable year expansion on name search 411 (giladmaya)
- Israel fixes (new convertdate version) 407 (giladmaya)
- Ireland fixes (ISO-2 code, partial split from UK) 417 (javicalle)
- Honduras fix (ISO-2 code) 405 (dr-p, agorajek)

0.10.4

==============

Released December 6, 2020

- Dropped support for Python 3.5
- Support for Djibouti (Abdisamade)
- Support for United Arab Emirates (marcomasulli, mborsetti)
- Support for Chile (mborsetti, dr-p)
- Support for Angola (jusce17, pietervdw115, dr-p)
- Support for Malawi (pietervdw115)
- Support for Bangladesh (dr-p, tasnimislam)
- Korea fixes (MYUNGJE, dr-p, hiddentrap)
- Australia 2020 fix (bencollerson, trauty-is-me)
- Croatia fixes and updates (jangrg, mborsetti, dr-p)
- United States fixes (raffg, bgmiles, dr-p)
- UK fixes/improvements (dr-p, richard-kunert, emreay-)
- Russia fixes (tserekh)
- Ireland fixes (chiuczek)
- Spain observed holidays fix (sermayoral)
- South Africa observed holidays fix (pietervdw115)
- France fix (mborsetti)
- Mexico fix (mborsetti)
- Singapore 2022 fix (mborsetti)
- Japan 1990-1993 fixes (sakurai-youhei)
- Fix on occasional pop_named exception (mborsetti)
- convertdate fallback if hijri-converter not available (mborsetti, dr-p)
- enabled Travis tests for python3.9 (mborsetti)
- added flake8 to unittests (mborsetti)

0.10.3

==============

Released July 15, 2020

- Added get_named(substring) method to retrieve holidays by name (dr-p)
- Added pop_named(substring) method to pop specific holiday/s by name (samtregar, dr-p)
- Support for Burundi (bmwachajr)
- Support for Latvia (rolandinsh)
- Support for Romania (dorianm)
- Spain fix (dr-p)
- Netherlands fix (RooieRakkert)
- Switzerland fixes (cgrigis)
- Germany fix (MikeTsenatek)
- Added korean_cal attribute to Korea and Vietnam (seriousran, pelennor)
- United States fixes (patrick-nicholson, dr-p)
- Singapore fixes + 2021 holidays (mborsetti)

0.10.2

==============

Released April 13, 2020

- Support for Spain (piliamaurizio, jbroudou, dr-p, gerardo15)
- Support for Turkey (cemkaragozlu)
- Support for Korea (1kko, dr-p)
- Support for Vietnam (1kko, dr-p)
- Support for Morocco (abensrhir, dr-p)
- Mexico fix (Rosi2143, dr-p)
- Croatia fix (sebojanko, dr-p)
- US Georgia fix (jbroudou, dr-p)
- Austria province ISO3166-2 adoption (jbroudou, dr-p)
- Portugal typos & name fixes (reinaldoramosarxi)
- US MLK renamed (snoopyjc, dr-p)
- ISO-3 codes export fix (dr-p)

0.10.1

==============

Released January 25, 2020

- Project structure refactoring (MaxHaertwig, dr-p)
- Added support for Python3.8 (dr-p)
- Dropped support for pypy and Python3.4, welcome back pypy3 (dr-p)
- Fully reviewed Travis CI integration (dr-p)
- Added 3-digit country ISO codes (MaxHaertwig)
- Support for Paraguay (dr-p, sfeliu)
- Support for Israel (giladmaya, dr-p)
- Support for Egypt (gaberm)
- Support for Serbia (kosugor)
- Support for Singapore (mborsetti)
- README.rst fixes / sync
- Brazil-Parana support (dr-p, jbroudou)
- Japan fixes (dr-p, thophan92, saurabh3896)
- Canada, Spain, US fixes (jbroudou)
- Belarus fix (mpolyakovsky)

0.9.12

==============

Released December 23, 2019

- Support for Nigeria (ioluwayo)
- Support for India - Telangana (kiranbeethoju, dr-p)
- Support for Dominican Republic (gabmartinez)
- Support for Nicaragua (CARocha)
- Code refactoring, bugfixes (vlt)
- Add method to list all supported countries (fabaff)
- Germany bugfixes (bitraten)
- Correctly handle United Kingdom "May Day" holiday in 2020 - 219 (robfraz)
- Hungary fixes (gypapp)
- Chile test fixes (rpanai)
- Italy fixes (jokerigno, sixbladeknife)
- Other minor fixes

0.9.11

==============

Released July 28, 2019

- Added Japanese holidays for new Emperor (kokinamura)
- Fixed Australian Canberra day holiday (explodingdinosaurs, dr-p)
- Added support for Estonian holidays (RaulVS14)
- Added support for Iceland and Kenya (justinasfour04)
- Added support for Aruba (orson1282)
- Added support for Hong Kong (polifaces)
- Added support for Peru (manuelvalino)
- Switzerland fixes (spasche)
- Croatia fix (pave121, dr-p)
- Polish deprecation: replaced by Poland (dr-p)
- Czech(ia) - Slovak(ia) fixes (dr-p)
- Allow passing years to CountryHoliday (mr.shu)
Links

@pyup-bot pyup-bot mentioned this pull request Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant