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
details
option tovalidate
method 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
count
argument 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
uppercase
andlowercase
validations did not respectnot
.
- Used ES6 classes internally
- Dropped support for node versions below 8
- Support non-english lanugaes for
lowercase
anduppercase
rules #24
- Allowed empty strings as passwords in #9
- Added rule
oneOf
to the schema - Added
is
method to make schema more readable - Renamed
PasswordSchema
class toPasswordValidator
- Added
list
option to the validate method. - Code optimizations.
- Fixed issue #3 relating to file loading in frontend environment.
- Removed underscore as dependency.