Desktop release 1.22.0

Welcome to this new release of Mockoon. There are several bug fixes and new features in this version that we hope you will like.


 Support us!

Mockoon is proudly independent and open-source, maintained without external funding. We rely on both sponsorships and Mockoon Cloud subscriptions to keep improving the project and building new features. A big thank you to the companies below for supporting our work and helping us grow (and all the sponsors who helped this project over time!):

GitHub Localazy Lambdatest

If you'd like to support Mockoon as well, you can become a sponsor or subscribe to Mockoon Cloud, every contribution helps keep the project alive and evolving. Thank you!

sponsor button

subscribe to cloud button


 ⚠️ Breaking changes

  • The faker templating helper is no longer stringifying arrays and objects. It can now be used with other helpers like each. (Issue #880)
  • The data and dataRaw helpers do not return the full data bucket anymore when nothing was found at a specific path. (Issue #918)

 Routes folders

You can now organize your routes into folders and sub-folders:

routes organized in folders and sub-folders

This new feature allows users to better organize their routes and make their APIs more readable and easier to navigate, with a clearer hierarchy. During the development, we also reworked how the drag and drop and the filtering are handled, which should result in an overall better experience. Head over to our folders documentation to learn more about this feature. (Issue #97)

 Cloud functions and serverless environments

We published a new @mockoon/serverless package to help you run your mocks in cloud functions and serverless environments (AWS Lambda, GCP/Firebase Functions, etc.). Head over to the dedicated documentation to learn more.

(Issue #861)

 Improvements

  • The full helpers list have been added to the autocomplete menu in the body editor. (Issue #289)
  • A new dateFormat helper has been added. (Issue #873)
  • The HTTP status message (404 - Not Found) is now visible in the logs tab. (Issue #852)
  • A new status templating helper is available. It lets you customize the response status code inside a template. (Issue #894)

 Fixes

  • The faker templating helper is now compatible with some helpers like queryParam. (Issue #887)
  • The data and dataRaw helpers do not return the full data bucket anymore when nothing was found at a specific path. (Issue #918)
  • Templating errors are now correctly reported in the response body when they occurs during the generation of a data bucket. (Issue #866)

 Thank you

A big thank you to the following people who helped to make Mockoon better: