Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[next] Populate middlewareRawSrc using middleware originalSource #9602

Merged
merged 6 commits into from
Mar 7, 2023

Conversation

cb1kenobi
Copy link
Contributor

Next.js will pass the original middleware matching routes through to the middleware manifest once vercel/next.js#46753 lands. This PR will take those original values and put them in the middleware route middlewareRawSrc property.

NOTE: The tests will need to be updated once the Next.js version is updated in the fixtures.

@ijjk
Copy link
Member

ijjk commented Mar 4, 2023

Canary with above mentioned Next.js change is now available in v13.2.4-canary.2 of Next.js

@cb1kenobi cb1kenobi added the pr: automerge Automatically merge the PR when checks pass label Mar 6, 2023
@kodiakhq kodiakhq bot merged commit 38244c8 into main Mar 7, 2023
@kodiakhq kodiakhq bot deleted the chrisbarber/next-middleware-original-source branch March 7, 2023 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: next pr: automerge Automatically merge the PR when checks pass semver: patch PR contains bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants