Skip to content

Releases: lwsjs/local-web-server

v2.2.0

22 Jul 08:42
Compare
Choose a tag to compare

v2.1.0

22 Jul 08:41
Compare
Choose a tag to compare

New features

added --view, --verbose.include and --verbose.exclude. More info.

v2.0.3

11 Jul 10:33
Compare
Choose a tag to compare

Restored the -s alias for --spa. Also, the app will now refuse to run on NodeJs older than v7.6.0.

v2.0.0

10 Jul 18:24
Compare
Choose a tag to compare

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.