2023-10-30
Welcome to this new release of Mockoon. It brings exciting features like a new command palette and the migration to Faker.js v8. We also fixed some bugs in the desktop application and CLI. Read on to learn more about this release.
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!
We added a new command palette in the desktop application to quickly access all the application's features. You can open it by pressing Ctrl+P
(Windows/Linux) or Cmd+P
(MacOS). You can also access it by clicking on the icon in the header (see capture below).
It currently supports most common actions like creating new environments, starting/stopping them, opening the settings, etc. You can also search for any environment, route, or data bucket by typing their name or path. We will add more actions in the future. Let us know what you think, and do not hesitate to suggest new actions on our Discord server or GitHub discussions.
Mockoon now uses Faker.js v8. This update packs a lot of changes regarding the helper names. Some were removed, and many were renamed. For example, name.firstName
moved to person.firstName
. Some new locales were also added, like Danish. Be sure to check their migration guide to learn more.
This new version (both desktop and CLI) will automatically update your environment's inline bodies and data buckets content. However, it won't migrate external files (JSON, CSV, etc.) containing templating helpers, and you will have to do it manually.
All the documentation and mock samples were updated to reflect these changes and avoid any confusion with old helpers names.
(Issue #1150)
Mockoon now supports the Range
header. This header is used to request only a part of a resource, like a binary file, to allow the download in chunks. You can now use it in your routes to simulate this behavior.
Head over to the documentation to learn more about this header.
(Issue #1044)
A big thank you to the following people who helped to make Mockoon better: