Skip to content

Releases: smollweide/node-mock-server

v0.23.3

20 Jun 11:42
b4707a9
Compare
Choose a tag to compare

Bugfix:

[fix] Use file path basename instead of file path to determine HTTP status 5bd72f5

v0.23.2

19 Jun 12:50
ddaa1ad
Compare
Choose a tag to compare

Bugfix:

[fix] #102 replace "open" with "opener" dependency 08979f4

v0.23.1

19 May 12:28
9a574b4
Compare
Choose a tag to compare

Bugfix:

[fix] fix vulnerable dependencies f52df53

v0.23.0

08 Mar 21:51
e2fd27d
Compare
Choose a tag to compare

Setup:

[setup] update dependencies and bump up version number 21a7f32
[setup] drop node 4 support 29c8a4f

Code:

[add] reach an external swagger behind a corporate proxy 7555f8a
[change] use create-react-app's openBrowser instead of open 7d2f959

v0.22.1

23 Feb 13:50
48203df
Compare
Choose a tag to compare

Bugfix:

[fix] allow path and filedata for certificate and privateKey de18430

v0.22.0

26 Jan 23:20
9a7c563
Compare
Choose a tag to compare

Setup:

[setup] bump up version number 8ce62f3

Code:

[add] send statusCode 500 if ejs render failed 8169b1a
[add] allow statusCode defined by filename also for static content 2bdb733
[add] allow to specify HTTP response code for success responses d8cf282
[change] use list type instead of input for "accessControlAllowCredentials" in init process a918fce
[add] added support for Access-Control-Allow-Credentials header 67cc951

Documentation:

[doc] updated Readme about ACA-Credentials 56c68fb

v0.21.0

23 Jan 19:59
c853864
Compare
Choose a tag to compare

Setup:

[setup] bump up version number d426a41

Code:

[change] Allow functions as Access-Control-Allow headers 7f8a774

Documentation:

[doc] Updated docs to mention function value for ACA headers 6ebd1d4

v0.20.0

21 Jan 14:43
f15319f
Compare
Choose a tag to compare

Setup:

[setup] use exact verions, update mocha and inquirer c27fad4
[setup] bump up version number 83c7851

Code:

[feature] add option for parsing swagger YAML files 9309013
[feature] decompress gzip responses from tunneled server ca02c73

Bugfix:

[fix] do not proxy transfer encoding header c298400

  • The express server sets transfer encoding / content length itself on send()
  • This may conflict with what the proxy (tunnel) originally returned.

[fix] pass content-type header to proxy 5063a7d

  • must be overriden in node.request() by using capital case Content-Type

[fix] replace spread operator with Object.assign cf331c5
[fix] linting errors a2fc7ec
[fix] set json content correctly 7d49fcd

v0.19.1

09 Jan 20:14
2fe733b
Compare
Choose a tag to compare

Setup:

[setup] bump up version number b449331

Bugfix

[bugfix] #81 send content-type for error responses cdc642c

v0.19.0

07 Jan 22:26
c87c5f3
Compare
Choose a tag to compare

Setup:

[setup] tabs in package.json 32db185
[setup] bump up version number 057c7b5

Bugfix

[bugfix] ignore *~ editor tempfiles using minimatch glob 31a9276
[bugfix] added explicit minimatch dependency 92cdb02
[bugfix] #74 fix reserved keyword vs response body conflict dac3e76
[bugfix] Fixes #71 by removing the trailing slash if it exists 82f19a1

Documentation:

[doc] #80 fix response-header documentation 6a8614c