Skip to content

v2.0.0

Compare
Choose a tag to compare
@75lb 75lb released this 10 Jul 18:24
· 140 commits to master since this release

Breaking changes since v1.2.8

  • Now requires NodeJs version 7.6 or above
  • The programmatic API is completely different, new API reference here
  • A few command-line options changed
    • --log-format became --log.format
    • --forbid became --blacklist
    • --no-cache became --no-conditional-get
    • Mock Responses are now defined in a class, rather than plain array/object literal. See here.
    • The -s shortcut for --spa has been removed, please use --spa instead.
    • -c was previously the alias for --compress, it's now the alias for --config-file.
    • -z is the new alias for --compress
    • removed -b, which was previously the alias for --forbid
  • The config file format changed, details here
  • The stats output which used to be the default is now available via --log.format stats

Everything else is either new or unchanged.

All the known issues with v1 are resolved in v2.