Skip to content

Latest commit

 

History

History
155 lines (74 loc) · 8.08 KB

CHANGELOG.md

File metadata and controls

155 lines (74 loc) · 8.08 KB

Changelog

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)

Features

  • generator: add option for examples randomization in responses (6bb8a1e), closes #52

4.1.2 (2024-04-24)

4.1.1 (2024-03-11)

4.1.0 (2024-03-11)

Bug Fixes

  • generator: do not use example values if the useExampleValues option is set to false (953af41)

4.0.1 (2022-01-31)

⚠ BREAKING CHANGES

  • 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. The locale option is removed because Faker.js is no longer used inside the middleware be default and should be configured separetely. jsfCallback is renamed into configure.

Features

  • generator: allow to overwrite the behavior for examples (1466fed)

Bug Fixes

  • 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)

Bug Fixes

  • validator: set coerceTypes to parse arrays (e0441d8)

3.0.0 (2021-06-13)

Bug Fixes

  • 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)

Bug Fixes

  • headers: make headers' params case insensitive (370d621)

2.0.0 (2020-12-26)

⚠ BREAKING CHANGES

  • cors: cors option is no longer available

Bug Fixes

  • validator: update ajv initialization options according to the new api (04d64f8)

  • cors: remove cors handling (2bc16d0)

1.3.0 (2020-08-31)

Features

  • cors: add preflight cors (4fec346)

Bug Fixes

  • json-schema-faker: change the order of extension functions in the generator (a298234)

1.2.0 (2020-08-28)

Features

  • generator: add middleware option for configuring json-schema-faker (1f74457)

1.1.0 (2020-08-10)

Features

  • router: add cors options to the router (d452812)

Bug Fixes

1.0.0 (2020-06-28)

Bug Fixes

  • 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)

0.1.0 (2020-02-24)

Features

  • operation: validate request body (37da559)
  • operation: validate request query and headers (dff5717)
  • operation: validate security schemas on requests (60d468f)
  • operations: validate request params (391b38f)

Bug Fixes

  • build: fix build config (3304fb8)