Mockoon release v8.2.0

2024-06-03

Welcome to this new release of Mockoon. It brings new exciting features: UI improvements, a new AI assistant for endpoint generation, folder's routes toggling, last opened environment saving and fixes. Read on to learn more about this release.


 Our sponsors

GitHub Localazy

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


 Desktop UI improvements and polishings

During this release, we decided to remove the right-click context menus from various parts of the application. We believe they are not ideal for accessibility and feature discoverability. Also, the options that were behind these menus were often not known by users. We replaced them with buttons in the UI and regular dropdowns

view of the new dropdown menu available by clicking on a three dots button

We also revamped all the application's lists to make them more consistent and display more information at a glance, in a more consistent way. We hope you will like these changes!

view of all the application menus redesigned

The log entries action was moved to a new dropdown menu:

view of the new dropdown menu available on logs entries by clicking on a three dots button

Finally, the unique ID in the data bucket view is now clickable and will copy the ID to the clipboard:

view of the data bucket unique id with a tooltip indicating that the user can click to copy the id to the clipboard

As always, with UX and design changes, there is no easy choice, and it may require a bit of adaptation. We are here to help if you have any questions or feedback.

(Issue #1370)

 New endpoint generation with the AI assistant (PRO)

We are excited to introduce a new feature in Mockoon PRO: the HTTP endpoint AI assistant. This assistant will help you generate endpoints based on a prompt. It will save you time and help you to create your API mocks faster.

The assistant will generate a coherent HTTP endpoint including, path, method, body, and documentation based on the prompt you provide:

animation showing http endpoints being generated with body method path and documentation

We also simplified the AI assistant options, now defaulting to JSON. Only the templating option is now available, and the differentiation between a single object or array is inferred from the prompt.

Before:

view of the previous ai assistant options

After:

view of the new ai assistant options

 Folder's child routes toggling

A new entry to the folder's dropdown menu allows you to toggle (enable/disable) all the routes in a folder at once:

view of the new folder toggle menu entry

As a counterpart, you can toggle all the routes in a folder at runtime using the CLI's --disable-routes flag followed by the folder name or the disabledRoutes option of the serverless package.

(Issue #1188)

 Previously selected environment

The selected environment is now saved by the desktop application and will be restored when you restart Mockoon. It should help you quickly resume your work where you left off.

(Issue #1396)

 Improvement to routes filtering

The routes can now be filtered by type, either "http" or "crud":

screenshot of a route list filtered by crud keyword

 Default CORS headers

The CORS headers are now added by default to all new environments. This should help you to avoid CORS issues when testing your APIs.

view of the environment headers showing the default cors headers

(Issue #1392)

 Fixes

  • Mockoon's server is now able to detect if the request body was already parsed and act accordingly. Thus, requests containing a body are now correctly working with Firebase or Google Cloud Functions when using Mockoon's serverless package. (Issue #1385)

 Thank you

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