Skip to content

Releases: py-moneyed/py-moneyed

Release 3.0

27 Nov 21:28
f45c007
Compare
Choose a tag to compare
  • Added SLE & VED currencies.
  • Removed support for Python 3.6.
  • Added support for Python 3.10 & 3.11.

Release 2.0

26 May 14:20
v2.0
ef5d65d
Compare
Choose a tag to compare
  • Dropped support for Python 2.7 and 3.5 and PyPy 2.
  • Added pyupgrade pre-commit hook.
  • Added black pre-commit hook and reformatted codebase.
  • Updated pre-commit hooks.
  • Replaced custom flake8, sort, and check-manifest Github Action jobs with a generic pre-commit job.
  • Dropped the moneyed.localization module that was deprecated and announced for removal in 1.0.
  • Added type hints along with a mypy pre-commit hook.
  • Added action for building and publishing releases, along with the check-github-workflows pre-commit hook for validating Github Action workflow files.
  • Removed undocumented DEFAULT_CURRENCY and DEFAULT_CURRENCY_CODE constants, and change to make instantiating Money without providing a currency a type error. This used to result in an object with a made-up "XYZ" currency, which could lead to surprising behaviors and bugs.
  • Added zero property to Currency to conveniently access the zero value of a given currency.
  • Moved to use setuptool's declarative packaging config and PEP 517 isolated builds.
  • Removed requirements files and instead specified test requirements using extras.