Skip to content

Commit

Permalink
v5.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
carmine committed Aug 31, 2024
1 parent 392f1dd commit 47a39b3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions CHANGE_HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## (2024-08-31)

* Change AJV allErrors default and support user setting (#955) ([392f1dd](https://github.com/cdimascio/express-openapi-validator/commit/392f1dd)), closes [#955](https://github.com/cdimascio/express-openapi-validator/issues/955) [#954](https://github.com/cdimascio/express-openapi-validator/issues/954)
* Update README.md ([f20b1c9](https://github.com/cdimascio/express-openapi-validator/commit/f20b1c9))
* Use lenient resolver type (#956) ([826ba62](https://github.com/cdimascio/express-openapi-validator/commit/826ba62)), closes [#956](https://github.com/cdimascio/express-openapi-validator/issues/956) [#921](https://github.com/cdimascio/express-openapi-validator/issues/921) [#952](https://github.com/cdimascio/express-openapi-validator/issues/952)


### breaking change

* by defaulting to `true` when not defined by the user.

Add tests:
1. Make sure `AjvOptions` sets the value appropriately based on whether
the end user defined `allErrors` or not.
2. When validating requests, make sure the number of errors reported
(when multiple occur) is 1 when `allErrors` is `false`.

The `allErrors` configuration for OpenAPISchemaValidator is not changed
by this commit since that validation is for trusted content.


## (2024-08-24)

* chore(deps-dev): bump @babel/traverse in /examples/9-nestjs (#948) ([edd054f](https://github.com/cdimascio/express-openapi-validator/commit/edd054f)), closes [#948](https://github.com/cdimascio/express-openapi-validator/issues/948)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-openapi-validator",
"version": "5.3.3",
"version": "5.3.4",
"description": "Automatically validate API requests and responses with OpenAPI 3 and Express.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 47a39b3

Please sign in to comment.