Releases: workalendar/workalendar
Releases · workalendar/workalendar
Bye bye, Python 3.5
Registering Catalonia
v11.0.1 was released and published on 2020-09-11
Changes
11.0.0
v11.0.0 was released on 2020-09-04.
New calendar
- Added Mozambique calendar by @mr-shovel (#542).
New feature
Labour Day becoming an optional worldwide holiday
Release v10.4.0 has been published on 2020-08-28
New calendar
- Added Monaco calendar by @joaopbnogueira (#538).
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
withassertEqual
to clear warnings (#533). - Use
include_immaculate_conception
flag for Portugal, Brazil, Argentina, Paraguay calendars (#529).
It's New Year's Day almost everywhere
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 oneCalendar
subclass should be imported / used in calendar classes, the rest (when possible) should beMixins
(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
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
Version v10.1.0 was released on 2020-06-18
Calendar fix
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()
Sweet Swiss Chocolate
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).