Skip to content

[JS] Add support for express 5.x in genkit express plugin #3281

@jeffdh5

Description

@jeffdh5

Currently genkit express plugin depends on express 4.x. The latest version is express 5.x, which is pretty new, but something genkit should probably support eventually.

The best solution probably is to set the peerDependency to something like:

// Support both versions
{
  "peerDependencies": {
    "express": "^4.21.1 || ^5.0.0"
  }
}

We need to test it but at a glance I see that all the express features we're using are well-supported by express 5.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions