- remove
IsInt
andIsDouble
in favor ofIsNumber
- variable validations support null values and all of them return false if the input is null
- more rules
- more tests
- NEW ::
OnFailureCallBack
pass it toqValidator
and it gets called when a a field fails - BREAKING :: remove
when
callback
- new rules 🆕
- IsDate 📅
- feat:
isPort
- add
QRule
rule - add match example
- fix issues
- rename
QueenValidationRule<T>
toTextValidationRule
- make
msg
parameter positional instead of optional
- BREAKING : remove extensions (use functions instead)
- NEW : add validation functions ''.isEmail => isEmail('')
- NEW : More Rules And functions for more validation coverage
- fix email validation #1
- support null safety
- remove dto validation
- remove isUrl validation
- depend on lint package
- qValidator now return
String
instead ofdynamic
- fix missing exports
- update the docs
- fix
MinLength
ANDMaxLength
as the were missing or = operator and will work as expected - update the example app
- add
Contains
andContainsAny
- add
NotContains
andNotContainsAny
- add arabic article to the docs
- fix
isRequired
andIsOptional
conflict . - fix
qValidator
now it validate properly - rename isEmptyEmptyString to isNotEmptyString 'it trims then check length';
- Add tests
- fix
isEmail
,IsUrl
validation - add matchRegx extensions to match regular expressions on
String
- move unrelated validation extensions to
queen_extension
package ! - add
isIn
isNotIn
extensions onString
- add
Match
,IsIn
,IsNotIn
Rules - add supported rules to the documentation
- add
IsRequired
Rule - add example app
- add
IsOptional
Rule - remove useless extension methods on String
- comment the code
- fix readme
- api interface for forms , extensions and Dto s