# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [4.0.0-alpha.0](https://github.com/stranerd/validate/compare/v3.5.1...v4.0.0-alpha.0) (2023-02-13)


### Features

* and and or rules ([fb7e34e](https://github.com/stranerd/validate/commit/fb7e34edb13ae495214618008ee301eeb439aeed))
* array set sanitizer ([c55d22f](https://github.com/stranerd/validate/commit/c55d22f250e668af17687d0e49bae4f5eedd5dac))
* custom rule and api ([36ddeef](https://github.com/stranerd/validate/commit/36ddeef0dbf624dc6fd0f4aaf42663ababf68b80))
* date lt & gt & default as func ([465d015](https://github.com/stranerd/validate/commit/465d015abe17ea23d3da9dc1228263a32a7af6bb))
* differ utils ([91803dd](https://github.com/stranerd/validate/commit/91803dd106353cbe5b1625bfdfb1dd852d5b156c))
* ignore type of input ([724408d](https://github.com/stranerd/validate/commit/724408daf341378a046271f1482a4d87e955ad64))
* instanceof ([ff311c2](https://github.com/stranerd/validate/commit/ff311c2d838b505ca063d2c813a789c17883cfa6))
* isTuple rule ([2c86e08](https://github.com/stranerd/validate/commit/2c86e08beed0f3cb767b2b942705f1d334f1026c))
* object validation ([387a99c](https://github.com/stranerd/validate/commit/387a99c91732d3bd7406bcb1ac152a93a6186f00))
* partial types ([058de1e](https://github.com/stranerd/validate/commit/058de1e87d6b5e3b5573c2d0b7069e26e392d33d))
* records and maps ([5e0d677](https://github.com/stranerd/validate/commit/5e0d677a8cbb5001f69950b65a0f7fd9d2683a5f))
* time as stamp, string or date ([74ff734](https://github.com/stranerd/validate/commit/74ff734c21912986a2033d1dfb4de10d1b63c746))
* timestamp api ([2be26c0](https://github.com/stranerd/validate/commit/2be26c06b5f804e3ba5ac0f4207065cece90c02e))
* trim objects ([25f8e71](https://github.com/stranerd/validate/commit/25f8e71718caef713bf379a64c0f31212d0e6661))
* tuples ([5e91409](https://github.com/stranerd/validate/commit/5e914090ab30bc613ae82e2921e9795681ba4261))
* url validation ([dda182e](https://github.com/stranerd/validate/commit/dda182e133c529f535720ef990394459c9a2ab5a))


### Bug Fixes

* allowing forced in other types ([0202329](https://github.com/stranerd/validate/commit/02023296b0e062de4882a94e96d6ab8fe0a328ed))
* allowing transforms in arrays in tuples and arrays ([35ae0f6](https://github.com/stranerd/validate/commit/35ae0f67c66948d9ec889a67e354f4b64d87ff00))
* allowing transforms in junctions and records ([71d4a91](https://github.com/stranerd/validate/commit/71d4a910eca52b4695b4ca0781424e6760336e4b))
* allowing transforms in objects ([ffc2c03](https://github.com/stranerd/validate/commit/ffc2c03c2f15dd62ce33962161f27e97ee4b10e0))
* time typings ([793f9d7](https://github.com/stranerd/validate/commit/793f9d7de4408504971705a1935eb2fa9d042121))
* type of object & or ([513330b](https://github.com/stranerd/validate/commit/513330b120bdeb240957389e0dec67abc7756672))
* vpartial typing ([771e179](https://github.com/stranerd/validate/commit/771e179654fd3a85c3808a442979af40a11d1fb4))

### [3.5.1](https://github.com/stranerd/validate/compare/v3.5.0...v3.5.1) (2023-01-16)


### Bug Fixes

* getRandomSample logic ([0c02ee0](https://github.com/stranerd/validate/commit/0c02ee060e6268e28427b0fd7aa95c55d3778c38))

## [3.5.0](https://github.com/stranerd/validate/compare/v3.4.0...v3.5.0) (2023-01-07)


### Features

* common utils functions ([3716d2d](https://github.com/stranerd/validate/commit/3716d2d701d3d05652945a6a0848810a62ff13ed))

## [3.4.0](https://github.com/stranerd/validate/compare/v3.3.2...v3.4.0) (2022-07-09)


### Features

* export valid file mime types list ([663772a](https://github.com/stranerd/validate/commit/663772a2c31f938a360ba739cfe608f4b1ad8357))

### [3.3.2](https://github.com/stranerd/validate/compare/v3.3.1...v3.3.2) (2022-07-04)

### [3.3.1](https://github.com/stranerd/validate/compare/v3.3.0...v3.3.1) (2022-06-17)


### Bug Fixes

* allow any value if presence is false ([d0d5c25](https://github.com/stranerd/validate/commit/d0d5c256ff043cea5c937c9aa2ae6260f560a569))

## [3.3.0](https://github.com/stranerd/validate/compare/v3.2.0...v3.3.0) (2022-05-21)


### Bug Fixes

* remove requiredIf ([27be336](https://github.com/stranerd/validate/commit/27be336ed4f17849e67dfe799ed8d346ab682415))

## [3.2.0](https://github.com/stranerd/validate/compare/v3.1.0...v3.2.0) (2022-05-21)


### Bug Fixes

* remove requiredIf ([e483346](https://github.com/stranerd/validate/commit/e48334642ca9dbb4869d21185c8e282b6303f80c))

## [3.1.0](https://github.com/stranerd/validate/compare/v3.0.0...v3.1.0) (2022-05-20)


### Bug Fixes

* allow nullable if required ([279dd69](https://github.com/stranerd/validate/commit/279dd6919d3c3e7135344a7e727f2bd86731b648))

## [3.0.0](https://github.com/stranerd/validate/compare/v2.4.0...v3.0.0) (2022-05-20)

## [2.4.0](https://github.com/stranerd/validate/compare/v2.3.0...v2.4.0) (2022-04-24)


### Features

* add audio types ([ff06944](https://github.com/stranerd/validate/commit/ff06944a5ed0bb96cb46f4c60e00cc6acea6826f))

## [2.3.0](https://github.com/stranerd/validate/compare/v2.2.0...v2.3.0) (2022-04-17)


### Features

* isXThanOrEqualTo ([7d3194a](https://github.com/stranerd/validate/commit/7d3194a3eb6548b84d9161190deb4a39654785ee))

## [2.2.0](https://github.com/stranerd/validate/compare/v2.1.1...v2.2.0) (2022-04-01)

### [2.1.1](https://github.com/stranerd/validate/compare/v2.1.0...v2.1.1) (2022-03-05)


### Bug Fixes

* add type for extract url ([24ccd98](https://github.com/stranerd/validate/commit/24ccd9826dee6781977303d42dc67c6e122173e4))

## [2.1.0](https://github.com/stranerd/validate/compare/v2.0.0...v2.1.0) (2022-03-05)


### Features

* extract urls ([a202757](https://github.com/stranerd/validate/commit/a202757694469e96e41ebfeb961ace41f0e8dd47))

## [2.0.0](https://github.com/stranerd/validate/compare/v1.7.0...v2.0.0) (2022-02-16)


### Bug Fixes

* presence ([9574477](https://github.com/stranerd/validate/commit/9574477ae770bdd133bf83a216338e7abf59ee92))

## [1.7.0](https://github.com/stranerd/validate/compare/v1.6.0...v1.7.0) (2022-01-26)


### Bug Fixes

* only test values if presence ([76d61a6](https://github.com/stranerd/validate/commit/76d61a64a552a321d32800e038fb27220eef5089))

## [1.6.0](https://github.com/stranerd/validate/compare/v1.5.0...v1.6.0) (2021-10-09)


### Bug Fixes

* helpers for all other rules ([4867221](https://github.com/stranerd/validate/commit/486722148390d4ab5f826fc15d41edd80f3258b8))

## [1.5.0](https://github.com/stranerd/validate/compare/v1.4.5...v1.5.0) (2021-10-09)


### Features

* allow custom error messages ([af167cf](https://github.com/stranerd/validate/commit/af167cf0d205817fba98d08af6643c83c5969bb7))

### [1.4.5](https://github.com/stranerd/validate/compare/v1.4.4...v1.4.5) (2021-09-30)


### Bug Fixes

* is String ([b7c4017](https://github.com/stranerd/validate/commit/b7c4017b9fdf7c54010036bdb811613525d58307))

### [1.4.4](https://github.com/stranerd/validate/compare/v1.4.3...v1.4.4) (2021-09-30)


### Bug Fixes

* is String ([f906beb](https://github.com/stranerd/validate/commit/f906bebd37412d0a7c30de1240d284fa5acd1628))

### [1.4.3](https://github.com/stranerd/validate/compare/v1.4.2...v1.4.3) (2021-09-20)


### Bug Fixes

* validator isRequiredIf ([be0553e](https://github.com/stranerd/validate/commit/be0553ea2834aa4b6ff2fbfe571721c86dc58a6f))

### [1.4.2](https://github.com/stranerd/validate/compare/v1.4.1...v1.4.2) (2021-09-16)


### Bug Fixes

* list of error messages ([70646b7](https://github.com/stranerd/validate/commit/70646b7d967305ff0c2950e2c0a00f5494b8f16d))

### [1.4.1](https://github.com/stranerd/validate/compare/v1.4.0...v1.4.1) (2021-09-13)

## [1.4.0](https://github.com/stranerd/validate/compare/v1.3.3...v1.4.0) (2021-09-13)


### Features

* isDeepEqualTo ([5a56e03](https://github.com/stranerd/validate/commit/5a56e039c2fc1d526c19c7ba98b84c50278d84fa))

### [1.3.3](https://github.com/stranerd/validate/compare/v1.3.2...v1.3.3) (2021-09-08)


### Bug Fixes

* array of type message ([e459349](https://github.com/stranerd/validate/commit/e459349d67c7c67a8b2ec78a36fde2431a3dd38c))

### [1.3.2](https://github.com/stranerd/validate/compare/v1.3.1...v1.3.2) (2021-09-08)


### Bug Fixes

* rule typing ([5fb1b50](https://github.com/stranerd/validate/commit/5fb1b50a03ed51d5f71d82b4d4fb1f3613366839))

### [1.3.1](https://github.com/stranerd/validate/compare/v1.3.0...v1.3.1) (2021-09-08)


### Bug Fixes

* isValid ([7891fe7](https://github.com/stranerd/validate/commit/7891fe7042541ee4ecc1ac8541f9bb5a6f599d09))

## [1.3.0](https://github.com/stranerd/validate/compare/v1.2.1...v1.3.0) (2021-09-08)


### Features

* types ([f649978](https://github.com/stranerd/validate/commit/f6499782719ecb959d581091a003b0e02dbc48f7))

### [1.2.2](https://github.com/stranerd/validate/compare/v1.2.1...v1.2.2) (2021-09-08)

### [1.2.1](https://github.com/stranerd/validate/compare/v1.2.0...v1.2.1) (2021-09-08)


### Bug Fixes

* lint all ([92ead16](https://github.com/stranerd/validate/commit/92ead16a635a1ebe6505a895f4b182e8ef7e4f36))

## [1.2.0](https://github.com/stranerd/validate/compare/v1.1.6...v1.2.0) (2021-09-08)


### Features

* isBoolean and arrayContains ([bae8a65](https://github.com/stranerd/validate/commit/bae8a65fbb16569a403a94d02e7cc73fb59c33dc))

### [1.1.6](https://github.com/stranerd/validate/compare/v1.1.5...v1.1.6) (2021-08-27)


### Bug Fixes

* allow null for isRequiredIf ([9906f6f](https://github.com/stranerd/validate/commit/9906f6f1a064834a7c54c1efe9f0f2afecb14df8))

### [1.1.5](https://github.com/stranerd/validate/compare/v1.1.4...v1.1.5) (2021-08-22)


### Bug Fixes

* isRequiredIf unshift ([f259ff3](https://github.com/stranerd/validate/commit/f259ff37e11dcbe60733a4ef9fd5d972d361273f))

### [1.1.4](https://github.com/stranerd/validate/compare/v1.1.3...v1.1.4) (2021-08-22)


### Bug Fixes

* isRequiredIf to Validator ([f1fe025](https://github.com/stranerd/validate/commit/f1fe02564e20e7220980ae537561cdddc46bd7b1))

### [1.1.3](https://github.com/stranerd/validate/compare/v1.1.2...v1.1.3) (2021-08-20)


### Bug Fixes

* updated README ([26609ab](https://github.com/stranerd/validate/commit/26609ab384687e3a357113afb624ae47da493a93))

### [1.1.2](https://github.com/stranerd/validate/compare/v1.1.1...v1.1.2) (2021-08-20)


### Bug Fixes

* test types ([3224755](https://github.com/stranerd/validate/commit/322475596c4a3ac6f52de4f410f24d9740474145))

### [1.1.1](https://github.com/stranerd/validate/compare/v1.1.0...v1.1.1) (2021-08-20)


### Bug Fixes

* clear cache ([147c4e4](https://github.com/stranerd/validate/commit/147c4e4a38d3568ad77fc6fa8228bbc28c8cf0de))
* git prehooks ([3e75e3f](https://github.com/stranerd/validate/commit/3e75e3f27288f41f9e82c40672dc25576c9d620d))

## [1.1.0](https://github.com/stranerd/validate/compare/v1.0.5...v1.1.0) (2021-08-20)

### [1.0.5](https://github.com/stranerd/validate/compare/v1.0.4...v1.0.5) (2021-08-20)


### Bug Fixes

* export everything in index ([dbac90c](https://github.com/stranerd/validate/commit/dbac90c7827d28326bfd0503bee2dfde249cb609))

### [1.0.4](https://github.com/Kevinand11/sd-validate/compare/v1.0.3...v1.0.4) (2020-10-22)


### Bug Fixes

* exporting type Rule in index file ([8f898e9](https://github.com/Kevinand11/sd-validate/commit/8f898e9a204d0183d45f11fb79078f4a75ac3eda))

### [1.0.3](https://github.com/Kevinand11/sd-validate/compare/v1.0.2...v1.0.3) (2020-10-22)


### Bug Fixes

* **build:** generating declaration files on build ([5b25d8e](https://github.com/Kevinand11/sd-validate/commit/5b25d8ea186e41c73218cba3ef8b7300d4471c8d))

### [1.0.2](https://github.com/Kevinand11/sd-validate/compare/v1.0.1...v1.0.2) (2020-10-20)


### Bug Fixes

* **readme:** updated README.md file ([70b9550](https://github.com/Kevinand11/sd-validate/commit/70b9550552cb2a8641d9d60a623f045d7d10a779))

### [1.0.1](https://github.com/Kevinand11/sd-validate/compare/v1.0.0...v1.0.1) (2020-10-20)


### Bug Fixes

* **readme:** added README.md file ([aa6619a](https://github.com/Kevinand11/sd-validate/commit/aa6619a169f5f592893d591e76f2cc6a03e874a0))

## 1.0.0 (2020-10-20)


### Bug Fixes

* ensured ci build package before publishing ([33a95bc](https://github.com/Kevinand11/sd-validate/commit/33a95bcff6f8728a8454bca7860b223df983ed10))
* removing linting from build process ([8883d86](https://github.com/Kevinand11/sd-validate/commit/8883d86aef9b60a70e251d6ddb5c4700dc8217c6))
