File: /var/www/api.javaapp.co.uk_old/node_modules/node-input-validator/CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [4.3.3]
### Fixed
- message ordering
### Changed
- regex rule now accepts flags
## [4.3.2]
### Fixed
- url rule breaks with non string value (issues/43)
## [4.3.1]
### Added
- support for passing locale to alpha, alphaNumeric, phoneNumber
- wildcardIterations are now configurable
- getErrors() in validator to match v5 api
- validate() in validator to match v5 api
### Fixed
- typescript definition improvements
### Changed
- docs updated
- mime rule improvements
### Security
- deps updated to latest
## [4.2.1]
### Fixed
- correct pattren regex in applyOnDeep method to match multi-digit numbers
- issue with addCustomMessages method
## [4.2.0-rc2]
### Added
- assert rules to check invalid rules
## [4.2.0-rc1]
### Added
- Persian(farsi) support [#24](https://github.com/bitnbytesio/node-input-validator/pull/24)
- rule:different
## [4.1.0]
### Added
- support for root level array
### Fixed
- exception if rule againest attr not defined
## [4.0.0]
### Added
- multiple errors support
- global level nice names
- support for async and non-async rules
- Deeply nested objects validation
### Changed
- ValidatorInstance.setAttributeNames renamed to ValidatorInstance.niceNames
- Validator.messages renamed to .extendMessages
- Namespace and directory structure
- all previous async rules to sync
- Params of all rules/add new rules/post rules/message parser
### Removed
- Validator.messages in favour of .extendMessages
- Top level Validator class
- Nodejs 7 support dropped
### Fixed
- numeric rule behaviour
### Security
- deps updated to latest
## [3.7]
### Added
- dimensions rule
### Fixed
- breakage in case of missing required nested field
## [3.6.4]
### Fixed
- breaking changes in message parser due to trimStart for 3.6.* fixed
## [3.6.3]
### Fixed
- breaking changes in message parser for 3.6.* fixed
## [3.6.2]
### Fixed
- digits rule was not checking for digits
## [3.6.1]
### Fixed
- double space in case of camel case attributes
## [3.6.0]
### Added
- datetime: attribute must be in format YYYY-MM-DD HH:mm:ss
- dateiso: attribute must be valid iso date
### Fixed
- required: empty check was failing in case of boolean false and int 0
- lengthBetween: no error in case of invalid maximum seed
## [3.5.0]
### Added
- arrayUnique: array must contains unique values
- arrayUniqueObjects: array of objects must have unique attribute as per seed
- length: length rule with max and min (optional) seed
### Fixed
- requiredwith, requiredWithout throw exception in case of invalid seed
- integer 0 makes required rule to failed, as 0 was considered as empty
## [3.4.2]
### Added
- Example of custom rule using other attributes
## [3.4.1]
### Fixed
- crash in case of using non-string rules in constructor will now fails with exception of in valid rule
## [3.4.0]
### Added
- gt: greater then another field rule
- gte: greater then or equals another field rule
- lt: less then another field rule
- lte: less then or equals another field rule
### Fixed
- typings
- multiple underscore (_) replacement with space issue
## [3.3.0]
### Fixed
- between rule
- lengthBetween rule
### Security
- npm audit vulnerabilities fix