Skip to content

v0.3.0

Compare
Choose a tag to compare
@adamjstewart adamjstewart released this 14 Jan 23:13
f9b3bd2

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 and FiscalDay 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, and next_quarter are now deprecated, please use fiscal_quarter, prev_fiscal_quarter, and next_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