4.0.0 released #235
Locked
marcwrobel
announced in
Announcements
Replies: 1 comment 1 reply
-
Congrats on the release! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added
CreditorIdentifier#REGEX
public (as part of Get rid of regexes inCreditorIdentifier
#172).Iban#REGEX
public (as part of Get rid of regexes inIban
#171).SwiftPatternCharacterRepresentation
to centralize information about SWIFT pattern character representations (as part of Get rid of regexes inIban
#171).BbanStructure
public (as part of Add IBAN generation #153).BbanStructure
is an enum that holds countries BBAN structure as listed in the IBAN registry.Iban#getBankIdentifier()
to get the bank identifier from an Iban (Get bank / branch identifier, account number and national check digits from IBAN #162).Iban#getBranchIdentifier()
to get the branch identifier from an Iban (Get bank / branch identifier, account number and national check digits from IBAN #162).Iban#getAccountNumber()
to get the account number from an Iban (Get bank / branch identifier, account number and national check digits from IBAN #162).Iban#getNationalCheckDigit()
to get the national check digit from an Iban (Get bank / branch identifier, account number and national check digits from IBAN #162).Changed
CreditorIdentifier
final (Make CreditorIdentifier final #116).Bic#BIC_REGEX
toBic#REGEX
and make it accept untrimmed strings (as part of Get rid of regexes inBic
#170 and Accept untrimmed input strings inIban
,Bic
andCreditorIdentifier
#176).Iban
not accepting values containing spaces anymore (as part of Make CreditorIdentifier final #116). This meansprintable or untrimmed IBANs are not considered valid values anymore. Note that this feature was not documented.
IbanCheckDigit#validate
returnfalse
fornull
or less than 5 characters strings (MakeIbanCheckDigit#validate
returnfalse
instead of raising an exception fornull
or less than 5 characters strings #188).SwiftPattern#toString
returning only the SWIFT pattern expression (as part of Add serialization tests for serializable classes #222).Prior to this version
SwiftPattern#toString
were returning the SWIFT pattern expression with its corresponding regular expression.BicFormatException
,CreditorIdentifierFormatException
,IbanFormatException
andSwiftPatternSyntaxException
extendIllegalArgumentException
instead ofRuntimeException
(XXXFormatException should extend IllegalArgumentException #220).IbanCheckDigit
fromfr.marcwrobel.jbanking.iban
tofr.marcwrobel.jbanking.checkdigit
(GeneralizeIbanCheckDigit
#174).Bic
,CreditorIdentifier
,Iban
,IsoCountry
andIsoCurrency
(Accept untrimmed input strings inIban
,Bic
andCreditorIdentifier
#176). In earlier versions only case-insensitive were accepted.Bic
#170). This significantly increased the performances of BIC validation and creation (+200-300%).CreditorIdentifier
#172). This significantly increased the performances of Creditor Identifiers validation and creation (+100-300%).Iban
#171). This significantly increased the performances of IBAN validation and creation (+200-400%).Bic
#170 and Get rid of regexes inCreditorIdentifier
#172).Bic
,CreditorIdentifier
,Iban
andSwiftPattern
regarding serialization (as part of Add serialization tests for serializable classes #222).Fixed
Iban.isValid(String)
orIbanCheckDigit.validate(String)
returnfalse
instead of raising anIllegalArgumentException
with invalid IBAN check digit (e.g.00
,01
, or99
).Bic
,CreditorIdentifier
andIban
documentation (Fix Bic, Iban and CreditorIdentifier documentation #209). It was not explicit that lowercase characters were accepted.Removed
Bic#BIC_PATTERN
(as part of Get rid of regexes inBic
#170). If you still need to use the BIC regex, you may compile the pattern fromBic#REGEX
, which has been kept for compatibility and documentation purposes.Internal
IsoCurrency
,Holidays
andBbanStructure
enums entries (Alphabetically sort enums entries #161).OutOfMemoryError
.Character.digit
instead ofCharacter.getNumericValue
inIbanCheckDigit
as recommended in Error Prone#CharacterGetNumericValue (closes Use Character.digit instead of Character.getNumericValue in IbanCheckDigit #117).CheckDigit
interface and makeIbanCheckDigit
implements it (GeneralizeIbanCheckDigit
#174).Thanks
Many thanks to @aSemy for his help on #153 !
This discussion was created from the release 4.0.0.
Beta Was this translation helpful? Give feedback.
All reactions