Skip to content

Commit 5e794a3

Browse files
committed
chore: Update changelog
1 parent 460fffa commit 5e794a3

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

docs/changelog.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,34 @@ Changelog
33
=========
44

55

6+
v2.0.0 (2022-05-03)
7+
===================
8+
9+
**Breaking**
10+
11+
- Dropped support for Python 3.5 and 3.6 (both have reached EOL).
12+
13+
**New**
14+
15+
- Add support for Python 3.9, 3.10, and added 3.11 pre-releases to test-suite.
16+
- Fully annotated the project and added a ``py.typed`` to make the package `PEP 561`_-compliant.
17+
- Added a ``get_minimum_due_date`` utility function for retrieving the earliest valid due date for a payment request.
18+
- Added a ``validate_due_date`` kwarg to the ``add_payment_request`` ``Assignment`` method, to optionally perform due date validation. When enabled, due dates less than the minimum (4 calendar days in the future, offset by holidays) or more than the maximum (12 months in the future) will raise an exception.
19+
20+
.. _PEP 561: https://peps.python.org/pep-0561/
21+
22+
**Internal**
23+
24+
- Switched CI pipeline from CircleCI to Github actions.
25+
- Added `isort`_, `black`_, `pyupgrade`_, and `pre-commit`_ for linting.
26+
- Switched to `Poetry`_ for package and dependency management.
27+
28+
.. _isort: https://github.com/PyCQA/isort
29+
.. _black: https://github.com/psf/black
30+
.. _pyupgrade: https://github.com/asottile/pyupgrade
31+
.. _pre-commit: https://github.com/pre-commit/pre-commit
32+
.. _Poetry: https://python-poetry.org/
33+
634
v1.3.0 (2020-06-10)
735
===================
836

0 commit comments

Comments
 (0)