Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove app.use and fix middleware tests #3506

Merged
merged 23 commits into from
Dec 4, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 0 additions & 53 deletions docs/Middleware.md

This file was deleted.

4 changes: 4 additions & 0 deletions docs/Migration-Guide-V3.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ await fastify.register(require('fastify-express'));
fastify.use(require('cors')());
```

**v4:**

Starting v4 we have deprecated the use of `.use`. Both `middie` and `fastify-express` will still be there and maintained.
genzyy marked this conversation as resolved.
Show resolved Hide resolved

### Changed logging serialization ([#2017](https://github.com/fastify/fastify/pull/2017))

The logging [Serializers](Logging.md) have been updated to now Fastify
Expand Down