Skip to content

Releases: mdomke/schwifty

2024.11.0

11 Nov 11:49
2024.11.0
daa13da
Compare
Choose a tag to compare

Changed

  • Removed support for deprecated Python version 3.8
  • Updated the bank registries for Austria, Germany, Poland, Netherlands, Spain, Czech Republic, Italy, and Switzerland.

Added

2024.09.0

11 Nov 11:30
2024.09.0
44ae8e7
Compare
Choose a tag to compare

Fixed

  • Fix Python 3.8 support while it is still supported (EOL is 2024-10) (thanks to @bwoodsend)

2024.08.1

11 Nov 11:29
2024.08.1
3f4b343
Compare
Choose a tag to compare

Added

  • Allow BIC and IBAN objects to be deepcopied (thanks to @binaryDiv for pointing this out).

2024.08.0

13 Aug 09:13
2024.08.0
a5b1595
Compare
Choose a tag to compare

Added

Changed

  • Extended the Danish bank registry, including many more banks now.
  • Updated the Belgian bank registry @sennebos
  • Updated bank registries for Austria, Germany, Poland, Czech Republic, Switzerland, Italy, Norway, and Netherlands.

2024.06.1

10 Jun 11:13
2024.06.1
074d71c
Compare
Choose a tag to compare

Fixed

  • The BIC.from_bank_code now handles banks correctly that have no value for the BIC field in the registry.

Changed

  • Use hatch fmt and hatch test commands for internal development.

2024.06.0

04 Jun 08:55
2024.06.0
3de4b0d
Compare
Choose a tag to compare

Changed

  • Stop using the “elfprooef” algorithm when validating Dutch IBANs, since the administrative authority says it should not be checked anymore. See #205 for more information.

2024.05.4

25 May 21:30
2024.05.4
c467335
Compare
Choose a tag to compare

Added

  • The IBAN and BBAN classes now have an additional property currency_code for countries like Seychelles, Guatemala, or Mauritius.

Fixed

  • Also allow the BIC lookup for non-primary banks. For countries like Switzerland, the lookup did fail for banks which did not have the primary-flag set, even though an appropriate mapping was available.
  • IBAN.random() now also works for countries which have a currency code included in their BBAN e.g., Mauritius or Seychelles. #206 (thanks to @noamshalev for reporting).
  • IBAN.random() now also works for aspirational countries, where no information of the BBAN structure is available, e.g., Comoros. #206

2024.05.3

10 May 14:19
2024.05.3
4aa8d80
Compare
Choose a tag to compare

Added

  • There is a new classmethod IBAN.random() that allows you to create random, but valid IBANs 🎉 .
    >>> IBAN.random()
    <IBAN=LT435012771675726758>
    You can narrow down the generated values by providing the corresponding parameters to this function. E.g., to get only Spanish IBANs you can do
    >>> IBAN.random(country_code="ES")
    <IBAN=ES8801253179194914182449>

Changed

  • Some missing bank associations have been added to the Portuguese bank registry by @tiagoafseixas

2024.05.2

09 May 16:38
2024.05.2
ad71235
Compare
Choose a tag to compare

Fixed

  • Re-add typing-extensions as explicit dependency for Python < 3.11 to support the Self type. This was accidentally removed in aa251c2

2024.05.1

09 May 15:33
2024.05.1
883d826
Compare
Choose a tag to compare

Changed

  • Remove custom collection logic of the bank registry for pyinstaller. The changes introduced in #92 were wrong and have been reverted. Usage example
    $ pyinstaller <script> --collect-data schwifty --copy-metadata schwifty