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

fix(nextjs): Skip NextResponse normalization in mergeResponses if possible (#2244) #2260

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

clerk-cookie
Copy link
Collaborator

Backporting #2244 to the release/v4 branch

(cherry picked from commit b892ac6)

…sible (#2244)

* fix(nextjs): If res is NextResponse just return it

* fix(nextjs): Support options when setting cookies

* chore(repo): Add initial next middleware test

* chore(repo): Make test work

* chore(repo): Add changeset

* Update packages/nextjs/src/utils/response.test.ts

Co-authored-by: Tom Milewski <me@tm.codes>

---------

Co-authored-by: Tom Milewski <me@tm.codes>
(cherry picked from commit b892ac6)
@clerk-cookie clerk-cookie requested a review from a team as a code owner December 5, 2023 09:01
Copy link

changeset-bot bot commented Dec 5, 2023

🦋 Changeset detected

Latest commit: 33404c7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/nextjs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@LekoArts LekoArts added this pull request to the merge queue Dec 5, 2023
Merged via the queue into release/v4 with commit fc43f12 Dec 5, 2023
6 checks passed
@LekoArts LekoArts deleted the backport-release/v4-2244 branch December 5, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants