From 39531f5d979f7bb700ecc2ca1444a5c694e68e05 Mon Sep 17 00:00:00 2001 From: Karolis Narkevicius Date: Sat, 28 Jan 2023 05:13:20 +0000 Subject: [PATCH] docs(guides): Update migration to mention removal of req.authentication (#3015) --- docs/guides/migrating.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guides/migrating.md b/docs/guides/migrating.md index 6e0dddd7d..72aebcff7 100644 --- a/docs/guides/migrating.md +++ b/docs/guides/migrating.md @@ -338,3 +338,4 @@ app.service('myservice').hooks([ - The undocumented `service._setup` method introduced in v1 will no longer be called. It was used to circumvent middleware inconsistencies from Express 3 and is no longer necessary. - The undocumented `app.providers` has been removed since it provided the same functionality as [`app.mixins`](../api/application.md#mixins) - `app.disable`, `app.disabled`, `app.enable` and `app.enabled` have been removed from basic Feathers applications. It will still be available in an Express-compatible Feathers application. `app.get()` and `app.set()` should be used instead. +- The `req.authentication` property is no longer set on the express requests, use `req.feathers.authentication` instead.