Skip to content

@fedify/nestjs: Peer dependency only allows express ^4, but NestJS 11 uses express 5 #492

@crohasang

Description

@crohasang

Summary

NestJS 11 now uses Express 5 by default through @nestjs/platform-express, but @fedify/nestjs currently restricts its express peer dependency to ^4.

This issue tracks updating the peer dependency range to include Express 5 so that projects using NestJS 11 can integrate Fedify without peer dependency conflicts.

Affected Area

  • @fedify/nestjs package
  • express peer dependency configuration
  • NestJS 11 projects using @nestjs/platform-express (Express 5)

Reason / Context

NestJS 11 integrates Express 5 by default when using @nestjs/platform-express, but @fedify/nestjs currently declares a peer dependency on express with the range ^4.

As a result, installing @fedify/nestjs in a NestJS 11 project produces peer dependency warnings and suggests an incompatible version of Express.

Updating the peer dependency range to include Express 5 (for example, ^4.0.0 || ^5.0.0) would align @fedify/nestjs with the current NestJS ecosystem and allow users to integrate Fedify without these conflicts.

Checklist

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions