This changelog document tracks the changes in the project API since v2.1.2.
This project adheres to semver.
- Add support for Plugins
- Add missing types for v5.2.0
- Add
detailsoption tovalidatemethod to return details like validation message, arguments, etc. for failed validations.
- Generate correct types to fix issue #18
- Update dev dependencies
- Improve validate method type
- Added optional
countargument to define minimum count required for attributes. See #39. - Added support for
§and±in symbols - Updated dev-dependencies versions due to CVEs
- Add types
- Fixed issue #28 where
uppercaseandlowercasevalidations did not respectnot.
- Used ES6 classes internally
- Dropped support for node versions below 8
- Support non-english lanugaes for
lowercaseanduppercaserules #24
- Allowed empty strings as passwords in #9
- Added rule
oneOfto the schema - Added
ismethod to make schema more readable - Renamed
PasswordSchemaclass toPasswordValidator
- Added
listoption to the validate method. - Code optimizations.
- Fixed issue #3 relating to file loading in frontend environment.
- Removed underscore as dependency.