This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
Releases: mocks-server/plugin-inquirer-cli
Releases · mocks-server/plugin-inquirer-cli
Support NodeJS v17
Changed
- chore: Support any NodeJs version >=12.0.0
- chore: Run tests also in NodeJs 17 in pipelines. Remove tests execution using NodeJs 15
- chore: Update devDependencies
Fixed
- docs: Remove broken npm dependencies badge
Support Node.js v16
Added
- feat: Add node v16.x to engines
Changed
- Update dependencies
Route variants and mocks
Added
- feat: Display current mock.
- feat: Display menus for changing current mock.
- feat: Add menus for changing route variant and restore variants
Changed
- feat: Display legacy options and menus only when core
pathLegacy
setting has value. Add toggle legacy watch menu. - refactor: Refresh inquirer main options every time main menu is displayed.
- chore(deps): Update dependencies
Fixed
- fix: Resolve previous inquirers before displaying a new one
- fix: Start promise was never resolved
BREAKING CHANGE
- Changed format of
cli
option to boolean (now--no-cli
has to be used to disable it)
Update core dependency
Changed
- chore(deps): Update mocks-server/core dependency. Adapt tests.
v2.0.0 pre-release
Added
- feat: Display current mock.
- feat: Display menus for changing current mock.
- feat: Add menus for changing route variant and restore variants
Changed
- feat: Display legacy options and menus only when core
pathLegacy
setting has value. Add toggle legacy watch menu. - refactor: Refresh inquirer main options every time main menu is displayed.
Fixed
- fix: Resolve previous inquirers before displaying a new one
- fix: Start promise was never resolved
BREAKING CHANGE
- Changed format of
cli
option to boolean (now--no-cli
has to be used to disable it)
Fix restart on change cli option
Fixed
- fix: Do not stop listening to changeSettings event on stop plugin, as it has to be restarted if
cli
setting changes totrue
Upgrade minor version
Changed
- chore(release): Upgrade minor version, as previous release was wrongly released as patch
Display alerts
Added
- feat: Add sections headers
- feat: Display alerts (#110)
- style(lint): Add eslint plugin to avoid the usage of
only
in tests
Changed
- refactor: Move render helpers to a helpers file
- refactor: Remove unused inquirerCli option
- test(e2e): Move support elements to support folder
- docs(readme): Add main features chapter
- chore(deps): Update dependencies
Fixed
- fix: Add/remove listeners in start/stop methods, not in the init one
Node v15.x support
Added
- chore(deps): Add support for Node.js v15.x
Changed
- chore(ci): Migrate from Travis CI to github actions
- test(e2e): Rename acceptance tests into e2e tests
Update dependencies
Changed
- chore(deps): Update dependencies