This repository was archived by the owner on Jul 12, 2024. It is now read-only.
Releases: mockoon/cli
Releases · mockoon/cli
v0.1.0-beta.12
Fixes:
- Use correct commons-server library version v1.0.5
v0.1.0-beta.11: Support to run multiple environment at the same time (#26)
New feature:
start
command has a new flag--all
to run all mocks in a data file at once. (Issue #26)
v0.1.0-beta.10
Improvements:
- Prefix running mock's name with "mockoon-" and filter running processes by prefix when listing and stopping them, to avoid interfering with other scripts running through PM2. (Issue #23)
v0.1.0-beta.9
This release adds support for Mockoon v1.13.0 new features and improvements.
v0.1.0-beta.8
Fixes:
- Fix missing data folder when running
stop
command after a fresh install. (Issue #22)
v0.1.0-beta.7
Fixes:
start
command now outputs the correct protocolhttp
orhttps
. (Issue #19)
v0.1.0-beta.6
Fixes:
- Fix
base64
helper usage of browser onlybtoa
method. (Issue #17)
This release also add support for Mockoon v1.12.0 new features and improvements:
Features:
- Add new
concat
helper. (Issue mockoon/commons#12) - Add new
setVar
helper. (Issue mockoon/commons#8) - Add new
dateTimeShift
helper. (Issue mockoon/mockoon#355)
Improvements:
- Add full body check in rules interpreter. (Issue mockoon/commons#14)
Fixes:
- Fix failing rule interpreter when target or rule values where null. (Issue mockoon/commons#16)
v0.1.0-beta.5
BREAKING CHANGE:
- The CLI command
mockoon
has been renamedmockoon-cli
to avoid collision with the main application. (Issue #15)
Features:
- A generic Docker image is now available on our Docker Hub repository. See the documentation on how to use it. (Issue #2)
- A new
dockerize
command is available. Use it to generate a custom Dockerfile and build a self-contained mock API image. (Issue #2)
Improvements:
- Add Oclif manifest file for faster
help
command. (Issue #12)
Thank you
A big thank you to the following people that helped to make Mockoon CLI better:
- @mauriceackel: Generic Docker image and
dockerize
command. (Issue #2) - @Spissable: Oclif manifest file (Issues #12)
URL data loading and user prompts
New Features:
- Data files can now be loaded directly from a URL:
mockoon start --data "http://domain.com/my-data.json" --index 0
. (Issue #5) - When running
mockoon start
you will now be prompted to choose an environment. (Issue #6) - When running
mockoon stop
you will now be prompted to choose an environment to stop. (Issue #7)
Thank you
A big thank you to the following people that helped to make Mockoon CLI better:
- @mauriceackel: Thanks for everything! (Issues #5, #6, #7)
First fix
- Fix server.js non working relative path