2024-04-30
Welcome to this new release of Mockoon. It brings new exciting features: improved logs view, new admin API features, new CLI flags, and serverless options, environment variables support for the TLS settings. Read on to learn more about this release.
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!):
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!
For this release, the desktop application's Logs view has been improved. It now includes a search bar to filter logs by URL, method, status code, query, or timestamp:

(Issue #1109)
We also added proper code editors for the request and response bodies in the logs view. They will now display the content with proper formatting and syntax highlighting, and show eventual errors for the JSON format. As a side effect, the bodies are now searchable:

Last modification, the "Last log" link displayed under the response body now shows when the request or response JSON was malformed:

Since the introduction of the admin API in the previous release, we added multiple new features:
/mockoon-admin/global-vars endpoint. (Issue #1354)/mockoon-admin/env-vars endpoint. (Issue #1372)/mockoon-admin/logs endpoint. (Issue #632)/mockoon-admin/data-buckets endpoint. (Issue #1373)Head to the documentation to learn more about the admin API.
We added new flags to the CLI to allow you to:
--disable-admin-api to deactivate the admin API. (Issue #1371)--disable-tls to override the TLS settings and disable it when running in your CI server. (Issue #668)--max-transaction-logs to set the number of logs kept in memory for retrieval via the admin API. (Issue #632)Similar options have been added to the serverless library.
Templating is now supported in the TLS configuration, allowing you to use environment variables in the certificate paths and password fields.

(Issue #1371)
You can now open multiple environments at once in the desktop application:
(Issue #1187)
We updated the libraries and applications dependencies to their latest versions to fix some reported vulnerabilities.
A big thank you to the following people who helped to make Mockoon better: