Skip to content
New issue

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

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

Already on GitHub? # to your account

Fastify 5 support #726

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

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/fastify@5.0.0/node_modules/fastify/lib/pluginUtils.js:125:11)
    at Object.registerPlugin (/app/node_modules/.pnpm/fastify@5.0.0/node_modules/fastify/lib/pluginUtils.js:148:16)
    at Boot.override (/app/node_modules/.pnpm/fastify@5.0.0/node_modules/fastify/lib/pluginOverride.js:28:57)
    at Boot._loadPlugin (/app/node_modules/.pnpm/avvio@9.0.0/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.

dnlup added a commit that referenced this issue Nov 28, 2024
Fixes Fastify 5 support #726.

BREAKING CHANGE: fastify 4 is no longer supported, @fastify/sensible custom
error handling is no longer supported either.
dnlup added a commit that referenced this issue Nov 28, 2024
Fixes Fastify 5 support #726
simonecorsi pushed a commit that referenced this issue Nov 28, 2024
# [9.0.0](v8.0.2...v9.0.0) (2024-11-28)

### Features

* add support for fastify v5 ([25c8184](25c8184))
* update to fastify v5 ([a3b6381](a3b6381)), closes [#726](#726)

### BREAKING CHANGES

* fastify 4 is no longer supported, @fastify/sensible custom
error handling is no longer supported either.
@dnlup dnlup closed this as completed Nov 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants