/
CHANGELOG
257 lines (203 loc) 路 3.81 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
1.0.4
Fixes 馃敤
- String
- `.trim()`
1.0.3
Added 馃殌
- String
- `.trim()` (thank you @TolyaDeveloper, for the suggestion!)
Internal 馃彙
- A lot of dev dependencies upgraded
1.0.2
Added 馃殌
- Number
- between (thank you @ftonato for the contribution!)
1.0.1
Added 馃殌
- String
- between (thank you @ftonato for the contribution!)
Internal 馃彙
- A lot of dev dependencies upgraded
1.0.0 馃帀
Improvements
- Drastically improved performance for synchronous validation
- Better API docs
Added 馃殌
- Async validation
Internal 馃彙
- A lot of dev dependencies upgraded
- Removed default exports within code
0.12.2
Improvements 馃敤
- Speed up validation a bit
Internal 馃彙
- Changes to UMD build process
0.12.1
Fixes 馃敤
- URL and e-mail regex security issues
0.12.0
Added 馃殌
- Primitive
- notAllowed
- Ref
- Access parent values
Fixes 馃敤
- Object
- Deep schema validation
Internal 馃彙
- Bump @babel/types to 7.13.14
- Bump @types/jest to 26.0.22
- Bump @types/node to 14.14.37
- Bump @typescript-eslint/eslint-plugin to 4.21.0
- Bump @typescript-eslint/parser to 4.21.0
- Bump eslint to 7.23.0
- Bump eslint-config-prettier to 8.1.0
- Bump eslint-plugin-prettier to 3.3.1
- Bump husky to 6.0.0
- Bump jest to 26.6.3
- Bump lint-staged to 10.5.4
- Bump prettier to 2.2.1
- Bump typescript to 4.2.4
- Replace ts-jest with @swc/jest
- Remove ts-node
- Remove nodemon
0.11.3
Fixes 馃敤
- Date
- before (reference type argument)
- after (reference type argument)
Internal 馃彙
- Bump ts-jest to 25.5.1
- Bump @typescript-eslint/eslint-plugin to 2.32.0
- Bump @typescript-eslint/parser to 2.32.0
0.11.2
Added 馃殌
- String
- exactLength
Fixes
- Primitive
- oneOf (undefined throws error)
0.11.1
Added 馃殌
- Object
- validate
- abortEarly
0.11.0
Added 馃殌
- Object
- validateAt (#232)
0.10.0
Added 馃殌
- Array (#50)
- required
- of
- minLength
- maxLength
- mustContain
- hasOnly
- every
- some
- test
Special thanks to @AAmanzi for adding the array type
Fixes 馃敤
- .required property (#141)
Special thanks to @kuzmycz taking his time to open up an issue and a pull request to fix the .required
Internal 馃彙
- Bump @babel/types to 7.96
- Bump @types/jest to 25.2.1
- Bump @types/node to 13.13.4
- Bump @typescript-eslint/eslint-plugin to 2.30.0
- Bump @typescript-eslint/parser to 2.30.0
- Bump eslint to 6.8.0
- Bump eslint-plugin-prettier to 3.1.3
- Bump husky to 4.2.5
- Bump jest to 25.5.4
- Bump nodemon to 2.0.3
- Bump prettier to 2.0.5
- Bump ts-jest to 25.4.0
- Bump ts-node 8.10.1
- Bump typescript to 3.8.3
0.9.0
Added 馃殌
- Number
- atLeast
- atMost
- greaterThan
- lessThan
Internal 馃彙
- Fixed husky precommit hook
- Replaced TSLint with ESLint
- Bump @types/node to 12.6.6
- Bump lodash to 4.17.4 in /benchmark
- Bump lint-staged to 9.2.0
0.8.1
Fixes 馃敤
- Email validation flag
0.8.0
Added 馃殌
- Object
- noUnkown
Internal 馃彙
- Bumped typescript from 3.5.2 too 3.5.3
- Bumped lint-staged from 9.0.2 to 9.1.0
- Bumped @babel/types from 7.4.4 to 7.5.0
- Bumped @types/node from 12.0.12 to 12.6.1
- Added code of conduct
- Added small PR template
- Readme update
0.7.3
Support build for:
ES2015
ESM
CJS
UMD
AMD
0.7.2
Fixed when conditional not resolving properly in some cases
Dev:
Bumps @types/node from 12.0.10 to 12.0.12
0.7.0
Added
- Primitive
- notOneOf
- Number
- integer
0.6.0
Added
- Primitive
- When
0.5.2
Complexity fixes
Fixed email regex taking too long on certain entries
Added
- String
- regex
0.5.1
Added CircleCI
0.5.0
Added
- Object
- extend
Tweaked lint rules and fixed some docs problems
0.4.0
Added
- Primitives (string, number, date, boolean)
- oneOf
- required
- validate
- String
- url
- email
- min
- max
- Number
- min
- max
- positive
- negative
- Date
- before
- after
- Boolean
- true
- false