Skip to content

Bump next from 12.0.4 to 12.0.7 #7060

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

Merged
merged 2 commits into from
Dec 16, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2021

Bumps next from 12.0.4 to 12.0.5.

Release notes

Sourced from next's releases.

v12.0.5

This upgrade is completely backward-compatible and recommended for all users on versions below 12.0.5. A backport of the patch to Next.js 11 is available as 11.1.3.

When a URL is provided to next-server that cannot be parsed, an unhandledPromiseRejection could occur. On Node.js versions v15.0.0, this causes the server process to exit, which can result in unexpected server crashes.

How to Upgrade

  • We have released patch versions for both the stable and canary channels of Next.js.
  • To upgrade run npm install next@latest --save

Impact

  • Affected: All of the following must be true to be affected
    • Next.js versions above v11.1.0 and below v12.0.5
    • Node.js above v15.0.0 being used
    • Using next start or a custom server
  • Not affected: Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

How to Assess Impact

If you are running Node.js > v15.0.0 with Next.js, you can filter any server error logs for ERR_INVALID_URL.

What is Being Done

As Next.js has grown in popularity and usage by enterprises, it has received the attention of security researchers and auditors. We are thankful to GitHub user hopeless-programmer-online for their investigation and discovery of the original bug.

We've landed a patch that ensures this is handled properly so the unhandledPromiseRejection issue no longer occurs.

Regression tests for this attack were added to the security integration test suite

  • A public CVE is requested.
  • We encourage responsible disclosure of future reports. Please email us at [email protected]. We are actively monitoring this mailbox.

Core Changes

  • Add a swc transform for removal of console.* calls.: #31449
  • Support ESLint v8: #29865
  • fix: allow next lint without eslint-config-next installed: #29823
  • Remove TextEncoder and TextDecoder wrappers: #31490
  • simplify output messages: #31454
  • update webpack: #31455
  • NextResponse: add .json static method: #31483
  • Use _error for development in streaming: #31466
  • Refactor the middleware SSR loader: #31508
  • Add detection for Google-PageRenderer bot: #31521

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@changeset-bot
Copy link

changeset-bot bot commented Dec 8, 2021

⚠️ No Changeset found

Latest commit: 4cebaae

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link

vercel bot commented Dec 8, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/3tZY62b1UGHXCBAR9yvXjn3wTkYd
✅ Preview: https://keystone-next-docs-git-dependabot-npmandyarnn-429bbe-keystonejs.vercel.app

[Deployment for 4cebaae failed]

@vercel vercel bot temporarily deployed to Preview December 8, 2021 10:04 Inactive
@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 8, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/next-12.0.5 branch from 50a36d7 to 10b7811 Compare December 16, 2021 02:16
@vercel vercel bot temporarily deployed to Preview December 16, 2021 02:16 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/next-12.0.5 branch from 10b7811 to 00a5b9d Compare December 16, 2021 02:58
@vercel vercel bot temporarily deployed to Preview December 16, 2021 02:58 Inactive
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/next-12.0.5 branch from 00a5b9d to 704207c Compare December 16, 2021 03:14
@vercel vercel bot temporarily deployed to Preview December 16, 2021 03:14 Inactive
@dcousens dcousens force-pushed the dependabot/npm_and_yarn/next-12.0.5 branch from 704207c to bf2e41d Compare December 16, 2021 03:19
dependabot bot and others added 2 commits December 16, 2021 14:19
Bumps [next](https://github.com/vercel/next.js) from 12.0.4 to 12.0.5.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v12.0.4...v12.0.5)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dcousens dcousens force-pushed the dependabot/npm_and_yarn/next-12.0.5 branch from bf2e41d to 4cebaae Compare December 16, 2021 03:21
@dcousens
Copy link
Member

Needed to be bumped to 12.0.7, we were impacted by vercel/next.js#32110 (comment)

@dcousens dcousens enabled auto-merge (squash) December 16, 2021 03:23
@dcousens dcousens changed the title Bump next from 12.0.4 to 12.0.5 Bump next from 12.0.4 to 12.0.7 Dec 16, 2021
@vercel vercel bot temporarily deployed to Preview December 16, 2021 03:32 Inactive
@dcousens dcousens merged commit 8a1ed09 into main Dec 16, 2021
@dcousens dcousens deleted the dependabot/npm_and_yarn/next-12.0.5 branch December 16, 2021 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant