Releases: kamronbatman/joi-password-complexity
Releases · kamronbatman/joi-password-complexity
v5.2.0
v5.1.0
- Fixes bad esm imports
- Updates dependencies
- Adds CHANGELOG
Examples of usage:
const passwordComplexity = require('joi-password-complexity');
or
import passwordComplexity from 'joi-password-complexity';
v5.0.2
- Fixes missing js file
- Fixes import syntax in js file
- Removes node 14 requirement
v5.0.0
- Removes hapi support
- Converts to typescript
Adds Typescript Definitions
- Adds Typescript Definitions
Adds support for sideway/joi
Adds support for sideway/joi in addition to @hapi/joi.
Note: As joi changes over time, this module will exclusively track sideway/joi.
Peer Dependency
Peer dependency on @hapi/joi has been removed. You will receive a runtime error instead if joi is not peer-installed.
In the future when we exclusively track sideway/joi, the peer dependency will be restored.
Adds Joi v16/v17 Support
BREAKING CHANGES
- Starting with v4 only Joi v16 and higher will be supported.
- Joi is now a peer dependency which should stop any mix version errors.
- Minimum Nodejs version was changed to v10 or higher.
Changes:
- [#14] Added support for Joi v16 and v17 and more descriptive error messages.
v3.0.0 - Support for Joi v15
BREAKING CHANGES
- Starting with v3 only Joi v15 and higher will be supported.
- Minimum Nodejs version was changed to v8 or higher.
Changes:
- [#6] Added support for Joi v15, specific errors, and testing.
v2.0.1 - Fixes cloning issue
- Fixes cloning issue that prevented required(), options(), etc.