v0.2.0
FiscalYear 0.2.0 Release Notes
This release is backwards compatible with v0.1.0, but adds several new features and fixes some minor bugs.
New Features
- New
FiscalYear.current()
andFiscalQuarter.current()
class constructors (#4) - Test dependency on
pytest-mock
has been added (#4) - New
setup_fiscal_calendar
function to change start date of fiscal calendar (#5) - Python 3.7 and 3.8 are now tested, although they always worked
The benefit of setup_fiscal_calendar
is that it validates your input. Direct modification of fiscalyear
global variables is now discouraged and support may be dropped in a future release.
Bug Fixes
- License file is now uploaded to PyPI tarball, needed for conda-forge (#7)
- Corner case where fiscal calendar starting at the end of the month could crash is fixed (#8)
Contributors
This release is almost entirely thanks to the following new contributors:
- @pmav99 opened multiple issues and submitted multiple new feature PRs
- @CurtLH added
fiscalyear
to conda-forge - @jmhansen reported a bug that could cause
fiscalyear
to crash for some fiscal calendars