Skip to content

0.11.0

Choose a tag to compare

@jsavyasachi jsavyasachi released this 25 Jun 01:25
· 14 commits to main since this release

Closes the two real capability gaps versus python-stdnum, plus two new VAT types (92 -> 94).

  • stdnum.checkdigit - standalone check-digit algorithms (Luhn, Verhoeff, ISO 7064 Mod 11-2 and Mod 97-10) as primitives, the python-stdnum stdnum.luhn/verhoeff/iso7064 parallel.
  • stdnum.vies - online EU VAT validation against the live VIES service (vies/check), returning trader name/address; member-state outages surface as {:error ...} so a transient failure is never read as invalid. Requires JDK 11+ (java.net.http); adds org.clojure/data.json. stdnum.core stays pure.
  • New types :es-vat (Spain - DNI/NIE/CIF) and :ie-vat (Ireland), verified against Telefonica and Google Ireland.
  • Broader canonical format across national IDs, and parse field-extraction/decomposition deepened (22 types extract, 27 format).

Full notes: CHANGES.md