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
differsFromNow
to theAcanthisDate
validator. - Add
double
andbetween
to theAcanthisNumber
validator. - Add
time
,url
,card
andhexColor
to theAcanthisString
validator.
1.0.1 #
- Add
lazy
validator 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
partial
validator to object validator. - Add more String validators.
- Rename
customCheck
torefine
in all validators. - Add
refineAsync
to all validators. - Add
pipe
andAcanthisPipeline
to allow for more complex validation and transformation processes.
0.1.3 #
0.1.2 #
- Add the
addFieldDependency
function to theobject
validator. - Add information about
addFieldDependency
in theobject
validator. - Remove the
Operations
section from the documentation.
0.1.1 #
Refactor #
- The function
jsonObject
has been renamed asobject
. - Add explicit information about the parse result object
AcanthisParseResult
.
0.1.0 #
- Add the
nullable
validator. - Add the
union
validator. - Add the
boolean
validator. - Add transformation functions for all the validators except
nullable
,boolean
andunion
. - 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_validator
package.
0.0.1 #
- Initial version.