Skip to content

[FEATURE] support Node Middleware introduced in next 15.2 #741

@mnove

Description

@mnove

Is your feature request related to a problem?

As of v.15.2 next supports nodejs middlewares (See this blog post).

It might be low on the priority list, but would make this project even better!

Describe the solution you'd like

Support or partial support for node middleware in opennextjs/opennextjs-cloudflare

Describe alternatives you've considered

I have for now created a workaround script that does not need these nodejs APIs.
A native support is of course better and makes the DX better

@opennextjs/cloudflare version

1.3.0

Additional context

I was deploying a nextjs app with wrangler / open-next I got some "Not implemeted yet" errors when triggering some routes that leverages these nodejs APIs.

Before submitting

  • I have checked that there isn't already a similar feature request
  • This is a single feature (not multiple features in one request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions