Closed BE-CH closed 1 year ago
I think we should apply the same nodenext
TS compatibility here
https://github.com/search?q=org%3Afastify+nodenext&type=pullrequests
Could you try to install fastify v4.10.0
?
Which was your previous version in use?
I think we should apply the same
nodenext
TS compatibility here https://github.com/search?q=org%3Afastify+nodenext&type=pullrequestsCould you try to install fastify
v4.10.0
? Which was your previous version in use?
It does not seem to make any difference in Fastify v4.10.0
.
I previously used these versions:
"fastify": "^4.9.2",
"fastify-raw-body": "^4.1.3",
but that seems to not even work🤔
FastifyError [Error]: fastify-plugin: fastify-raw-body - expected '^4.10.x' fastify version, '4.9.2' is installed
UPDATE: I got it working with the versions below:
"fastify": "4.9.2",
"fastify-raw-body": "4.1.2",
but it would be great with support for Fastify 4.10.2
and FastifyRawBody 4.1.3
FastifyError [Error]: fastify-plugin: fastify-raw-body - expected '^4.10.x' fastify version, '4.9.2' is installed
Yes, this was necessary because now this plugin uses request.routeOptions
that was released in fastify v4.10
I got it working with the versions below:
Thanks, it is helpful to replicate and solve the issue
@BE-CH could you verify that the PR #45 works for you?
@BE-CH could you verify that the PR #45 works for you?
It works! Thank you so much :)
I did not release it
I will close later today
@Eomm will you release it to a new version? or can I simply just do yarn install
again to get the latest additions?
4.2.0 released now!
I get the error below when trying to register the plugin.
My code:
My packages:
Not sure why it happens - but it happened after I updated to the latest version. It also happened with some other plugins, but I just updated those and the error when away for the other plugins