Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Releases: mockoon/commons-server

v2.16.4

23 Feb 14:20
Compare
Choose a tag to compare

Fixes

  • Fix body and bodyRaw helpers for empty string paths.
  • Update FakerJS deprecated random.* helpers to datatype.*.

Misc

Move req.parsedBody to req.body

v2.16.3

21 Feb 10:08
Compare
Choose a tag to compare

Fixes

  • Allow number as path for body and bodyRaw helpers. (Issue #42)

v2.16.2

18 Feb 16:34
Compare
Choose a tag to compare

Fixes

  • Make bodyRaw returns the parsed body when no path is provided. (Issue #41)

v2.16.1

18 Feb 10:43
Compare
Choose a tag to compare

Features

  • add raw query string to the Transaction to be displayed in the UI. (Issue mockoon/mockoon#635)

Fixes

  • Make dateTimeShift days, months, years, etc. params compatible with SafeString. (Issue #39)

v2.16.0

11 Feb 15:37
Compare
Choose a tag to compare

Features

  • Extract OpenAPI import/export methods from the main application. (Issue mockoon/cli#18)

v2.15.5

27 Jan 15:56
Compare
Choose a tag to compare

Fixes

  • Use createReadStream instead of sendFile to stream files to avoid breaking changes with headers. (Issue mockoon/mockoon#605)

v2.15.4

27 Jan 13:30
Compare
Choose a tag to compare

Feature

  • When sending files that do not support templating or when templating is disabled, directly stream the file without reading it to improve the performances. (Issue mockoon/mockoon#605)

v2.15.3

25 Jan 10:20
Compare
Choose a tag to compare

Bug

  • Fix Faker.js imports after switch to new lib.

v2.15.2

25 Jan 10:15
Compare
Choose a tag to compare

Misc

v2.15.1

29 Nov 15:55
Compare
Choose a tag to compare

Bug fixes

  • Fixed switch/case helpers which wouldn't work properly with number. (Issue #37)