Skip to content

Commit

Permalink
Add 6.1.0 changelog
Browse files Browse the repository at this point in the history
Remove Fern as sponsor
  • Loading branch information
255kb committed Dec 29, 2023
1 parent 2974326 commit aa22708
Show file tree
Hide file tree
Showing 16 changed files with 103 additions and 16 deletions.
2 changes: 0 additions & 2 deletions content/docs/latest/openapi/import-export-openapi-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ To export an environment to a JSON file, open the **Import/export** menu, select
### Compatibility

Compatibility between the OpenAPI specification and Mockoon's features is only partial and detailed in the [next article](docs:openapi/openapi-specification-compatibility).

> <pre>{"type": "##sponsoring##", "text": "For those looking to further leverage OpenAPI specifications in their workflow, consider Fern. Fern is an open-source toolkit that uses your API definition to generate idiomatic SDKs, server-side code, and beautiful documentation. Its schema-first design approach and automated outputs can provide a comprehensive solution for those seeking to optimize their OpenAPI workflow.", "link": "https://www.devmark.ai/fern/?utm_source=mockoon&utm_loc=docs-1&utm_type=embedding"}</pre>
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ OpenAPI import and export currently support the following API information:
- Routes paths (including route parameters translated to `/:param`), methods, responses with status code (200, etc.), headers, and descriptions.

_Import only_: sample responses and JSON bodies are created from OpenAPI schemas and examples during import.

> <pre>{"type": "##sponsoring##", "text": "For those looking to further leverage OpenAPI specifications in their workflow, consider Fern. Fern is an open-source toolkit that uses your API definition to generate idiomatic SDKs, server-side code, and beautiful documentation. Its schema-first design approach and automated outputs can provide a comprehensive solution for those seeking to optimize their OpenAPI workflow.", "link": "https://www.devmark.ai/fern/?utm_source=mockoon&utm_loc=docs-2&utm_type=embedding"}</pre>
2 changes: 1 addition & 1 deletion content/old-releases/desktop/1.19.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ We updated the [OpenAPI documentation](https://mockoon.com/docs/latest/openapi/o

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@barefootdeveloper](https://github.com/barefootdeveloper): Improved default route response selection. (Issue [#252](https://github.com/mockoon/mockoon/issues/252))
- [@tsgodara](https://github.com/tsgodara): Logs crashing when malformed URI sent. (Issue [#689](https://github.com/mockoon/mockoon/issues/689))
2 changes: 1 addition & 1 deletion content/old-releases/desktop/1.22.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Head over to the [dedicated documentation](https://github.com/mockoon/mockoon/tr

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@AndreiOrmanji](https://github.com/AndreiOrmanji): Add HTTP status message in the logs. (Issue [#852](https://github.com/mockoon/mockoon/issues/852))
- [@dashie](https://github.com/dashie): New `status` helper. (Issue [#894](https://github.com/mockoon/mockoon/pull/894))
Expand Down
2 changes: 1 addition & 1 deletion content/old-releases/desktop/1.23.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ We improved the logs interface to clarify the purpose of the delete button:

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@daniel-schulz](https://github.com/daniel-schulz): WebDAV methods. (Issue [#937](https://github.com/mockoon/mockoon/issues/937))
- [@mathilde-lannes](https://github.com/mathilde-lannes): OpenAPI examples support. (Issue [#967](https://github.com/mockoon/mockoon/pull/967))
Expand Down
2 changes: 1 addition & 1 deletion content/releases/3.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ We also made the following improvements:

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@gerwazy102](https://github.com/gerwazy102): Docker image Arm64 arch. (Issue [#670](https://github.com/mockoon/mockoon/issues/670))
- [@likileads](https://github.com/likileads): Node.js 14 end of support. (Issue [#959](https://github.com/mockoon/mockoon/issues/959))
Expand Down
2 changes: 1 addition & 1 deletion content/releases/3.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ You can now zoom in and out using the `Ctrl + +` and `Ctrl + -` shortcuts. The z

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@roybarber](https://github.com/roybarber): Serverless instructions for Netlify. (Issue [#1060](https://github.com/mockoon/mockoon/pull/1060))
- [@vishwasganatra](https://github.com/vishwasganatra): status code in logs. (Issue [#1031](https://github.com/mockoon/mockoon/issues/1031))
2 changes: 1 addition & 1 deletion content/releases/4.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Finally, the new logging format automatically filters out credentials from the l

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@ajatkj](https://github.com/ajatkj): Faker.js methods containing numbers. (Issue [#1078](https://github.com/mockoon/mockoon/issues/1078))
- [@martin-bucinskas](https://github.com/martin-bucinskas): CLI refactoring and PM2 removal. (Issue [#1081](https://github.com/mockoon/mockoon/issues/1081))
Expand Down
2 changes: 1 addition & 1 deletion content/releases/4.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The templating helpers are now supported in the rule values letting you create d

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@ajatkj](https://github.com/ajatkj): Support for properties with dots in `queryParam` and `queryParamRaw` helpers. (Issue [#1115](https://github.com/mockoon/mockoon/issues/1115))
- [@edtoken](https://github.com/edtoken): `filter` and `object` templating helpers and `eq` helper update. (Issues [#1103](https://github.com/mockoon/mockoon/issues/1103) and [#1114](https://github.com/mockoon/mockoon/issues/1114))
Expand Down
2 changes: 1 addition & 1 deletion content/releases/5.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ We also updated the desktop application's demo environment to showcase this new

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@ajatkj](https://github.com/ajatkj): JSONPath support. (Issue [#995](https://github.com/mockoon/mockoon/issues/995))
2 changes: 1 addition & 1 deletion content/releases/5.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Head over to the [documentation](http://mockoon.com/docs/latest/response-configu

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who 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))
2 changes: 1 addition & 1 deletion content/releases/6.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ You will find more information about these commands in the [CLI documentation](h

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@fabhoarau](https://github.com/fabhoarau): Bootstrap 5 migration. (Issue [#1185](https://github.com/mockoon/mockoon/issues/1185))
- [@isuru89](https://github.com/isuru89): Callbacks feature. (Issue [#709](https://github.com/mockoon/mockoon/issues/709))
Expand Down
2 changes: 1 addition & 1 deletion content/releases/6.0.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ You will find more information about these commands in the [CLI documentation](h

### Thank you

A big thank you to the following people that helped to make Mockoon better:
A big thank you to the following people who helped to make Mockoon better:

- [@fabhoarau](https://github.com/fabhoarau): Bootstrap 5 migration. (Issue [#1185](https://github.com/mockoon/mockoon/issues/1185))
- [@isuru89](https://github.com/isuru89): Callbacks feature. (Issue [#709](https://github.com/mockoon/mockoon/issues/709))
Expand Down
91 changes: 91 additions & 0 deletions content/releases/6.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
meta:
title: Mockoon release v6.1.0
description: Discover Mockoon applications new v6.1.0 release with the new callbacks feature, CLI import/export commands, bug fixes and more.
date: '2023-12-29'
---

Welcome to this new release of Mockoon, the last of 2023!
It brings two new exciting features: **CRUD filtering and searching**, and **global variables**. 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)

---

## CRUD filtering and searching

This new feature adds **search and filter** options to the main GET endpoint of a CRUD route, using query parameters. Many operators are available to filter your data like `_eq`,`_gt`,`_lte`, or `_start`. They can filter on any property of the data, including nested properties using the dot notation:

`/users?name_eq=John&age_gt=18&address.city_start=New`

You can also use the `search` parameter to search for a string in all properties of the data:

`/users?search=john`

Read more about this feature in the [documentation](https://mockoon.com/docs/latest/api-endpoints/crud-routes/#filtering-sorting-and-pagination-on-the-main-get-route).

(Issue [#1047](https://github.com/mockoon/mockoon/issues/1047))

## Global variables

Mockoon now supports **global variables** that can be set and accessed using the [`setGlobalVar`](https://mockoon.com/docs/latest/templating/mockoon-helpers/#setglobalvar) and [`getGlobalVar`](https://mockoon.com/docs/latest/templating/mockoon-helpers/#getglobalvar) helpers at runtime.

```handlebars
{{setGlobalVar 'myVar' 'myValue'}}
{{getGlobalVar 'myVar'}}
```

These variables can be used anywhere templating is supported, like the response body or headers. Their values are reset when the environment is stopped or restarted.

Read more about this feature in the [documentation](https://mockoon.com/docs/latest/global-variables/overview/).

## OpenAPI import improvements

- The OpenAPI v3 specification `server.url` is now correctly parsed when it only contains a path (no protocol or domain). (Issue [#1221](https://github.com/mockoon/mockoon/issues/1221))
- The CLI is now correctly reporting the OpenAPI import errors alongside Mockoon's format parser errors. (Issue [#1229](https://github.com/mockoon/mockoon/issues/1229))
- Files with `.yml` extensions are now selectable in the OpenAPI import dialog. (Issue [#1229](https://github.com/mockoon/mockoon/issues/1229))

## Desktop application

- Fix the data bucket name not being displayed on a CRUD route view when creating from the template modal. (Issue [#1234](https://github.com/mockoon/mockoon/issues/1234))
- Fix the Faker.js locale not being applied from the settings on startup. (Issue [#1222](https://github.com/mockoon/mockoon/issues/1222))
- Fix callbacks not being removed from the route response's callbacks view when deleted, in the case multiple responses were present. (Issue [#1215](https://github.com/mockoon/mockoon/issues/1215))

## CLI and Serverless new Faker.js options

New flags were added to the CLI, and new options to the Serverless package, to allow setting the Faker.js locale and seed.

For the CLI, use the `--faker-locale` and `--faker-seed` flags. More information in the [CLI's documentation](https://github.com/mockoon/mockoon/blob/main/packages/cli/README.md#fakerjs-options).

For the Serverless package, use the `fakerOptions.locale` and `fakerOptions.seed` options:

```javascript
const mockoonServerless = new mockoon.MockoonServerless(mockEnv, {
fakerOptions: {
locale: 'en_GB',
seed: 1234
}
});
```

More information in the [Serverless package's documentation](https://github.com/mockoon/mockoon/blob/main/packages/serverless/README.md#fakerjs-options)

(Issue [#669](https://github.com/mockoon/mockoon/issues/669))

---

### Thank you

A big thank you to the following people who helped to make Mockoon better:

- [@HighLiuk](https://github.com/HighLiuk): CRUD filtering and searching. (Issue [#1047](https://github.com/mockoon/mockoon/issues/1047))
2 changes: 1 addition & 1 deletion pages/public-roadmap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const faq: AccordionData = [
const tasks = {
released: [
{
link: 'TODO',
link: '/docs/latest/global-variables/overview/',
title: 'Global variables',
pro: false
},
Expand Down

0 comments on commit aa22708

Please sign in to comment.