mockoon logo with screenshot

September 2023 news

Mockoon quarterly news for September 2023: new releases, global rules, CLI GitHub Action, and more.

Guillaume, Founder
Posted by Guillaume, Founder
|
newsreleases

Welcome to our first blog quarterly news! Usually sent in the form of a newsletter, we decided to publish it on our blog too.

In this update, we have a lot to share since June, including exciting new features, upcoming developments, and our commitment to privacy. Read on to discover what's been happening in the world of Mockoon.

 📦 New releases

We have released three new versions since the last June newsletter, as we have moved to a monthly release schedule. 4.0.0 (July), 4.1.0 (August) and 5.0.0 (September). Among the new features and changes:

  • JSONPath support: Mockoon now supports JSONPath alongside object-path everywhere a path to an object property can be provided: in templating helpers like data, body and queryParam, in the response rules path, etc. 📘 Read more
  • Logging: Logging has been standardized across all Mockoon applications and packages. The logs will now be formatted the same way in the desktop application log file, the CLI's console and log file, and the serverless package's console logging. 📘 Read more
  • CLI changes: We refactored the CLI to remove the dependency to PM2, which was subject to some security vulnerabilities. Another reason for this refactoring, was that, having multiple other ways to manage running CLI instances (i.e. containers), embedding a process manager felt a bit outdated and overkill. The CLI is now easier to maintain and more lightweight. As a consequence multiple flags and options disappeared, and running the CLI as a foreground process is now the default. 📘 Read more
  • Response fallback mode: A new response mode has been added. It allows you to fallback to the next route and ultimately the proxied server when no response rules match instead of serving the default response. 📘 Read the documentation
  • HTTP methods: It is now possible to create routes that will match any HTTP method by selecting "All methods" in the routes method dropdown. 📘 Read more
  • OpenAPI support improvements: When exporting to OpenAPI format, inline bodies are now used to populate the example property. 📘 Read more
  • And more: templating support in rules, new array filtering templating helper.

 📏 Global rules

Thanks to the response fallback mode introduced in v4.1.0, it is now possible to create wildcard routes containing global rules, such as validating the presence of an Authorization header or verifying that the request body contains a specific property. Head over to our new Global routes with rules documentation section to learn how to create reusable responses and rules and apply them to all your routes.

application screenshot with a wildcard route

 🎬 New GitHub Action

We have officially launched a GitHub Action for the CLI, allowing you to effortlessly run your mocks within your GitHub CI environment.

screenshot of mockoon github action code

No complex setup is required. Simply add the action to your workflow and provide a path to a local data file, or a URL, and you're good to go.

 👷 Mockoon Cloud data synchronization

The development of Mockoon's Cloud data synchronization feature for solo developers is progressing smoothly. We anticipate releasing this feature as part of the Cloud Solo plan by the end of this year. Concurrently, we have also begun working on the team collaboration feature, which shares similarities with the solo data synchronization. You can look forward to this feature being available in the Team and Enterprise plans in the first quarter of next year.

 📊 Ditching Google Analytics for the website

We have recently removed Google Analytics from our website as part of our commitment to enhancing privacy. We now exclusively track the number of page views and referrals, using a somewhat old-school approach similar to a simple visit counter. We've come to realize that many metrics provided by traditional analytics tools are not the actionable insights we are looking for. So, why not keep it simple?

 🤝 OSS friends

We have partnered with several other open-source projects that we admire and wish to support. Feel free to explore them!

screenshot of the OSS friends page showing a grid of project names and descriptions

 🛠️ Custom services

We now offer custom services to help you get started with Mockoon through training, support, and custom development. Contact us for more information.

You might also be interested in these articles

Contributor spotlight: Luca Di Fazio

We continue our series of interviews with Mockoon's open-source contributors with Luca Di Fazio.

Read more

2024 retrospective and Mockoon 7th birthday

Let's take a look back at 2024 (and 2023?) and celebrate Mockoon's 7th birthday!

Read more

Contributor spotlight: Maurice Ackel

We continue our series of interviews with Mockoon's open-source contributors with Maurice Ackel, Full Stack Developer at Netlight.

Read more