Skip to content

0.3.0

Compare
Choose a tag to compare
@jamonkko jamonkko released this 03 Jun 11:25
· 29 commits to master since this release

New features and improvements

  • Proxy support
  • Logging of response
  • Support all node >= 0.10 versions
  • Support listening of multiple hosts
  • Fix pretty printing of multiline string value inside json
  • Request id (counter + client defined id) printed in divider
  • Updated Babel to v7
  • Changed to use prettier-standard
  • Removed internal meta part, instead print date as part of divider
  • Some dependency update
  • Fix compatibility problem with old node versions #3
  • --default-cors=no cli arg can be used to turn injecting cors on/off

Breaking changes

  • Custom logger opts.log function changed to opts.console (to support grouping/indenting in newer node versions)
  • result cli flags are renamed to response to be more consistent with request/response terminology. E.g. instead of --result-body flag you need to use --response-body. Same applies to opts.resultCode -> opts.responseCode.