Skip to content

Latest commit

 

History

History
279 lines (159 loc) · 9.82 KB

CHANGELOG.md

File metadata and controls

279 lines (159 loc) · 9.82 KB

CHANGELOG

Released on December 2nd 2024

Updated

  • Upgraded dependencies and fixed code style. Thanks to @jschaedl!

Released on November 24th 2024

Added


Released on March 3rd 2024

Updated

  • Updated iban registry to version 96. Thanks to @jschaedl!

Released on November 30th 2023

Added

  • Added support for symfony/option-resolver version ^7. Thanks to @jschaedl!

Released on November 23rd 2023

Added

  • Added support for PHP 8.3. Thanks to @jschaedl!

Released on October 21st 2023

Updated

  • Updated iban registry to version 95. Thanks to @jschaedl!

Released on June 5th 2023

Fixed


Released on December 12th 2022

Updated

  • Updated iban registry to version 92 in #79. Thanks to @jschaedl!

Changed

  • Made RegexConverter final. Thanks to @jschaedl!
  • Made Registry final. Thanks to @jschaedl!
  • Made CountryInfo final. Thanks to @jschaedl!
  • Made Validator final. Thanks to @jschaedl!
  • Made Iban final. Thanks to @jschaedl!
  • Introduced second argument to Validator::validate(string|Iban $iban, bool $throw = false). Thanks to @jschaedl!
$validator = new Validator();

try {
    $validator->validate(new Iban('DE89 3704 0044 0532 0130 00'), throw: true);
} catch (Exception $exception) {
    // ...
}

Removed

  • Removed class RegistryLoader, you should implement the RegistryLoaderInterface for custom Loaders instead. Thanks to @jschaedl!
  • Removed method Iban::getCountryCode(), use Iban::countryCode() instead. Thanks to @jschaedl!
  • Removed method Iban::getChecksum(), use Iban::checksum() instead. Thanks to @jschaedl!
  • Removed method Iban::getBban(), use Iban::bban() instead. Thanks to @jschaedl!
  • Removed method Iban::getBbanBankIdentifier(), use Iban::bbanBankIdentifier() instead. Thanks to @jschaedl!
  • Removed method CountryInfo::getBbanBankIdentifierStartPos(). Thanks to @jschaedl!
  • Removed method CountryInfo::getBbanBankIdentifierEndPos(). Thanks to @jschaedl!
  • Dropped support for PHP <8. Thanks to @jschaedl!
  • Removed all composer dev dependencies. Thanks to @jschaedl!
  • Removed symfony/yaml dependency. Thanks to @jschaedl!
  • Dropped support for symfony/options-resolver 3.4. Thanks to @jschaedl!

Released on December 12th 2022

This is the last bugfix version of major version 1. Please upgrade to version 2.0.0.


Released on December 9th 2022

Fixed


Released on March 7th 2022

StandWithUkraine

SWUbanner


Released on December 8th 2021

Changed

  • Deprecated the usage of class RegistryLoader, you should implement the RegistryLoaderInterface for custom Loaders. Thanks to @jschaedl!

Fixed


Released on December 6th 2021

Changed

  • Removed symfony/yaml dependency and loaded Swift registry data as PHP array to improve performance. Thanks to @jschaedl!
  • Added support for symfony/option-resolver version ^6. Thanks to @Philipp91!

Updated

  • Updated iban registry to version 88. Thanks to @jschaedl!
    • IBANs for Libya can now be validated.

Fixed


Released on December 3rd 2020

Changed

  • Registry::isCountryAvailable() is supposed to be private, you should not rely on it anymore. Thanks to @jschaedl!
  • Iban::getNormalizedIban() is supposed to be private, use Iban::format() instead. Thanks to @jschaedl!
  • Marked RegexConverter as @internal, you should not rely on it anymore. Thanks to @jschaedl!
  • Marked RegexConverter as @final, you should not extend it anymore. Thanks to @jschaedl!
  • Marked Registry as @final, you should not extend it anymore. Thanks to @jschaedl!
  • Marked RegistryLoader as @final, you should not extend it anymore. Thanks to @jschaedl!
  • Marked CountryInfo as @final, you should not extend it anymore. Thanks to @jschaedl!
  • Marked Validator as @final, you should not extend it anymore. Thanks to @jschaedl!
  • Marked Iban as @final, you should not extend it anymore. Thanks to @jschaedl!
  • Changed the PHP version constraint to >=7.1 to allow PHP 8. Thanks to @chris-doehring!

Deprecated

  • Deprecated method Iban::getCountryCode(), use Iban::countryCode() instead. Thanks to @jschaedl!
  • Deprecated method Iban::getChecksum(), use Iban::checksum() instead. Thanks to @jschaedl!
  • Deprecated method Iban::getBban(), use Iban::bban() instead. Thanks to @jschaedl!
  • Deprecated method Iban::getBbanBankIdentifier(), use Iban::bbanBankIdentifier() instead. Thanks to @jschaedl!
  • Deprecated method CountryInfo::getBbanBankIdentifierStartPos(), you should not rely on it anymore. Thanks to @jschaedl!
  • Deprecated method CountryInfo::getBbanBankIdentifierEndPos(), you should not rely on it anymore. Thanks to @jschaedl!

Released on May 5th 2020

Added

  • Added checksum reporting in InvalidChecksumException. Thanks to @tugrul!

Updated

  • Updated iban registry to version 86. Thanks to @jschaedl!

Released on February 5th 2020

Fixed

  • Properly fail on non-numeric country codes. Thanks to @xabbuh!

Release on November 25th 2019

Added

  • Added Symfony 5.0 support. Thanks to @jschaedl!

Release on April 27th 2019

Fixed

  • Set correct scale for bcmod function. Thanks to @CodeDuck42!

Updated


Released on December 14th 2018

Changed

  • Changed minimum version for yaml and option-resolver component to ^3.4|^4.1. Thanks to @jschaedl!

Updated

  • Updated iban registry file to version 80. Thanks to @jschaedl!

Released on September 14th 2018

Added

  • Added FORMAT_ANONYMIZED IBAN format: $iban->format(Iban::FORMAT_ANONYMIZED). Thanks to @jschaedl!

Initial release on August 19th 2018