Skip to content

Releases: workalendar/workalendar

Added Serbia and Argentina

06 Dec 09:52
0d53e75
Compare
Choose a tag to compare

The v7.2.0 was released on 2019-12-06

New calendars

Other changes

  • Update China's public holidays for 2020, thx @nut-free (#429).
  • Update Malaysia and Singapore for 2021 (Deepavali + Thaipusam) by @jack-pace (#432).
  • Small refactorings on the Gevena (Switzerland) holiday class, thx to @cw-intellineers (#420).

USA Thanksgiving Hotfix

22 Nov 11:32
0d0776e
Compare
Choose a tag to compare

The v7.1.1 has been released on 2019-11-22.

It embeds a very important hotfix for USA Thanksgiving day, which was wrongfully calculated for the year 2019. We're advising Workalendar users using USA calendars to upgrade as soon as possible.

Changes

  • Bugfix for USA: Fixed incorrect implementation for Thanksgiving Friday, thx @deveshvar (#422).
  • Fix Advanced usage documentation about Thanksgiving Day (#426).

New calendar

  • Added Geneva calendar by @cw-intellineers (#420).

Brazil revamp and Denmark fix (happy 50th)

15 Nov 13:39
eb3f5bc
Compare
Choose a tag to compare

The 7.1.0 version was released on 2019-11-15

New calendars

Enhancements

  • Added compatibility with Python 3.8 (#406).
  • Added an IBGE_REGISTER to reference IBGE (brazilian) calendars with related tests (#415).
  • Improve ISO registry interface by raising an error when trying to register a non-Calendar class (#412).

Other changes

  • Fixes and additions to some Brazil calendars ; again, thanks to @luismalta & @mileo, (#409 & #415)
  • Fix Denmark, re-add Christmas Eve, which is widely treated as public holiday ; thx to @KidkArolis, (#414).
  • Increase Malaysia coverage by adding tests for missing Deepavali & Thaipusam.
  • Increase China coverage by adding tests for special extra-holidays & extra-working days cases.

Hello Skyfielder!

20 Sep 10:27
87b0f71
Compare
Choose a tag to compare

version 7.0.0 has been released on 2019-09-20

Only one changelog entry, and not a small one:

  • Drop ephem astronomical calculation library, in favor of skyfield and skyfield-data for providing minimal data files to enable computation (#302, #348). Many thanks to @GammaSagittarii for the tremendous help on finding the right way to compute Chinese Solar Terms. Also thanks to @antvig and @DainDwarf for testing the beta version (#398).

A new era for workalendar.

Turkey hotfix

17 Sep 14:58
b6d6edf
Compare
Choose a tag to compare

v6.0.1 has been released on 2019-09-17

Fixes

  • Fix Turkey Republic Day (#399, thx to @mhmtozc & @Natim).

Plain'ol dicts in the registry

02 Aug 15:14
34d64e0
Compare
Choose a tag to compare

v6.0.0 was released on 2019-08-02

Deprecation Notice: The global ISO registry now returns plain dict objects from its various methods.

  • Global registry now returns plain built-in dicts (#375).
  • Removed EphemMixin in favor of astronomical functions (#302).
  • Added first day counting when computing working_days delta (#393), thx @Querdos.

Fixing Romania Mixins

11 Jul 12:41
25fd4de
Compare
Choose a tag to compare

v5.2.3 was released on 2019-07-11

Deprecation Warning: Currently the registry returns OrderedDict objects when you're querying for regions or subregions. Expect that the next major release will preferrably return plain'ol' dict objects. If your scripts rely on the order of the objects returned, you'll have to sort them yourself.

  • Fix Romania, make sure Easter and related holidays are calculated using the Orthodox calendar, thx to @KidkArolis (#389).

Something was buggy in the Kingdom of Denmark

07 Jul 20:35
Compare
Choose a tag to compare

v5.2.2 was released on 2019-07-07

  • Fix Denmark, remove observances (remove Palm Sunday, Constitution Day, Christmas Eve and New Year's Eve) (#387, #386)

Deprecation Warning: Currently the registry returns OrderedDict objects when you're querying for regions or subregions. Expect that the next major release will preferrably return plain'ol' dict objects. If your scripts rely on the order of the objects returned, you'll have to sort them yourself.

United Kingdom May Holidays 2020

05 Jul 12:55
Compare
Choose a tag to compare

v5.2.1 was released on 2019-07-05

  • Refactored the package building procedure, now linked to make package ; added a note about this target in the PR template (#366).
  • Fixed United Kingom's 2020 holidays ; The Early May Bank Holiday has been moved to May 8th to commemorate the 75th anniversary of the end of WWII (#381).

Deprecation Warning: Currently the registry returns OrderedDict objects when you're querying for regions or subregions. Expect that the next major release will preferrably return plain'ol' dict objects. If your scripts rely on the order of the objects returned, you'll have to sort them yourself.

Japan improvements

04 Jul 14:04
Compare
Choose a tag to compare

v5.2.0 was released on 2019-07-04

New Calendar

Other changes

  • Added adjustments to 2019-2020 Japan calendar due to the coronation of a new emperor (#379).
  • Add a note about the fact that contributors should not change the version number in the changelog and/or the setup.py file (#380).

Deprecation Warning: Currently the registry returns OrderedDict objects when you're querying for regions or subregions. Expect that the next major release will preferrably return plain'ol' dict objects. If your scripts rely on the order of the objects returned, you'll have to sort them yourself.