acanthis 1.0.2
acanthis: ^1.0.2 copied to clipboard
Acanthis is an easy-to-use validation library for Dart and Flutter.
Changelog #
1.0.2 #
- Add
differsFromNowto theAcanthisDatevalidator. - Add
doubleandbetweento theAcanthisNumbervalidator. - Add
time,url,cardandhexColorto theAcanthisStringvalidator.
1.0.1 #
- Add
lazyvalidator to allow for recursive schemas.
1.0.0 #
- Upgrade dependencies.
- Add async checks for all validators to allow for a more flexible validation process.
- Add
partialvalidator to object validator. - Add more String validators.
- Rename
customChecktorefinein all validators. - Add
refineAsyncto all validators. - Add
pipeandAcanthisPipelineto allow for more complex validation and transformation processes.
0.1.3 #
0.1.2 #
- Add the
addFieldDependencyfunction to theobjectvalidator. - Add information about
addFieldDependencyin theobjectvalidator. - Remove the
Operationssection from the documentation.
0.1.1 #
Refactor #
- The function
jsonObjecthas been renamed asobject. - Add explicit information about the parse result object
AcanthisParseResult.
0.1.0 #
- Add the
nullablevalidator. - Add the
unionvalidator. - Add the
booleanvalidator. - Add transformation functions for all the validators except
nullable,booleanandunion. - Add tests for all the validators (100% coverage 🎉).
- Add documentation for all the validators.
- [#1] Fix the
string().email()validator that will now use theemail_validatorpackage.
0.0.1 #
- Initial version.