lemonade 0.3.2 copy "lemonade: ^0.3.2" to clipboard
lemonade: ^0.3.2 copied to clipboard

Simple, typesafe, object-oriented library for data validation

0.3.1 #

  • Wrote more tests
  • Fixed Validators.email and Validators.base64 validators
  • Updated dev dependencies

0.3.0 #

  • Added mapping, customValue and datetime validators
  • Added not method for inverting any validator

0.2.0 #

  • Added most common patterns to use with Validators class
  • Added more documentation comments

Currently supported this common patterns taken mostly from golang validator package: alpha, alphanumeric, numeric, hexadecimal, hexcolor, email, base64, base64url, btcAddress, btcAddressBech32, ethAddress, uuid, uuid3, uuid4, uuid5, ascii, multibyte, latitudeStr, longitudeStr, ssn, ip, ipv4, ipv6, mac, hostname, hostnameRFC1123.

0.1.1 #

  • Added some dartdoc comments
  • Fixed example file path
  • Exported ValidationError class

0.1.0 #

Initial version

  • Value validators: strings, numbers
  • Collection validators: lists, maps
  • Object validator
  • Nullable type check
  • "or", "and" validators. With shorthand operators "|" and "&"
  • Additional basic validators: "any", "equals"
4
likes
155
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

Simple, typesafe, object-oriented library for data validation

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on lemonade