All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.3.1 (2024-10-05)
4.3.0 (2024-10-05)
4.2.0 (2024-06-25)
4.1.2 (2024-04-24)
4.1.1 (2024-03-11)
4.1.0 (2024-03-11)
- generator: do not use example values if the useExampleValues option is set to false (953af41)
4.0.1 (2022-01-31)
- generator: The generation of
examples
can be overwritten - router: Error handling must be confgured outside of the middleware.
- options: The deprecated
file
option is removed. Thelocale
option is removed because Faker.js is no longer used inside the middleware be default and should be configured separetely.jsfCallback
is renamed intoconfigure
.
- generator: allow to overwrite the behavior for
examples
(1466fed)
-
operations: support parameters in the path section (90cbae6), closes #37
-
options: refactor middleware options (c7fdf85)
-
router: remove error handlers from the router (3af3fc7)
3.0.2 (2021-10-27)
3.0.1 (2021-10-24)
- validator: set coerceTypes to parse arrays (e0441d8)
3.0.0 (2021-06-13)
- eslint: fix typo in is authenticated middleware (fb06b82)
- tsconfig: temporarily skip lib checks (84616f8)
2.0.2 (2021-03-08)
2.0.1 (2021-02-17)
- headers: make headers' params case insensitive (370d621)
2.0.0 (2020-12-26)
- cors:
cors
option is no longer available
-
validator: update ajv initialization options according to the new api (04d64f8)
-
cors: remove cors handling (2bc16d0)
1.3.0 (2020-08-31)
- cors: add preflight cors (4fec346)
- json-schema-faker: change the order of extension functions in the generator (a298234)
1.2.0 (2020-08-28)
- generator: add middleware option for configuring json-schema-faker (1f74457)
1.1.0 (2020-08-10)
- router: add cors options to the router (d452812)
- types: fix typecasting (e1c51c9)
1.0.0 (2020-06-28)
- index: remove default export and rename createMiddleware (91d90d3)
0.2.5 (2020-05-08)
0.2.4 (2020-05-03)
0.2.3 (2020-03-23)
0.2.1 (2020-03-17)
0.2.2 (2020-03-23)
0.2.1 (2020-03-17)
0.2.0 (2020-02-25)
- operation: validate request body (37da559)
- operation: validate request query and headers (dff5717)
- operation: validate security schemas on requests (60d468f)
- operations: validate request params (391b38f)
- build: fix build config (3304fb8)