Skip to content

fastify-socket.io plugin referenced in docs is unmaintained on Fastify v5+ #536

@xcfio

Description

@xcfio

Summary

The Fastify integration docs recommend using the fastify-socket.io plugin, but it only supports Fastify 4.x and has not been updated for Fastify v5.

Impact

Developers following the docs and running Fastify v5 get a peer dependency conflict:

npm warn peer fastify@"4.x.x" from fastify-socket.io@5.1.0
npm warn Conflicting peer dependency: fastify@4.28.1

Suggested Fix

Either:

  1. Update the docs to note the Fastify v4 limitation with a warning, or
  2. Point to an alternative approach (e.g., attaching Socket.IO directly to the underlying http server from Fastify)

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions