Workalendar

Latest version: v17.0.0

Safety actively analyzes 638845 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 15

2.6.0

New Calendars

- Added Angola, by dvdmgl (276)

Bugfixes

- Portugal - removed carnival from Portuguese holidays, restored missing holidays (275)

Other changes

- Added All Souls Day to common (274)
- Allow the `add_working_days()` function to be provided a datetime, and returning a `date` (270).
- Added a `keep_datetime` option to keep the original type of the input argument for both ``add_working_days()`` and ``sub_working_days()`` functions (270).
- Fixed usage examples of ``get_first_weekday_after()`` docstring + in code (calendars and tests) ; do not use magic values, use MON, TUE, etc (271).
- Turned Changelog into a Markdown file (272).
- Added basic usage documentation, hosted by Github pages.
- Added advanced usage documentation.

2.5.0

- Bugfix: deduplicate South Africa holidays that were emitted as duplicates (265).
- Add the `get_working_days_delta` method to the core calendar class (260).

2.4.0

New Calendars

- Added Lithuania, by landler (254).
- Added Russia, by vanadium23 (259).

Bugfixes

- Fixed shifting ANZAC day for Australia states (249).
- Renamed Australian state classes to actual state names(eg. AustraliaNewSouthWales to NewSouthWales).
- Update ACT holidays (251).
- Fixing Federal Christmas Shift ; added a `include_veterans_day` flag to enable/disable Veteran's day on specific calendar - e.g. Mozilla's dedicated calendar (242).

Other

- **Deprecation:** Dropped support for Python 3.3 (245).
- Fixed Travis-ci configuration for Python 3.5 and al (252).
- Moved from `novafloss` to the `peopledoc` organization, the core People Doc Inc. organization (255).
- First step iteration on the "global registry" feature. European countries are now part of a registry loaded in the ``workalendar.registry`` module. Please use with care at the moment (248).
- Refactored Australia family and community day calculation (244).

2.3.1

I have done a terrible mistake with the 1.3.0 release, and uploaded a defunct 2.3.0 version... I tried to remove it from PyPI, but it failed at some point. In order to make sure that the latest version has the highest version number, I'm releasing this "dumb" version. It is equivalent to the 2.1.0 release, but at least, if you upgrade, you have all the 2.0+ niceties...

2.1.0

- Added Hong Kong, by nedlowe (235).
- Splitted `africa.py` file into an `africa/` module (236).
- Added Alabama Counties - Baldwin County, Mobile County, Perry County. Refactored UnitedStates classes to have a parameter to include the "Mardi Gras" day (214).
- Added brazilian calendar to consider working days for bank transactions, by fvlima (238).

2.0.0

- Major refactor in the USA module. Each State is now an independant module, all of the Mixins were removed, all the possible corrections have been made, following the main Wikipedia page, and cross-checking with official sources when it was possible (171).
- Added District of Columbia in the USA module (217).
- Run tests with Python3.6 in CI (210)
- Small refactors / cleanups in the following calendars: Hungary, Iceland, Ireland, Latvia, Netherlands, Spain, Japan, Taiwan, Australia, Canada, USA (209).
- Various refactors for the Asia module, essentially centered around a more convenient Chinese New Year computation toolset (202).
- Refactoring the USA tests: using inheritance to test federal and state-based holidays using only one "Don't Repeat Yourself" codebase (213).

Page 12 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.