Skip to content

Switchable Runtime for Middleware (Allow Node.js APIs in Middleware) #46722

Closed Locked Answered by leerob
karlhorky asked this question in Help
Discussion options

You must be logged in to vote

We are working on allowing using the Node.js runtime for Middleware, and it will be included in an upcoming Next.js release. We appreciate your feedback and patience on this issue.

We are also exploring a potential new API, called Request Interceptors, that would address some of the feedback here for supporting nested, file-system based middleware. If this is something you are interested in, please comment on the proposal.

To prevent additional GitHub notifications and emails, we have a new discussion where you can opt-into notifications as progress is made.

Thank you 🙏

Replies: 94 comments 153 replies

Comment options

You must be logged in to vote
2 replies
@libinglong
Comment options

@stefanosandes
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@karlhorky
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@hohogpb
Comment options

@mscottford
Comment options

@kaminskypavel
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@harishy100
Comment options

@MartinDavi
Comment options

@brandensilva
Comment options

@MrLoh
Comment options

@iqbal125
Comment options

This comment was marked as off-topic.

Comment options

You must be logged in to vote
10 replies
@hohogpb
Comment options

@gerrysaporito
Comment options

@liuhuapiaoyuan
Comment options

@feedthejim
Comment options

@mattszein
Comment options

Comment options

You must be logged in to vote
3 replies
@Arctomachine
Comment options

@davimdantas
Comment options

@khuezy
Comment options

Comment options

You must be logged in to vote
27 replies
@amannn
Comment options

@darthmaim
Comment options

@Pedromigacz
Comment options

@liuhuapiaoyuan
Comment options

@nicolo-tito
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@khuezy
Comment options

Comment options

You must be logged in to vote
2 replies
@khuezy
Comment options

@Ennazk
Comment options

Comment options

You must be logged in to vote
8 replies
@juan-carlos-correa
Comment options

@hrithiqball
Comment options

@clayrisser
Comment options

@khuezy
Comment options

@jelmd
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@petersahanaya
Comment options

@khuezy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@LFCavalcanti
Comment options

@khuezy
Comment options

@karlhorky
Comment options

@LFCavalcanti
Comment options

@devajakamerus
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by feedthejim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet