Skip to content

v1.0.1

Choose a tag to compare

@dasmig dasmig released this 18 Oct 01:50
· 10 commits to main since this release

Fixes the length of generated numbers. 1.0.0 weighted every allowed length by its number space, so plans with long lengths produced mostly long numbers: 99% of German fixed-line numbers had 17 digits, past E.164's 15. Lengths that exceed 15 digits with the calling code are now left out, and a plan with several lengths is drawn mostly at the length of libphonenumber's example number (a quarter as often per digit away). Seeded output changes for countries with several lengths and for the data hash.