fastify / fastify-plugin

Plugin helper for Fastify
MIT License
198 stars 43 forks source link

missing v4 release? #187

Closed Mazuh closed 2 years ago

Mazuh commented 2 years ago

Prerequisites

Issue

from the README, it says

Note: the v4.x series of this module covers Fastify v4

but no v4 of this package is listed here in github.

impact: this is blocking fastify updates on other packages, because of this errors like the above

(node:87427) UnhandledPromiseRejectionWarning: FastifyError: fastify-plugin: fastify-cors - expected '3.x' fastify version, '4.2.0' is installed

mcollina commented 2 years ago

To solve your problem you need to update fastify-cors to @fastify/cors. You should be seeing a deprecation message about this.

Shipping a new release for this is not strictly needed, but I'll do do it asap.

mcollina commented 2 years ago

Done

joelmukuthu commented 2 years ago

Hi @mcollina, do I understand correctly that there are no breaking changes in fastify-plugin v4?

mcollina commented 2 years ago

We dropped support for older node.js versions.