v0.3.0
FiscalYear 0.3.0 Release Notes
This release is backwards compatible with v0.2.0, but adds several new features and deprecations.
New Features
- New
FiscalMonth
andFiscalDay
classes (#11, #12, #13, #14) - Uploaded wheels to PyPI
- Switched from Travis CI to GitHub Actions
- Added flake8 and black style checking
- Various improvements to documentation
Deprecations
quarter
,prev_quarter
, andnext_quarter
are now deprecated, please usefiscal_quarter
,prev_fiscal_quarter
, andnext_fiscal_quarter
instead.
The goal of this deprecation is to bring consistency to the class attributes. datetime
already has builtin year
, month
, and day
attributes, so we have to use fiscal_year
, fiscal_month
, and fiscal_day
for the fiscal versions in FiscalDateTime
. Might as well use fiscal_quarter
too.
There is still quite a bit of inconsistency in the return types of these attributes. They may change in the future.
Contributors
This release is almost entirely thanks to the following new contributor:
- @nicmendoza added
FiscalMonth
,FiscalDay
, and documentation for these classes