Repository navigation
What's Changed
Behavior change
fastify.use() now runs every middleware passed to it. Previously only the first one after the path was registered and the rest were silently dropped:
fastify.use('/admin', audit, auth)never ranauth, andfastify.use(a, b, c)never ranc.
If you pass several middleware in a single use() call, the ones that were being ignored will start running after this upgrade. Check those calls, in particular where the dropped middleware does authentication or authorization.
Full Changelog: v4.0.12...v4.0.13