Skip to content

Commit 4c6ebcf

Browse files
authored
Merge pull request #17 from evanshortiss/2.0
BREAKING CHANGE: version 2.0 improved ts support and module interface change
2 parents 0c048c4 + 89326d8 commit 4c6ebcf

16 files changed

+546
-313
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ node_modules
33
*.log
44
coverage
55
.nyc_output
6-
package-lock.json
6+
package-lock.json
7+
example/typescript/*.js

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
## CHANGELOG
22
Date format is DD/MM/YYYY
33

4+
## 2.0.0 (27/06/2019)
5+
* Improved TypeScript support with better typings
6+
* Changed export from a factory function to a module exposing `createValidator()`
7+
* Improved TypeScript examples and README
8+
49
## 1.0.0 (13/06/2019)
510
* Migrated from `joi` to `@hapi/joi`.
611
* Dropped Node.js 6 & 7 support (@hapi/joi forces this)

0 commit comments

Comments
 (0)