Skip to content

Migrate IBAN validation to iban-commons#1161

Open
spannm wants to merge 1 commit into
ClouDesire:masterfrom
spannm:feature/migrate-to-iban-commons
Open

Migrate IBAN validation to iban-commons#1161
spannm wants to merge 1 commit into
ClouDesire:masterfrom
spannm:feature/migrate-to-iban-commons

Conversation

@spannm
Copy link
Copy Markdown

@spannm spannm commented May 9, 2026

This PR introduces iban-commons in favor of iban4j. iban-commons has demonstrated to be superior in terms of performance, allocation (GC pressure), country coverage etc.
The internal validation logic in IBANValidatorForString has been refactored for better performance and readability.

  • replace iban4j dependency with iban-commons v1.8.6
  • update IBANValidatorForString to use de.speedbanking.iban.Iban
  • simplify isValid logic using short-circuit evaluation

I am an author of the iban-commons library (GitHub).

- replace iban4j dependency with iban-commons v1.8.6
- update IBANValidatorForString to use de.speedbanking.iban.Iban
- simplify isValid logic using short-circuit evaluation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant