Skip to content

Releases: fabiocaccamo/python-codicefiscale

0.9.1

15 Feb 16:57
Compare
Choose a tag to compare
  • Allow access to data files when running in a frozen environment (eg. executable). #152
  • Bump requirements and pre-commit hooks.

0.9.0

06 Nov 17:34
Compare
Choose a tag to compare
  • Add Python 3.12 support.
  • Add possibility to validate code from the command line, eg. python -m codicefiscale validate {code}.
  • Add codicefiscale.data module with methods for exposing data.
  • Bump requirements, pre-commit hooks and actions.

0.8.2

02 Oct 20:29
Compare
Choose a tag to compare
  • Patch some wrong municipalities data. #123

0.8.1

05 Sep 20:47
Compare
Choose a tag to compare
  • Merge fetched data with manually managed patch data. (#116)
  • Update municipalities data source url.
  • Bump requirements.

0.8.0

08 Apr 22:08
Compare
Choose a tag to compare
  • Manage correctly deleted countries. #36
  • Replace flake8 with Ruff.
  • Switch from setup.cfg to pyproject.toml.
  • Improve code quality.
  • Bump requirements.

0.7.1

30 Mar 11:27
Compare
Choose a tag to compare
  • Fix encoding/decoding error when year of birth (excluding century) < 10 (eg. 2004). #79.
  • Improve error message for invalid birthplace codes.
  • Refactor tests and move each issue test to its own test case.
  • Update pre-commit hooks. (#80)

0.7.0

27 Mar 01:13
Compare
Choose a tag to compare
  • Add command line usage support. #14 (#78)
  • ⚠️ Rename arguments and output variable names:
    • surname -> lastname
    • name -> firstname
    • sex -> gender

0.6.1

12 Jan 12:23
Compare
Choose a tag to compare
  • Add setup.cfg (setuptools declarative syntax) generated using setuptools-py2cfg.
  • Add pyupgrade to pre-commit config.
  • Remove tests/ from dist.
  • Updated countries.json and municipalities.json data.
  • Improve update script error messages and fix formatting error.
  • Bump requirements.

0.6.0

09 Dec 17:16
Compare
Choose a tag to compare
  • Add Python 3.11 support.
  • Add pre-commit.
  • Add pypy to CI.
  • Drop Python < 3.8 support.
  • Updated countries.json and/or municipalities.json data.
  • Replace str.format with f-strings.
  • Remove encoding pragma.
  • Decrease dependence on CODICEFISCALE_RE regex by naming subpatterns.
  • Fix decoding code with invalid birthplace code. #27
  • Fix date of birth not honored when encoding and decoding (deleted municipalities only). #37 (#40)
  • Bump requirements and GitHub actions versions.

0.5.0

26 Sep 21:21
Compare
Choose a tag to compare
  • Add municipality validity date support. Fix #12 and #23 by danisana in #24.
  • Replace str.format with f-strings.
  • Update countries.json and municipalities.json data.
  • Update and pin requirements.