Welcome to this new release of Mockoon. There are several bug fixes and new features in this version that we hope you will like.
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!
setVar
helper has been reworked and is not breaking anymore when used inside an each
. The usage of variables is also uniformized and now requires an @
. See the updated documentation for more information. (Issue #793)We added a new feature called "Data buckets". It's a key-value store available in each environment. Each data bucket is persistent and generated when the server starts. Data buckets can be directly linked to a route response or using one of the two new helpers: data
and dataRaw
.
Read the documentation to learn more.
This first step will make the development of CRUD and GraphQL routes easier.
(Issue #783)
Until now, the save and open dialogs were pointing by default to Mockoon's binary folder. It could result in data loss as the folder could be wiped on some systems during an update. The dialogs now open to the application's data folder and save their current working directory as it should. (Issue #756)
parseInt
helper. (Issue #766)date
helper is now compatible with other helpers like queryParam
. (Issue #781)objectId
helper is now an alias for Faker.js' mongodbObjectId
method. (Issue #829)setVar
helper has been reworked and is not breaking anymore when used inside an each
. The usage of variables is also uniformized and now requires an @
. See the updated documentation for more information. (Issue #793)