Skip to content

Commit

Permalink
[Blog] Add v4.1 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicPoullain committed Oct 23, 2023
1 parent 44d3219 commit 40ab005
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
Binary file added docs/blog/assets/version-4.1-is-here/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions docs/blog/version-4.1-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
title: Version 4.1 release notes
author: Loïc Poullain
author_title: Creator of FoalTS. Software engineer.
author_url: https://loicpoullain.com
author_image_url: https://avatars1.githubusercontent.com/u/13604533?v=4
image: blog/twitter-banners/version-4.1-release-notes.png
tags: [release]
---

![Banner](./assets/version-4.1-is-here/banner.png)

Version 4.1 of [Foal](https://foalts.org/) is out!

<!--truncate-->

## Better logging

Foal now features a true logging system. Full documentation can be found [here](../docs/common/logging).

### New recommended configuration

It is recommended to switch to this configuration to take full advantage of the new logging system.

*config/default.json*
```json
{
"settings": {
"loggerFormat": "foal"
}
}
```

*config/development.json*
```json
{
"settings": {
"logger": {
"format": "dev"
}
}
}
```

## Request IDs

On each request, a request ID is now generated randomly. It can be read through `ctx.request.id`.

If the `X-Request-ID` header exists in the request, then the header value is used as the request identifier.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 40ab005

Please sign in to comment.