Skip to content

Commit

Permalink
chore(release): 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
codekie committed May 22, 2023
1 parent b08229b commit 9ef5908
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 9 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

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.

## [5.0.0](https://github.com/codekie/openapi-examples-validator/compare/v4.7.1...v5.0.0) (2023-05-22)


### ⚠ BREAKING CHANGES

* Minimum required Node version is 16 now
* Dropped the support of `ajv-oai` in favor of the official
`ajv-formats` as `ajv-oai` is not maintained anymore and only supports `ajv@6.x`.
This may cause different results when using type with formats.
* The property `dataPath` in the validation errors has changed
to `instancePath` and the type has changed from `jsPropertySyntax`
to `JSONPointer`
* Unknown formats do not result in a validation-error anymore but log
a warning to the error-console. To suppress these log entries for
specific formats, pass them with the `--ignore-formats` option
* In the validation-errors, `should` was replaced with `must`

### Features

* support polymorphism with discriminators ([#185](https://github.com/codekie/openapi-examples-validator/issues/185)) ([d596631](https://github.com/codekie/openapi-examples-validator/commit/d59663121ae390037bd0fec037920897923a5c1d))


### Bug Fixes

* upgrade dependencies ([#186](https://github.com/codekie/openapi-examples-validator/issues/186)) ([b08229b](https://github.com/codekie/openapi-examples-validator/commit/b08229b8aa00aa4862de51e39eb61437692a8fe2))

### [4.7.1](https://github.com/codekie/openapi-examples-validator/compare/v4.7.0...v4.7.1) (2022-08-01)


Expand Down
4 changes: 2 additions & 2 deletions dist/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:14.11.0-alpine3.12
FROM node:18.16.0-alpine3.17

RUN npm install -g openapi-examples-validator@4.7.1
RUN npm install -g openapi-examples-validator@5.0.0

ENV NODE_OPTIONS="--unhandled-rejections=strict"
ENTRYPOINT ["openapi-examples-validator"]
Expand Down
2 changes: 1 addition & 1 deletion dist/cli.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cli.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

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": "openapi-examples-validator",
"version": "4.7.1",
"version": "5.0.0",
"description": "Validates embedded examples in OpenAPI-JSONs",
"main": "dist/index.js",
"engines": {
Expand Down

0 comments on commit 9ef5908

Please sign in to comment.