Skip to content

Commit 515d159

Browse files
committed
changelog
1 parent 4434a47 commit 515d159

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<a name="1.14.0"></a>
2+
3+
# 1.14.0 (2022-08-27)
4+
5+
## Changes
6+
- fix: Multi-schema nullable validators not working as expected. [#303](https://github.com/icebob/fastest-validator/issues/303)
7+
- add new `haltOnFirstError` option (https://github.com/icebob/fastest-validator#halting). [#304](https://github.com/icebob/fastest-validator/pull/304)
8+
19
<a name="1.13.0"></a>
210

311
# 1.13.0 (2022-08-15)

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ console.log("Second:", check({ id: 2, name: "Adam" }));
9292
```
9393
[Try it on Repl.it](https://repl.it/@icebob/fastest-validator-fast)
9494

95-
If you want to halt immediately after the first error use: `haltOnFirstError`
95+
### Halting
96+
97+
If you want to halt immediately after the first error:
9698
```js
97-
const v = new Validator({haltOnFirstError: true});
99+
const v = new Validator({ haltOnFirstError: true });
98100
```
99101

100102
## Browser usage

0 commit comments

Comments
 (0)