Skip to content

Releases: barend/java-iban

1.6.0: 23 August 2019

23 Aug 19:37
release-1.6.0
Compare
Choose a tag to compare
  • Update to version 83 of the IBAN registry
    • Adds Vatican City State (VA)
    • (Ignores updated example IBAN for Sao Tome e Principe, because it fails checksum validation)
  • Imports IBANs from the Experimental IBANs List on iban.com, update of 12 July 2019 (Closes issue #9)
    • IBAN length for Algeria (DZ) changed to 26
    • IBAN length for Burkina Faso (BF) changed to 26
    • Adds Central African Republic (CF), Chad (TD), Comoros (KM), Djibouti (DJ), Equatorial Guinea (GQ), Guinea-Bissau (GW), Honduras (HN), Morocco (MA), Niger (NE), Nicaragua (NI), Togo (TG)
  • New method IBAN.isInSwiftRegistry() indicates whether the IBAN country is listed in the SWIFT IBAN Registry
  • Factory methods in IBAN accept CharSequence instead of String
  • Upgrades to Java bytecode level 1.8. The 1.6 target was there to offer legacy Android support in 2013. This is no longer required in 2019.
  • Drops the Sonatype OSS-parent POM (Closes issue #6)

Download binaries from Maven Central: https://search.maven.org/artifact/nl.garvelink.oss/iban/1.6.0/jar

    <dependency>
        <groupId>nl.garvelink.oss</groupId>
        <artifactId>iban</artifactId>
        <version>1.6.0</version>
    </dependency>

1.5: Feb 26th, 2017

26 Feb 11:10
Compare
Choose a tag to compare
  • Update to version 75 of the IBAN registry
    • Decodes Bank and Branch ID for Bulgaria (BG)
    • Decodes Bank and Branch ID for Brazil (BR)
    • Adds Republic of Belarus (BY)
    • Increments IBAN length for Costa Rica (CR) from 21 to 22
    • Adds Iraq (IQ)
    • Adds El Salvador (SV)
    • Decodes Bank ID for Kosovo (XK) as 2 characters instead of 4

1.4: May 4th, 2016

04 May 20:20
Compare
Choose a tag to compare
  • Update to version 66 of the IBAN registry
    • Adds Sao Tome e Principe (ST)
    • Adds bank identifier format for Ukraine (UA)
    • Adds Seychelles (SC)

1.3: July 5th, 2015

08 Aug 22:16
Compare
Choose a tag to compare
  • Update to version 58 of the IBAN registry
    • Sets SEPA flag for San Marino
    • Adds length validation for Saint Lucia
  • Adds ability to extract Bank Identifier and Branch Identifier from an IBAN (issue #5), if available. You can do so using the static methods in IBANFields (returns JDK8 Optionals) and IBANFieldsCompat (returns nulls). There are three countries where I had to interpret the spec in some way:
    • Finland (FI) – The spec mentions both "Not in use" and "Position 1-3 indicate the bank or banking group." I have taken "bank or banking group" to be more or less synonymous with Bank Identifier and return it as such.
    • Slovenia (SI) – The five digits following the checksum encode the financial institution and sub-encode the branch identifier if applicable, depending on the type of financial institution. The library returns all five digits as the bank identifier and never returns a branch identifier.
    • Republic of Kosovo (XK) – The four digits following the checksum encode the Bank ID, and the last two of these four sub-encode the branch ID. The library returns all four digits as the bank identifier. For example: if the IBAN has "1234" in these positions, then the bank identifier is returned as "1234" and the branch identifier as "34".

1.2: September 1st, 2014

08 Aug 22:18
Compare
Choose a tag to compare
  • Adds query method IBAN.isSEPA().
  • Merges pull request #4 by Matthias Vill, adding some hooks to aid interactive input validation & formatting.
  • Update to version 50 of the IBAN registry
    • Adds length validation rules for: Jordan, Quatar, Republic of Kosovo, Timor-Leste

1.1: October 25th, 2013

08 Aug 22:20
Compare
Choose a tag to compare
  • Moves country information from IBAN into separate class CountryCodes
  • The known country codes can be obtained from CountryCodes.getKnownCountryCodes().
  • The method getLengthForCountryCode() in IBAN is now deprecated, having moved into CountryCodes.
  • Adds length validation rules for:
    • Albania, Algeria, Angola, Azerbaijan, Bahrein, Benin, Brazil, British Virgin Islands, Burkina Faso, Burundi, Cameroon, Cape Verde, Congo, Costa Rica, Dominican Republic, Egypt, Faroe Islands, Gabon, Georgia, Greenland, Guatemala, Iran, Ivory Coast, Kazakhstan, Kuwait, Lebanon, Madagascar, Mali, Mauritania, Moldova, Mozambique, Pakistan, State of Palestine / Palestinian Territories, Saudi Arabia, Senegal, Tunisia, Ukraine, United Arab Emirates
    • Note: this list is not limited to SEPA countries or even the IBAN registry maintained by SWIFT. The CountryCodesParameterizedTest.java file documents the origin for each of these IBAN specs.

1.0: May 30, 2013

08 Aug 22:21
Compare
Choose a tag to compare
  • Initial release, IBAN value type.
  • Supported countries:
    • Andorra, Austria, Belgium, Bosnia and Herzegovinia, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Gibraltar, Greece, Hungary, Iceland, Ireland, Israel, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Macedonia, Malta, Mauritius, Monaco, Montenegro, Netherlands, Norway, Poland, Portugal, Romania, San Marino, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, United Kingdom