## 1.21.0 - August 6, 2024 - Canada, Financial Institution number - allow 3 digits - modulus_checker failures will now return validation method specific error message ## 1.20.0 - October 13, 2023 - Do not allow all 0 transit numbers in CA ## 1.19.0 - October 3, 2023 - Do not allow all-0 account numbers for CA ## 1.18.0 - Sept 4, 2023 - Remove Ruby 2.6 support - Update BLZ data - BLZ_20230904 ## 1.17.0 - June 5, 2023 - Update BLZ data - BLZ_20230605 ## 1.15.0 - March 28, 2023 - Improve the error messages that are generated ## 1.14.0 - March 28, 2023 - Update IBAN registry #233 - Add GL and FO to the IBAN constructor for local details ## 1.13.0 - March 6, 2023 - Update BLZ data - BLZ_20230306 ## 1.12.0 - December 5, 2022 - Update BLZ data - BLZ_20221205 ## 1.11.0 - September 5, 2022 - Update BLZ data - BLZ_20220905 ## 1.10.0 - June 1, 2022 - Update BLZ data - 05.05.22 ## 1.9.0 - February 16, 2022 - Update BLZ data - BLZ_20220307 ## 1.8.1 - February 8, 2022 - Fix issue with structure loading - thanks @shaicoleman ## 1.8.0 - January 7, 2022 - Add Ruby 3.1 support - Remove Ruby 2.5 support ## 1.7.1 - November 25, 2021 - Update BLZ data - BLZ_20211206 ## 1.7.0 - Sept 8, 2021 - Stop padding out Australian account details to 10 digits ## 1.6.1 - Aug 13, 2021 - Update BLZ data - BLZ_20210906 ## 1.6.0 - June 17, 2021 - Drop Ruby 2.4 support - Update BLZ data - BLZ_20210607 ## 1.5.0 - March 11, 2021 - Fix issue with padding on Canadian and USA pseudo IBANs #198 ## 1.4.1 - March 3, 2021 - Update BLZ data - BLZVZ FTSEX MD 652 ## 1.4.0 - February 22, 2021 - [Breaking] Correct `swift_national_id` for Canadian Psudo Ibans. Before `swift_national_id` would return the institution code only. Now it returns the `{institution_code}{branch_code}` as per the format for electronic transfers - `0YYYXXXXX` ## 1.3.0 - February 18, 2021 - Add support for BY, EG, FO, IQ, LC, SC, UA and VA ## 1.2.3 - December 11, 2020 - Update BLZ data - BLZ_20201207 ## 1.2.2 - October 30, 2020 - Update Swedish Bank data ## 1.2.1 - September 1, 2020 - Update BLZ data - BLZ_20200907 ## 1.2.0 - August 25, 2020 - Improve validation for iban lengths - Strip unwanted hyphen chars for Canadian IBANs - Update rubocop and related gems ## 1.1.0.1 - June 17, 2020 - Fix Rule4901 ## 1.1.0 - June 15, 2020 - Update BLZ data - Fix Rule4901 ## 1.0.2 - May 12, 2020 - Update BLZ data ## 1.0.1 - January 9, 2019 - Add Ruby 2.7 support and fix deprecation warnings ## 1.0.0 - October 24, 2019 - Discontinued support for older Ruby versions (2.1.10, 2.2.7, 2.3.4 and 2.4.1) - Update rubocop and ruboconfig - Updates the example bank details for the United States - Updates the definition of the structure for IBANs in Costa Rica (courtesy @sprileyMSTS) ## 0.11.28 - March 21, 2019 - Handle bad input more gracefully (`bank_code` being nil) ## 0.11.27 - February 22, 2019 - Update US account number format validation to allow digits-only ## 0.11.26 - January 30, 2019 - Add support for US pseudo-IBANs ## 0.11.25 - January 10, 2019 - Prevent account numbers from being all-zero in Australia ## 0.11.24 - December 13, 2018 - Add support for 3-digit financial institution numbers in Canada ## 0.11.23 - December 5, 2018 - Add support for validating Canadian branch codes if a modulus checker is configured ## 0.11.22 - October 18, 2018 - Skipped 0.11.21 - Added national_id_length for CA IBANs to prevent segfault when building from local details. ## 0.11.20 - October 18, 2018 - Generate valid CA IBANs from local details ## 0.11.19 - October 15, 2018 - Add support for CA pseudo-IBANs ## 0.11.18 - October 9, 2018 - Improve existing error message translations and add support for four new languages: Norwegian, Swedish, Danish and Slovenian. ## 0.11.17 - September 17, 2018 - Do not crash when given too short account numbers for New Zealand ## 0.11.16 - September 3, 2018 - Loosen `i18n` dependency (thanks @glaszig!) ## 0.11.15 - August 30, 2018 - Validate New Zealand branch codes ## 0.11.14 - July 26, 2018 - Add support for NZ pseudo-IBANs ## 0.11.13 - May 30, 2018 - Allow 5-digits Australian account numbers ## 0.11.12 - March 21, 2018 - Validate Australian BSBs ## 0.11.11 - March 1, 2018 - Fix padding for Australian pseudo-IBANs ## 0.11.10 - February 21, 2018 - Fix support for Australian bank accounts ## 0.11.9 - February 8, 2018 - Add support for Australian swift national ids ## 0.11.8 - February 8, 2018 - Incorrectly published version. Please do not use. ## 0.11.7 - December 20, 2017 - Add support for Australian pseudo-IBANs ## 0.11.6 - August 16, 2017 - Handle invalid characters when computing check digits for Italy ## 0.11.5 - June 16, 2017 - Fix invalid regular expression `account_number_format` for Dominican Republic IBANs. ## 0.11.4 - March 13, 2017 - Fix `swift_national_id` for Slovenian IBANs. Previously it was returning two digits, instead of five. ## 0.11.3 - March 9, 2017 - Fix bug: Previously, constructing an `Ibandit::IBAN` object with `country_code: "SE"` and certain 4-digit values for `account_number` would throw `NoMethodError`. The IBAN object can now be successfully constructed (and will return a false value for `valid?`). ## 0.11.2 - July 4, 2016 - Handle invalid pseudo-IBANs ## 0.11.1 - June 6, 2016 - Update BLZ data ## 0.11.0 - March 30, 2016 - BREAKING CHANGE: Rename `IBAN#iban_national_id` to `IBAN#swift_national_id`. See https://github.com/gocardless/ibandit/pull/69 for more details. ## 0.10.1 - March 7, 2016 - Update BLZ data ## 0.10.0 - February 25, 2016 - BREAKING CHANGE: Pass an `Ibandit::IBAN` object to modulus checker hooks, rather than a string. See https://github.com/gocardless/ibandit/pull/68 for more details. ## 0.9.1 - January 26, 2016 - Update BLZ data ## 0.9.0 - January 25, 2016 - BREAKING CHANGE: Update modulus checker hooks to expect a `valid_branch_code?` method. See https://github.com/gocardless/ibandit/pull/65 for more details. ## 0.8.8 - January 22, 2016 - Strip whitespace from Spanish account numbers ## 0.8.7 - December 8, 2015 - Handle bad characters gracefully when constructing Italian IBANs ## 0.8.6 - December 6, 2015 - Add details of Swedish validation scheme to Swedish data file - Update BLZ data ## 0.8.5 - November 20, 2015 - Handle Danish long-format account numbers without a hyphen ## 0.8.4 - October 15, 2015 - Fix bug in Sweden::Validator.valid_serial_number_length? ## 0.8.3 - September 5, 2015 - Update BLZ data (again) ## 0.8.2 - September 5, 2015 - Update BLZ data ## 0.8.1 - August 14, 2015 - Clean SWIFT details ## 0.8.0 - August 14, 2015 - Return local details for Sweden - Introduce pseudo-IBANs for Sweden ## 0.7.0 - August 11, 2015 - Remove all unused `CheckDigit` methods ## 0.6.6 - July 31, 2015 - Add Croatia to LocalDetailsCleaner and IBANAssembler - Add Czech Republic to LocalDetailsCleaner and IBANAssembler ## 0.6.5 - July 30, 2015 - Add Romania to LocalDetailsCleaner and IBANAssembler - Add Bulgaria to LocalDetailsCleaner and IBANAssembler - Add Hungary to LocalDetailsCleaner and IBANAssembler ## 0.6.4 - July 28, 2015 - Add Poland to LocalDetailsCleaner and IBANAssembler - Add Iceland to LocalDetailsCleaner and IBANAssembler ## 0.6.3 - July 25, 2015 - Strip out additional '-' characters from Danish account numbers ## 0.6.2 - July 21, 2015 - Add Denmark to LocalDetailsCleaner and IBANAssembler ## 0.6.1 - July 21, 2015 - Add Norway to LocalDetailsCleaner and IBANAssembler ## 0.6.0 - July 20, 2015 - Add support for Sweden ## 0.5.0 - July 12, 2015 - Add an error for unsupported German bank details, and stop raising whilst cleaning them ## 0.4.5 - June 25, 2015 - Add Dutch translation ## 0.4.4 - June 5, 2015 - Update BLZ data ## 0.4.3 - May 20, 2015 - Add Italian translation ## 0.4.2 - May 19, 2015 - Bug fix for `CheckDigit.belgian` by [@isaacseymour](https://github.com/isaacseymour) ## 0.4.1 - April 28, 2015 - Add Spanish translation by [@alan](https://github.com/alan), [@sinjo](https://github.com/sinjo) and Jess Milligan ## 0.4.0 - April 24, 2015 - Update length of national ID for Spain from 8 characters to 4, in line with SWIFT change ## 0.3.8 - April 8, 2015 - Add Portuguese translation by [@nlopes](https://github.com/nlopes) ## 0.3.7 - April 7, 2015 - Add German translation by [@georg911](https://github.com/georg911) ## 0.3.6 - March 23, 2015 - Fix the load path for I18n ## 0.3.5 - March 23, 2015 - Use I18n for internationalised validation messages (patch by [@isaacseymour](https://github.com/isaacseymour)) ## 0.3.4 - March 6, 2015 - Update BLZ data ## 0.3.3 - March 4, 2015 - Add Greece to LocalDetailsCleaner and IBANAssembler ## 0.3.2 - February 24, 2015 - Allow for injection of a modulus checker ## 0.3.1 - February 14, 2015 - Add Malta to LocalDetailsCleaner and IBANAssembler ## 0.3.0 - February 6, 2015 - Move IBANBuilder interface into main IBAN class by overloading its constructor - Move validation of local details input out of IBANBuilder into IBAN - Split `IBAN.valid_length?` into individual checks on the length of bank code, branch code, and account number - Return `nil` for fields which aren't present, rather than an empty string ## 0.2.1 - January 30, 2015 - Add Lithuania to IBANBuilder ## 0.2.0 - January 27, 2015 - Add GermanDetailsConverter ## 0.1.1 - January 8, 2015 - Add zero-padding to CheckDigit.spanish ## 0.1.0 - December 29, 2014 - Initial public release ## 0.0.16 - December 29, 2014 - Fix error handling in Modulus 97-10 check digit calculation ## 0.0.15 - December 26, 2014 - Raise namespaced errors ## 0.0.14 - December 17, 2014 - Add the Netherlands to IBANBuilder, and rename CheckDigit.mod_11 ## 0.0.13 - December 17, 2014 - Send cleaned (de-space/hyphenated) sort codes to the BIC finder lambda ## 0.0.12 - December 16, 2014 - Allow spaced as well as hyphenated UK sort codes ## 0.0.11 - December 15, 2014 - `IBAN#to_s` returns IBAN string rather than object properties - Local check digits accessors - Only raises `ArgumentError` - Additional documentation on local details/IBAN conversion quirks ## 0.0.10 - December 13, 2014 - Update format validations for all IBAN countries. Add local_check_digits accessor method to IBAN. ## 0.0.5 - December 8, 2014 - Add IBANSTRUCTURE file. All IBAN countries are now supported for validation and deconstruction. ## 0.0.2 - December 4, 2014 - Rename to ibandit ## 0.0.1 - November 27, 2014 - Initial commit