-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
96 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
meta: | ||
title: Mockoon release v5.1.0 | ||
description: Discover Mockoon applications new v5.1.0 release with new command palette, Faker.js v8 migration, Range header support and more. | ||
date: '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. | ||
|
||
--- | ||
|
||
## Our platinum sponsors | ||
|
||
[![GitHub](https://mockoon.com/images/sponsors/github.png)](https://github.blog/2023-04-12-github-accelerator-our-first-cohort-and-whats-next/) | ||
[![Localazy](https://mockoon.com/images/sponsors/localazy.png)](https://localazy.com/register?ref=a9CiDC61gOac-azO) | ||
[![Peakcrypto](https://mockoon.com/images/sponsors/peakcrypto.png)](https://www.peakcrypto.com/) | ||
|
||
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](https://github.com/mockoon/mockoon/blob/main/backers.md) who helped this project over time! | ||
|
||
[![sponsor button](https://mockoon.com/images/sponsor-btn-250.png?)](https://github.com/sponsors/mockoon) | ||
|
||
--- | ||
|
||
## | New command palette | ||
|
||
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](https://discord.gg/FtJjkejKGp) or [GitHub discussions](https://github.com/mockoon/mockoon/discussions). | ||
|
||
![Command palette showing a search for the word create](/images/releases/5.1.0/command-palette.png) | ||
|
||
## | Faker.js v8 migration (⚠️ potentially breaking) | ||
|
||
Mockoon now uses [Faker.js v8](https://fakerjs.dev/guide/upgrading.html). 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](https://fakerjs.dev/guide/upgrading.html) to learn more. | ||
|
||
We added a migration script to make the transition easier. It 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](https://mockoon.com/docs/latest/about/) and [mock samples](https://mockoon.com/mock-samples/category/all/) were updated to reflect these changes and avoid any confusion with old helpers names. | ||
|
||
(Issue [#1150](https://github.com/mockoon/mockoon/issues/1150)) | ||
|
||
## | Range header support | ||
|
||
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](http://mockoon.com/docs/latest/response-configuration/file-serving/#serving-a-range-of-bytes-from-a-file) to learn more about this header. | ||
|
||
(Issue [#1044](https://github.com/mockoon/mockoon/issues/1044)) | ||
|
||
## | Desktop application | ||
|
||
- We fixed a bug occurring at startup when the application was maximized causing the environments and routes menus sizes to not be correctly restored from the settings and often reduced in size. We also fixed a rare bug caused by the same resizing feature that could propagate an erroneous state of the settings and result in an empty UI at startup. (Issue [#1167](https://github.com/mockoon/mockoon/issues/1167)) | ||
- We fixed a bug where the data bucket dropdowns would overflow the screen when displaying long names. | ||
- The log in modal is now automatically closed when the authentication happens through the custom protocol. (Issue [#1158](https://github.com/mockoon/mockoon/issues/1158)) | ||
|
||
## | CLI | ||
|
||
- We improved the error reporting during OpenAPI/data file parsing. (Issue [#1161](https://github.com/mockoon/mockoon/issues/1161)) | ||
|
||
--- | ||
|
||
### Thank you | ||
|
||
A big thank you to the following people that helped to make Mockoon better: | ||
|
||
- [@ajatkj](https://github.com/ajatkj): Faker.js v8 migration. (Issue [#1150](https://github.com/mockoon/mockoon/issues/1150)) | ||
- [@PineappleIOnic](https://github.com/PineappleIOnic): Range header support. (Issue [#1044](https://github.com/mockoon/mockoon/issues/1044)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.