Releases: lwsjs/local-web-server
Releases · lwsjs/local-web-server
v2.2.0
v2.1.0
v2.0.3
v2.0.0
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.