Skip to content

v4.0.9

Latest

Choose a tag to compare

@iamngoni iamngoni released this 21 Oct 12:53

Fixes:

  • formatNumber keeps every digit of VoIP and landline numbers (e.g. 08644123456 no longer becomes 0644123456)
  • isEmail rejects commas and stray characters, and accepts hyphenated domains like me@my-co.co.zw
  • generatePassword always passes isPassword and shuffles with a secure random source; lengths below 8 now throw ArgumentError
  • Validation fails closed if a regex check throws
  • Phone checks accept dashes, brackets and dots, e.g. (077) 721-3388
  • Passport and number plate checks accept lowercase letters

Housekeeping:

  • Build output and coverage files are no longer included in the published package
  • CI runs on stable Dart with format and analyzer checks