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

Fastify 5 support #726

Open
ivstiv opened this issue Oct 2, 2024 · 4 comments
Open

Fastify 5 support #726

ivstiv opened this issue Oct 2, 2024 · 4 comments

Comments

@ivstiv
Copy link

ivstiv commented Oct 2, 2024

Fastify 5 has been released, I've tried this library with it, but I get the following error:

Installed version: "@immobiliarelabs/fastify-sentry": "^8.0.1"

FastifyError [Error]: fastify-plugin: @immobiliarelabs/fastify-sentry - expected '4.x' fastify version, '5.0.0' is installed
    at Object.checkVersion (/app/node_modules/.pnpm/[email protected]/node_modules/fastify/lib/pluginUtils.js:125:11)
    at Object.registerPlugin (/app/node_modules/.pnpm/[email protected]/node_modules/fastify/lib/pluginUtils.js:148:16)
    at Boot.override (/app/node_modules/.pnpm/[email protected]/node_modules/fastify/lib/pluginOverride.js:28:57)
    at Boot._loadPlugin (/app/node_modules/.pnpm/[email protected]/node_modules/avvio/boot.js:425:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'FST_ERR_PLUGIN_VERSION_MISMATCH',
  statusCode: 500
}

Can you add support for Fastify v5?

@dnlup
Copy link
Contributor

dnlup commented Oct 9, 2024

Hey @ivstiv , yes support for fastify 5 is on our roadmap. We'll try to add it as soon as possible

@C0kkie
Copy link

C0kkie commented Oct 27, 2024

Hey

is there any eta?

@rgrzesk
Copy link

rgrzesk commented Nov 5, 2024

Hi!

Any update on that?

@dnlup
Copy link
Contributor

dnlup commented Nov 12, 2024

Yes, I was looking into it and wanted to couple the fastify upgrade and the Sentry SDK upgrade into a single breaking change so it will take a little more work than expected, I'll get back to you when everything is ready, right now I am a little busy on another project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants