From cfca9198232b9ec833ee05c41501c76238886d70 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2020 15:05:08 +0200 Subject: [PATCH 1/2] Bump autocannon from 4.6.0 to 5.0.0 (#2323) Bumps [autocannon](https://github.com/mcollina/autocannon) from 4.6.0 to 5.0.0. - [Release notes](https://github.com/mcollina/autocannon/releases) - [Commits](https://github.com/mcollina/autocannon/compare/v4.6.0...v5.0.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ad4896b9a..4467f9e82e 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "ajv-i18n": "^3.5.0", "ajv-merge-patch": "^4.1.0", "ajv-pack": "^0.3.1", - "autocannon": "^4.0.0", + "autocannon": "^5.0.0", "branch-comparer": "^0.4.0", "concurrently": "^5.0.2", "cors": "^2.8.5", From df40dac9b9e296c13d975c4bb47202610ba282f4 Mon Sep 17 00:00:00 2001 From: Federico Maggi <7142570+fredmaggiowski@users.noreply.github.com> Date: Mon, 8 Jun 2020 15:28:51 +0200 Subject: [PATCH 2/2] docs: added note about disableRequestLogging onResponse hook error log (#2321) --- docs/Server.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Server.md b/docs/Server.md index 0a1382bb0d..80692ea77f 100644 --- a/docs/Server.md +++ b/docs/Server.md @@ -194,6 +194,8 @@ fastify.addHook('onResponse', (req, reply, done) => { }) ``` +Please note that this setting will also disable an error log written by the the default `onResponse` hook on reply callback errors. + ### `serverFactory` You can pass a custom http server to Fastify by using the `serverFactory` option.