-
-
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
4 changed files
with
105 additions
and
3 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,102 @@ | ||
--- | ||
meta: | ||
title: Mockoon release v8.1.1 | ||
description: Discover Mockoon applications new v8.1.1 release with an improved logs view, new admin API features, new CLI flags, and serverless options, TLS and environment variables support, and more. | ||
date: '2024-04-30' | ||
--- | ||
|
||
## Patch 8.1.1 fixes the following issues | ||
|
||
Since allowing opening multiple environments at once in v8.1.0, two bugs were fixed: | ||
|
||
- Files couldn't be opened anymore on macOS. (Issue [#1379](https://github.com/mockoon/mockoon/issues/1379)) | ||
- The same environment file could be opened multiple times. (Issue [#1381](https://github.com/mockoon/mockoon/issues/1381)) | ||
|
||
--- | ||
|
||
## v8.1.1 release notes | ||
|
||
Welcome to this new release of Mockoon. It brings new exciting features: **improved logs view**, **new admin API features**, **new CLI flags**, and serverless options, **environment variables support for the TLS settings**. Read on to learn more about this release. | ||
|
||
--- | ||
|
||
## Our sponsors | ||
|
||
[](https://github.blog/2023-04-12-github-accelerator-our-first-cohort-and-whats-next/) | ||
[](https://localazy.com/register?ref=a9CiDC61gOac-azO) | ||
|
||
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! | ||
|
||
[](https://github.com/sponsors/mockoon) | ||
|
||
--- | ||
|
||
## Logs view improvements | ||
|
||
For this release, the desktop application's **Logs view** has been improved. It now includes a search bar to filter logs by URL, method, status code, query, or timestamp: | ||
|
||
 | ||
|
||
(Issue [#1109](https://github.com/mockoon/mockoon/issues/1109)) | ||
|
||
We also added proper **code editors** for the **request and response bodies** in the logs view. They will now display the content with proper formatting and syntax highlighting, and show eventual errors for the JSON format. As a side effect, the bodies are now searchable: | ||
|
||
 | ||
|
||
(Issues [#368](https://github.com/mockoon/mockoon/issues/368) and [#137](https://github.com/mockoon/mockoon/issues/137)) | ||
|
||
Last modification, the **"Last log" link** displayed under the response body now shows when the request or response JSON was malformed: | ||
|
||
 | ||
|
||
## Admin API | ||
|
||
Since the introduction of the admin API in the [previous release](https://mockoon.com/releases/8.0.0/), we added multiple new features: | ||
|
||
- The [admin API can now be **deactivated**](https://mockoon.com/docs/latest/admin-api/overview/#disable-the-admin-api) when running your mock with the CLI or the serverless library. (Issue [#1371](https://github.com/mockoon/mockoon/issues/1371)) | ||
- You can now [reset and update the global variables](https://mockoon.com/docs/latest/admin-api/global-variables/) using the `/mockoon-admin/global-vars` endpoint. (Issue [#1354](https://github.com/mockoon/mockoon/issues/1354)) | ||
- The environment variables can be updated using the `/mockoon-admin/env-vars` endpoint. (Issue [#1372](https://github.com/mockoon/mockoon/issues/1372)) | ||
- The [transaction logs](https://mockoon.com/docs/latest/admin-api/transaction-logs/) of a running mock server can be fetched using the `/mockoon-admin/logs` endpoint. (Issue [#632](https://github.com/mockoon/mockoon/issues/632)) | ||
- The [data buckets can be regenerated](https://mockoon.com/docs/latest/admin-api/data-buckets/) without having to reset the full server state using the `/mockoon-admin/data-buckets` endpoint. (Issue [#1373](https://github.com/mockoon/mockoon/issues/1373)) | ||
|
||
Head to the [documentation](https://mockoon.com/docs/latest/admin-api/overview) to learn more about the admin API. | ||
|
||
## New CLI flags and serverless options | ||
|
||
We added **new flags** to the CLI to allow you to: | ||
|
||
- `--disable-admin-api` to deactivate the admin API. (Issue [#1371](https://github.com/mockoon/mockoon/issues/1371)) | ||
- `--disable-tls` to override the TLS settings and disable it when running in your CI server. (Issue [#668](https://github.com/mockoon/mockoon/issues/668)) | ||
- `--max-transaction-logs` to set the number of logs kept in memory for retrieval via the admin API. (Issue [#632](https://github.com/mockoon/mockoon/issues/632)) | ||
|
||
[Similar options](https://github.com/mockoon/mockoon/tree/main/packages/serverless#options) have been added to the serverless library. | ||
|
||
## TLS and environment variables | ||
|
||
**Templating** is now supported in the **TLS configuration**, allowing you to use environment variables in the certificate paths and password fields. | ||
|
||
 | ||
|
||
(Issue [#1371](https://github.com/mockoon/mockoon/issues/1371)) | ||
|
||
## Improvements | ||
|
||
You can now open **multiple environments** at once in the desktop application: | ||
|
||
 | ||
(Issue [#1187](https://github.com/mockoon/mockoon/issues/1187)) | ||
|
||
## Fixes | ||
|
||
- The PATCH method wasn't working in the callbacks. This is now fixed. (Issue [#1364](https://github.com/mockoon/mockoon/issues/1364)) | ||
- Fixed a bug were the application could reconnect to the sync server with a previous token after switching to a different account. (Issue [#1369](https://github.com/mockoon/mockoon/issues/1369)) | ||
|
||
## Chores | ||
|
||
We updated the libraries and applications dependencies to their latest versions to fix some reported vulnerabilities. | ||
|
||
### Thank you | ||
|
||
A big thank you to the following people who helped to make Mockoon better: | ||
|
||
- [@sakshi4321](https://github.com/sakshi4321): Global vars in admin API. (Issue [#1354](https://github.com/mockoon/mockoon/issues/1354)) |
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