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.


Our platinum sponsor

Appwrite

Mockoon is an open-source project built by volunteer maintainers. If you like our application, please consider sponsoring us and join all the Sponsors and Backers who helped this project over time!

sponsor 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 that helped to make Mockoon better: