Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.2.0

* Added 21 new validators inspired by validator.js: `isLowercase`, `isUppercase`,
`isHexadecimal`, `isOctal`, `isDecimal`, `isFloat`, `isMongoId`, `isMD5`,
`isPort`, `isSemVer`, `isSlug`, `isMACAddress`, `isLatLong`, `isJWT`, `isFQDN`,
`isBase64`, `isByteLength`, `isStrongPassword`, `isIn`, `matches` and `contains`.
* Added a new sanitizers module (`package:flutter_validators/sanitizers.dart`):
`trim`, `ltrim`, `rtrim`, `escape`, `unescape`, `blacklist`, `whitelist`,
`stripLow`, `normalizeEmail`, `toBoolean`, `toInt`, `toFloat` and `toDate`.
* Extended the `Validator` form class with methods for every new validator.
* Added test coverage for all new validators and sanitizers.

## 1.1.0

* Major upgrade! Added 9 new standard validators (URL, UUID, Date, Numeric, Alpha, IP, Hex Color, Credit Card, Length).
Expand Down
Loading
Loading