Mockoon logo with suitcase

New Windows portable version and more in v1.15.0

Discover Mockoon's new v1.15.0 release with Windows portable version, rules reordering, gzip decoding and more

Guillaume, Founder
Posted by Guillaume, Founder
|
releases

This new release comes with the usual load of bug fixes and minor improvements you can check on the v1.15.0 release page.

You will find below some new features that we would like to highlight:

 Windows portable version

A portable version for Windows is now available. Head over to our download page to download it. When using the portable version, the data folder will be located next to the executable. It will contain Mockoon's application files, your settings, and environments in ./mockoon-data/storage/environments|settings.json. In the non-portable application, these data files are usually stored in your use data folder in c:/Users/xxx/AppData/Roaming/mockoon/storage:

windows portable version

 Rules reordering

Rules can now be reordered with a simple drag and drop. It allows you to influence the order in which the rules are interpreted. You can check our documentation for more information on rules order interpretation.

Drag and drop rules to reorder them

 Listen to localhost only

A new option is available that allows your mocks API to listen to localhost (and 127.0.0.1) only, instead of all network adapters (0.0.0.0). This feature can be easily enabled for each environment in the settings:

tick the localhost only checkbox

This option is also available in the CLI's latest version but is even more customizable. You can pass any hostname at runtime mockoon-cli ... --hostname 192.168.x.x. to listen on a specific network adapter on your machine.

 404 fallback

A new option has been added to the route response to automatically send a 404 status when a file was not found. This option only overrides the status code and will revert to serving the body present in the editor instead of the file.

tick the 404 fallback checkbox

 Gzip decoding

To make debugging easier, compressed bodies received from proxied APIs are now automatically decompressed and displayed in clear in the logs page:

gzip is decoded

This feature currently supports gzip, brotli and deflate.