Skip to content

Conversation

@q1blue
Copy link
Collaborator

@q1blue q1blue commented Jan 23, 2026

snyk-top-banner

Snyk has created this PR to upgrade next from 12.1.6 to 12.3.7.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 158 versions ahead of your current version.

  • The recommended version was released 10 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
40 No Known Exploit
critical severity Improper Authorization
SNYK-JS-NEXT-9508709
40 Mature
Release notes
Package name: next
  • 12.3.7 - 2025-03-28

    Note

    This release is backporting bug fixes. It does not include all pending features/changes on canary.

    Core Changes

    • Lock swc binaries version
  • 12.3.6 - 2025-03-24

    Note

    This release is backporting bug fixes. It does not include all pending features/changes on canary.

    Core Changes

    • Match subrequest handling for edge and node
    • Update publish-native
  • 12.3.5 - 2025-03-23
  • 12.3.4 - 2022-11-21
  • 12.3.3 - 2022-11-09
  • 12.3.2 - 2022-10-30
  • 12.3.2-canary.43 - 2022-10-25
  • 12.3.2-canary.42 - 2022-10-25
  • 12.3.2-canary.41 - 2022-10-25
  • 12.3.2-canary.40 - 2022-10-25
  • 12.3.2-canary.39 - 2022-10-24
  • 12.3.2-canary.38 - 2022-10-24
  • 12.3.2-canary.35 - 2022-10-23
  • 12.3.2-canary.34 - 2022-10-23
  • 12.3.2-canary.33 - 2022-10-22
  • 12.3.2-canary.32 - 2022-10-19
  • 12.3.2-canary.31 - 2022-10-19
  • 12.3.2-canary.30 - 2022-10-18
  • 12.3.2-canary.29 - 2022-10-16
  • 12.3.2-canary.28 - 2022-10-13
  • 12.3.2-canary.27 - 2022-10-13
  • 12.3.2-canary.26 - 2022-10-12
  • 12.3.2-canary.25 - 2022-10-11
  • 12.3.2-canary.24 - 2022-10-11
  • 12.3.2-canary.23 - 2022-10-08
  • 12.3.2-canary.22 - 2022-10-07
  • 12.3.2-canary.21 - 2022-10-06
  • 12.3.2-canary.20 - 2022-10-05
  • 12.3.2-canary.19 - 2022-10-04
  • 12.3.2-canary.18 - 2022-10-04
  • 12.3.2-canary.17 - 2022-10-02
  • 12.3.2-canary.16 - 2022-09-30
  • 12.3.2-canary.15 - 2022-09-29
  • 12.3.2-canary.13 - 2022-09-29
  • 12.3.2-canary.12 - 2022-09-28
  • 12.3.2-canary.11 - 2022-09-27
  • 12.3.2-canary.10 - 2022-09-27
  • 12.3.2-canary.9 - 2022-09-26
  • 12.3.2-canary.7 - 2022-09-23
  • 12.3.2-canary.6 - 2022-09-23
  • 12.3.2-canary.3 - 2022-09-22
  • 12.3.2-canary.2 - 2022-09-22
  • 12.3.2-canary.0 - 2022-09-21
  • 12.3.1 - 2022-09-19
  • 12.3.1-canary.5 - 2022-09-19
  • 12.3.1-canary.4 - 2022-09-19
  • 12.3.1-canary.3 - 2022-09-16
  • 12.3.1-canary.2 - 2022-09-14
  • 12.3.1-canary.1 - 2022-09-12
  • 12.3.1-canary.0 - 2022-09-08
  • 12.3.0 - 2022-09-08
  • 12.2.6 - 2022-09-29
  • 12.2.6-canary.13 - 2022-09-08
  • 12.2.6-canary.12 - 2022-09-08
  • 12.2.6-canary.11 - 2022-09-07
  • 12.2.6-canary.10 - 2022-09-05
  • 12.2.6-canary.9 - 2022-09-05
  • 12.2.6-canary.8 - 2022-09-01
  • 12.2.6-canary.7 - 2022-08-30
  • 12.2.6-canary.6 - 2022-08-29
  • 12.2.6-canary.5 - 2022-08-24
  • 12.2.6-canary.4 - 2022-08-24
  • 12.2.6-canary.3 - 2022-08-24
  • 12.2.6-canary.2 - 2022-08-23
  • 12.2.6-canary.1 - 2022-08-17
  • 12.2.6-canary.0 - 2022-08-13
  • 12.2.5 - 2022-08-12
  • 12.2.5-canary.7 - 2022-08-12
  • 12.2.5-canary.6 - 2022-08-11
  • 12.2.5-canary.5 - 2022-08-11
  • 12.2.5-canary.4 - 2022-08-11
  • 12.2.5-canary.3 - 2022-08-11
  • 12.2.5-canary.1 - 2022-08-09
  • 12.2.5-canary.0 - 2022-08-09
  • 12.2.4 - 2022-08-04
  • 12.2.4-canary.12 - 2022-08-04
  • 12.2.4-canary.11 - 2022-08-03
  • 12.2.4-canary.9 - 2022-08-01
  • 12.2.4-canary.8 - 2022-07-29
  • 12.2.4-canary.7 - 2022-07-29
  • 12.2.4-canary.6 - 2022-07-28
  • 12.2.4-canary.5 - 2022-07-28
  • 12.2.4-canary.4 - 2022-07-28
  • 12.2.4-canary.3 - 2022-07-28
  • 12.2.4-canary.2 - 2022-07-26
  • 12.2.4-canary.1 - 2022-07-25
  • 12.2.4-canary.0 - 2022-07-23
  • 12.2.3 - 2022-07-22
  • 12.2.3-canary.17 - 2022-07-21
  • 12.2.3-canary.16 - 2022-07-21
  • 12.2.3-canary.15 - 2022-07-20
  • 12.2.3-canary.14 - 2022-07-19
  • 12.2.3-canary.13 - 2022-07-18
  • 12.2.3-canary.12 - 2022-07-18
  • 12.2.3-canary.10 - 2022-07-15
  • 12.2.3-canary.9 - 2022-07-15
  • 12.2.3-canary.8 - 2022-07-14
  • 12.2.3-canary.7 - 2022-07-14
  • 12.2.3-canary.6 - 2022-07-13
  • 12.2.3-canary.5 - 2022-07-13
  • 12.2.3-canary.4 - 2022-07-13
  • 12.2.3-canary.3 - 2022-07-13
  • 12.2.3-canary.2 - 2022-07-12
  • 12.2.3-canary.1 - 2022-07-12
  • 12.2.3-canary.0 - 2022-07-11
  • 12.2.2 - 2022-07-09
  • 12.2.2-canary.0 - 2022-07-09
  • 12.2.1 - 2022-07-07
  • 12.2.1-canary.5 - 2022-07-07
  • 12.2.1-canary.4 - 2022-07-06
  • 12.2.1-canary.3 - 2022-07-05
  • 12.2.1-canary.2 - 2022-07-02
  • 12.2.1-canary.1 - 2022-06-29
  • 12.2.0 - 2022-06-28
  • 12.1.7-canary.52 - 2022-06-28
  • 12.1.7-canary.51 - 2022-06-28
  • 12.1.7-canary.50 - 2022-06-28
  • 12.1.7-canary.49 - 2022-06-27
  • 12.1.7-canary.48 - 2022-06-25
  • 12.1.7-canary.47 - 2022-06-24
  • 12.1.7-canary.46 - 2022-06-24
  • 12.1.7-canary.45 - 2022-06-22
  • 12.1.7-canary.44 - 2022-06-21
  • 12.1.7-canary.42 - 2022-06-20
  • 12.1.7-canary.41 - 2022-06-17
  • 12.1.7-canary.40 - 2022-06-15
  • 12.1.7-canary.39 - 2022-06-14
  • 12.1.7-canary.38 - 2022-06-14
  • 12.1.7-canary.37 - 2022-06-13
  • 12.1.7-canary.36 - 2022-06-13
  • 12.1.7-canary.35 - 2022-06-11
  • 12.1.7-canary.33 - 2022-06-08
  • 12.1.7-canary.32 - 2022-06-08
  • 12.1.7-canary.31 - 2022-06-06
  • 12.1.7-canary.30 - 2022-06-06
  • 12.1.7-canary.29 - 2022-06-02
  • 12.1.7-canary.28 - 2022-06-02
  • 12.1.7-canary.27 - 2022-06-01
  • 12.1.7-canary.26 - 2022-05-31
  • 12.1.7-canary.24 - 2022-05-30
  • 12.1.7-canary.23 - 2022-05-30
  • 12.1.7-canary.19 - 2022-05-27
  • 12.1.7-canary.18 - 2022-05-27
  • 12.1.7-canary.16 - 2022-05-25
  • 12.1.7-canary.15 - 2022-05-24
  • 12.1.7-canary.12 - 2022-05-24
  • 12.1.7-canary.11 - 2022-05-23
  • 12.1.7-canary.10 - 2022-05-19
  • 12.1.7-canary.9 - 2022-05-19
  • 12.1.7-canary.8 - 2022-05-19
  • 12.1.7-canary.7 - 2022-05-17
  • 12.1.7-canary.6 - 2022-05-13
  • 12.1.7-canary.5 - 2022-05-12
  • 12.1.7-canary.4 - 2022-05-11
  • 12.1.7-canary.3 - 2022-05-06
  • 12.1.7-canary.2 - 2022-05-05
  • 12.1.7-canary.1 - 2022-05-03
  • 12.1.7-canary.0 - 2022-05-03
  • 12.1.6 - 2022-05-02
from next GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

@gemini-code-assist
Copy link

Summary of Changes

Hello @q1blue, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by Snyk, focuses on a critical dependency upgrade for the 'next' framework, moving from version 12.1.6 to 12.3.7. The primary motivation for this update is to enhance the project's security posture by resolving known vulnerabilities related to improper input validation and authorization. Beyond security, the upgrade incorporates numerous bug fixes and improvements from the newer 'next' versions, ensuring the application benefits from a more stable and performant underlying framework.

Highlights

  • Dependency Upgrade: The 'next' dependency has been upgraded from version 12.1.6 to 12.3.7.
  • Security Vulnerability Fixes: This upgrade addresses two security vulnerabilities: a medium-severity 'Improper Input Validation' (SNYK-JS-NANOID-8492085) and a critical-severity 'Improper Authorization' (SNYK-JS-NEXT-9508709).
  • Transpiler and Tooling Updates: Several related packages, including various '@next/swc-*' binaries, 'nanoid', 'postcss', 'caniuse-lite', and 'styled-jsx', have been updated to newer versions.
  • New Dependencies: New dependencies '@swc/helpers' and 'use-sync-external-store' have been introduced as part of the 'next' upgrade.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request, automatically generated by Snyk, upgrades the next package from version 12.1.6 to 12.3.7. This is a crucial update as it addresses a critical security vulnerability (SNYK-JS-NEXT-9508709) and a medium severity one (SNYK-JS-NANOID-8492085). The changes in package.json and package-lock.json are consistent with this upgrade. I've included one suggestion to improve the versioning strategy for the next dependency in package.json for better long-term maintainability.

},
"dependencies": {
"next": "latest",
"next": "12.3.7",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While pinning to a specific version 12.3.7 is a great improvement over using latest for ensuring build reproducibility, consider using a caret ^ prefix (e.g., ^12.3.7). This allows npm to automatically fetch non-breaking minor and patch updates, which often include important security fixes and bug fixes, without requiring manual version bumps. This is a common best practice for dependency management.

Suggested change
"next": "12.3.7",
"next": "^12.3.7",

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.

3 participants