Skip to content

Releases: workalendar/workalendar

Bye bye, Python 3.5

02 Oct 12:38
b735988
Compare
Choose a tag to compare

v12.0.0 was released on 2020-10-02

  • Deprecation: Dropped support for Python 3.5. As of this version, workalendar now requires Python 3.6+ (#330).
  • Improve coverage of Singapore calendar (#546).

Registering Catalonia

11 Sep 15:13
47de8bd
Compare
Choose a tag to compare

v11.0.1 was released and published on 2020-09-11

Changes

  • Add ISO code decorator to Catalonia calendar, thanks to @jbagot (#551).
  • Improve coverage of South Africa calendar (#546).
  • Improve coverage of Brazil calendar (#546).
  • Improve coverage of Canada (Nunavut) calendar (#546).
  • Improve coverage of Israel calendar (#546).

11.0.0

04 Sep 14:20
a6e257c
Compare
Choose a tag to compare

v11.0.0 was released on 2020-09-04.

New calendar

New feature

  • Added iCal export feature, initiated by @joooeey (#197).
  • Fix PRODID pattern for iCal exports: "PRODID:-//workalendar//ical {__version__}//EN", using current workalendar version (#543).

Labour Day becoming an optional worldwide holiday

28 Aug 12:35
34ca7ce
Compare
Choose a tag to compare

Release v10.4.0 has been published on 2020-08-28

New calendar

Major changes and bugfixes

  • Migrating Labour Day as a worldwide holiday, disabled by default, but activated (to date) for about 50 countries (including label change when necessary), contributing.md documentation amended (#467).
  • Bugfix: Avoid Cesar Chavez Day duplicated shifts by refactoring the California shift rules (#528).

Other changes

  • Small refactoring for the Colombia / added docstrings & comments to explain why we're not using stock options. Added tests for year 2020 and handling shift exceptions (#509).
  • Tech: Replace occurrences of assertEquals with assertEqual to clear warnings (#533).
  • Use include_immaculate_conception flag for Portugal, Brazil, Argentina, Paraguay calendars (#529).

It's New Year's Day almost everywhere

10 Jul 08:31
5ac9848
Compare
Choose a tag to compare

v10.3.0 was released on 2020-07-10

Bugfixes

  • Belarus: removing day after Radonitsa, which is apparently not a holiday.
  • Algeria: assigning the week-end days as FRI+SAT, as it's following a Islamic calendar.

Other changes

  • Refactoring the core Calendar classes / mixins for better understanding. Only one Calendar subclass should be imported / used in calendar classes, the rest (when possible) should be Mixins (related to #511).
  • Declaring the New year's Day as a worldwide holiday, with only two exceptions (to date): Israel & Qatar (#511).
  • Fixed contributing.md documentation with the new class/mixin organization (#511).

Bugfix World Cup: Brazil 1 - 1 Croatia

26 Jun 15:59
d834d52
Compare
Choose a tag to compare

v10.2.0 was released on 2020-06-26 - it's a bugfix release.

Bugfixes

  • Setting Consciência Negra day as a non-holiday by default for Brazilian calendars, thx to @edniemeyer (#516).
  • Introducing the changes in Croatia holidays as of 2020 - Remembrance Day, Independence Day, Statehood Day... thx to @davidpodrebarac for the bug report (#515).

Lithuanian's new holiday

18 Jun 10:12
a8ac908
Compare
Choose a tag to compare

Version v10.1.0 was released on 2020-06-18

Calendar fix

  • Adding All Souls' Day to Lithuania calendar, starting of 2020, thx to @norkunas (#512).

Minor changes

  • Small fixes (docstrings, use of extends, etc) on Cayman Islands calendar (#507).
  • Moving Carnaval / Mardi Gras / Fat Tuesday calculation into the workalendar.core module, because it's used in at least 3 countries and some States / Counties in the USA.

Breaking Change: no more IsoRegistry.get_calendar_class()

05 Jun 09:11
20e4551
Compare
Choose a tag to compare

v10.0.0 was released on 2020-06-05.

Major API change

  • BREAKING CHANGE: the IsoRegistry.get_calendar_class() method has been removed from the code and should no longer be used (#375, #495).

Sweet Swiss Chocolate

02 Jun 08:22
caadba5
Compare
Choose a tag to compare

v9.2.0 was released on 2020-06-02

New Calendars

  • Added rules for all Switzerland Cantons (Aargau, Appenzell Innerrhoden, Appenzell Ausserrhoden, Bern, Basel-Landschaft, Basel-Stadt, Fribourg, Geneva, Glarus, Graubünden, Jura, Luzern, Neuchâtel, Nidwalden, Obwalden, St. Gallen, Schaffhausen, Solothurn, Schwyz, Thurgau, Ticino, Uri, Vaud, Valais, Zug & Zurich), branching off the initial work by @brutasse (#497).

Bugfixes in Israel & Hong-Kong calendars

22 May 12:42
8d06a41
Compare
Choose a tag to compare

v9.0.1 was released on 2020-05-22

Bugfixes

  • Making the Israel calendar more efficient (#498).
  • Fixing duplicated holidays in Hong-Kong and Hong-Kong Bank holiday calendars (#496).
  • Integrating Hong-Kong holidays for 2021 (#496).