-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
next.js: complete v14.x compatibility (fixing >=14.2.7) (#4916)
- fixs compatibility with Next.js >=v14.2.7 - 14.x - previously there were 27 test failures - note that this doesn't address v15.x, I'll do that in a follow up PR - Next.js 14.2.7 broke compat when the internal headers concept was replaced with a symbol on the request object - it was further made complicated by us relying on the removal of said internal headers - now that they use a symbol they just keep the data around throughout the various stages of the request - for that reason I'm using a `WeakSet` to track the two stages of the request - @see AIDM-339
- Loading branch information
Showing
3 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters