------------------------- Added ~~~~~~~ * The Pydantic v2 protocol is now supported, so that the :class:`.IBAN` and :class:`.BIC` classes can be directly used as type annotations in `Pydantic models <https://docs.pydantic.dev/latest/concepts/models/#basic-model-usage>`_
Changed ~~~~~~~ * The :class:`.IBAN` and :class:`.BIC` classes are now subclasses of :class:`str` so that all string related methods and functionallities (e.g. slicing) are directly available.
2023.09.0
------------------------- Removed ~~~~~~~ * Support for Python 3.7 has been dropped.
Added ~~~~~ * New method :meth:`.BIC.candidates_from_bank_code` to list all matching BICs to a given domestic bank code `Natim <https://github.com/Natim>`_.
Changed ~~~~~~~ * The Italian bank registry is now automatically generated thanks to `Krystofee <https://github.com/Krystofee>`_
Internal ~~~~~~~~ * Switch project tooling to `hatch <https://hatch.pypa.io/latest/>`_. * Use `ruff <https://docs.astral.sh/ruff/>`_ instead of [flake8](https://flake8.pycqa.org/en/latest/) as linter. * Upgrade `mypy <https://www.mypy-lang.org/>`_ to 1.5.1 and fix all new typing errors.
2023.06.0
------------------------- Fixed ~~~~~ * For Ukrainian banks calling ``iban.bic`` did result in a ``TypeError``. Thanks `bernoreitsma <https://github.com/bernoreitsma>`_ for reporting.
Changed ~~~~~~~ * Updated generated bank registries for Austria, Belgium, Czech Republic, Germany, Netherlands, Hungary, Norway, Poland and Ukraine.
2023.03.0
------------------------- Changed ~~~~~~~ * Updated generated bank registries for Austria, Belgium, Germany, Netherlands, Hungary, Slovenia and Ukraine.
Added ~~~~~ * New bank registry for Norway thanks to `ezet <https://github.com/ezet>`_
2023.02.1
------------------------- Fixed ~~~~~ * The domestic checksum calculation for Belgium now returns 97 in case the modulo operation results in 0. `mhemeryck <https://github.com/mhemeryck>`_
Changed ~~~~~~~ * Updated generated bank registries for Austria, Belgium, Czech Republic, Germany, Spain, Hungary and Croatia.
2023.02.0
------------------------- Added ~~~~~ * New banks for Portugal and Italy `dennisxtria <https://github.com/dennisxtria>`_ * Added support for Ukrainian banks `shpigunov <https://github.com/shpigunov>`_
Fixed ~~~~~ * Corrected bank codes for Cypriot banks `Krystofee <https://github.com/Krystofee>`_