dataRaw
helper now correctly returns the data at the object path. Falsy values at path are also supported. (Issue #842)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!
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)