Skip to content

[Snyk] Upgrade next from 13.0.0 to 15.3.1 #849

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented May 11, 2025

snyk-top-banner

Snyk has created this PR to upgrade next from 13.0.0 to 15.3.1.

ℹ️ 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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

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

  • The recommended version was released 24 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Excessive Platform Resource Consumption within a Loop
SNYK-JS-BRACES-6838727
140 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
140 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
140 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
140 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ES5EXT-6095076
140 Proof of Concept
high severity Uncontrolled Recursion
SNYK-JS-NEXT-8186172
140 No Known Exploit
high severity Missing Authorization
SNYK-JS-NEXT-8520073
140 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELRUNTIMECOREJS3-9397696
140 Proof of Concept
medium severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-8602067
140 No Known Exploit
critical severity Improper Authorization
SNYK-JS-NEXT-9508709
140 Mature
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
140 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
140 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
140 No Known Exploit
medium severity Resource Exhaustion
SNYK-JS-NEXT-6032387
140 Proof of Concept
Release notes
Package name: next
  • 15.3.1 - 2025-04-17
  • 15.3.1-canary.15 - 2025-04-19
  • 15.3.1-canary.14 - 2025-04-18
  • 15.3.1-canary.13 - 2025-04-17
  • 15.3.1-canary.12 - 2025-04-17

    Core Changes

    • fix: alternate bundler support for dropping client pages in AMP: #77601
    • [errors] refactor default global-error into a separate file: #78182
    • [metadata] render streaming metadata on the top level: #77620
    • [metadata] skip head cache in default slot: #78206

    Misc Changes

    • Docs IA 2.0: Move Production Checklist under Guides: #78240
    • Docs: Fix nav item lettercasing for multi-zones: #78250
    • [docs] fix function signature of og image: #78277
    • Turbopack: dedupe additional traced references: #78241
    • Update Turbopack development test manifest: #78274
    • [test] Improve coverage for fetch errors in Edge runtime: #78257
    • Update Turbopack production test manifest: #78273

    Credits

    Huge thanks to @ delbaoliveira, @ ScriptedAlchemy, @ huozhi, @ mischnic, and @ eps1lon for helping!

  • 15.3.1-canary.11 - 2025-04-16

    Core Changes

    • Preserve slashes when custom URL schemes are used in redirects: #78176
    • ignore-list published sources if they have a sourcemap: #78242
    • Upgrade React from 1d6c8168-20250411 to 39cad7af-20250411: #78152
    • Turbopack: add test case for persistent caching: #77030
    • Upgrade React from 39cad7af-20250411 to b04254fd-20250415: #78253

    Misc Changes

    • Turbopack: Support ECMAScript styleregex with negative lookahead in require.context calls: #78251

    Credits

    Huge thanks to @ eps1lon, @ sokra, and @ lukesandberg for helping!

  • 15.3.1-canary.10 - 2025-04-16

    Core Changes

    • [dev-overlay] Add dedicated label for recoverable errors: #78186
    • [chore] remove unused __NEXT_PRIVATE_RUNTIME_TYPE: #78230

    Misc Changes

    • [docs] Update 03-fonts.mdx: #77965
    • Turbopack Persistent Caching: Use SmallVec to avoid allocations for small values written to DB: #78136
    • Turbopack: wait for tracing to be written before exiting: #78210
    • refactor(turbopack): Prepare removal of fake AST in tree-shaking: #78172
    • Turbopack: more module ident collisions: #78207
    • fix(turbo-tasks-fs): Update notify-rs, handle recursive symlinks in realpath implementation, add an e2e test for symlinked files: #78220
    • Update Turbopack production test manifest: #78224
    • Update Turbopack development test manifest: #78225
    • Turbopack: normalize ref type for external tracing: #78226
    • Update Rspack production test manifest: #78222
    • Getting Started Docs: Add deploying page: #77720
    • Docs IA 2.0: Move multi-zones docs to Guides: #78238
    • Turbopack: Do multiple unit test runs: #78212
    • Turbopack: fix cell not found bug: #78246
    • Prevent typescript errors in IDE for newly generated tests: #78247

    Credits

    Huge thanks to @ praizjosh, @ sokra, @ kdy1, @ mischnic, @ eps1lon, @ bgw, @ huozhi, @ delbaoliveira, and @ unstubbable for helping!

  • 15.3.1-canary.9 - 2025-04-15

    Core Changes

    • [dev-overlay] Stop squashing hydration related errors in App Router: #78140
    • [test] Enable strictNullChecks in test utils: #78142
    • Document Turbopack trace viewer: #78184
    • [dev-overlay] Fix error dialog resizing logic: #78144
    • Include types in published eslint-plugin-next: #78109
    • [dev-overlay] Stop appending wrong Owner Stacks to SSR-only shell errors: #77302

    Misc Changes

    • [test] Assert on all errors in app/ hydration-error suite: #78132
    • Skip failing test via manifest instead: #78161
    • Update Turbopack development test manifest: #78179
    • Correct require.context relative import keys to match Webpack: #78148
    • Getting Started Docs: Clean up docs/app and docs/pages pages: #78151
    • Update Rspack production test manifest: #78177
    • Update Turbopack production test manifest: #78180
    • Update Rspack development test manifest: #78178
    • Turbopack: fix duplicate facade module: #78191
    • Added @ types/jest in installtion commands.: #78090
    • Update turbopack.mdx: #78082
    • docs: improve wording around NextRequest and query params: #77923
    • Docs IA 2.0: Move version upgrade docs under Guides: #78189
    • Docs IA 2.0: Move SPA docs under Guides: #78195
    • Docs IA 2.0: Move migration docs under Guides: #78193
    • Docs Papercuts: #78200
    • feat(turbo-tasks): Generate a trace of transient tasks when panicking: #77600
    • Turbopack: fix duplicate module from internal ref: #78194
    • Fix externals doc validation: #78208

    Credits

    Huge thanks to @ eps1lon, @ mischnic, @ Cy-Tek, @ delbaoliveira, @ timneutkens, @ raunofreiberg, @ devchaudhary24k, @ Neschadin, @ OreQr, @ drewlong314, @ bgw, and @ ijjk for helping!

  • 15.3.1-canary.8 - 2025-04-14

    Core Changes

    • [next-server] remove unnecessary query shallow copy: #78003
    • [dev-overlay] disable copy button when clipboard is not available: #78101
    • [dev-overlay] Stop stashing React error details on error instances: #77975
    • [dynamicIO] Model invalid dynamic on empty shells: #77270
    • fix: bump [email protected]: #78149
    • Handle graceful fallback for custom error boundaries: #78121

    Misc Changes

    • refactor(turbo-tasks): Check for transient tasks called from persistent tasks in more places: #77760
    • [font] prefix leading numeric google-font name with underscore: #78127
    • build: Update swc_core to v22.3.1: #78129
    • Update Turbopack production test manifest: #78124
    • [test] isolate parallel metadata test: #78134
    • Update Turbopack development test manifest: #78125
    • Update Rspack production test manifest: #78123
    • [test] Add dedicated tsconfig for test utils: #78141
    • Turbopack: load chunks only once: #75143
    • Reenable a few more Turbopack tests: #78153
    • test: remove "@ testing-library/jest-dom" from default jest setup: #78157
    • Turbopack: Update toolchain to 2025-04-14 (Reapply #78062): #78167

    Credits

    Huge thanks to @ bgw, @ Fonger, @ huozhi, @ ospira, @ eps1lon, @ kdy1, @ gnoff, @ styfle, @ mischnic, @ lubieowoce, and @ wbinnssmith for helping!

  • 15.3.1-canary.7 - 2025-04-12

    Core Changes

    • Upgrade React from c44e4a25-20250409 to 1d6c8168-20250411: #78067

    Misc Changes

    • chore(CI): Add lukesandberg to turbopack team: #78074
    • [test] Activity has types and supports react-server: #78066

    Credits

    Huge thanks to @ bgw and @ eps1lon for helping!

  • 15.3.1-canary.6 - 2025-04-11

    Core Changes

    • Add graceful error fallback for bots requests: #77916

    Misc Changes

    • chore(github): remove redundant markdown body: #76187
    • chore(CI): Mention Rspack explicitly, use arewerspackyet.com domain: #77995
    • Update Turbopack production test manifest: #78053
    • Turbopack: support for CSS Modules in Data URLs: #78040
    • test: adjust default timeouts for [waitFor]elementByCss: #78026
    • Revert Rust upgrade to nightly-2025-04-10: #78062
    • Update Rspack development test manifest: #78049
    • Update Rspack production test manifest: #78050

    Credits

    Huge thanks to @ Marukome0743, @ bgw, @ jantimon, @ lubieowoce, @ mischnic, and @ huozhi for helping!

  • 15.3.1-canary.5 - 2025-04-11

    Core Changes

    • Experimental bfcache: Restore state w/ : #77992

    Misc Changes

    • [test] separate rsc-basic tests: #78038

    Credits

    Huge thanks to @ huozhi and @ acdlite for helping!

  • 15.3.1-canary.4 - 2025-04-10

    Core Changes

    • fix: ensure app router not found works when deployed with pages i18n config: #77905
    • Uninstall existing uncaughtException listeners to prevent the process from crashing: #78042

    Misc Changes

    • Update Rust toolchain to nightly-2025-04-10: #78039

    Credits

    Huge thanks to @ wbinnssmith, @ ztanner, and @ acdlite for helping!

  • 15.3.1-canary.3 - 2025-04-10

    Core Changes

    • Move unhandled rejection handling to shared path: #77997

    Misc Changes

    • Turbopack: bundle only new Worker with new URL: #78010
    • Turbopack: use hashbrown HashMaps instead of now-removed std raw entry api: #78032
    • Turbopack: proper error message for swcPlugins: #77990

    Credits

    Huge thanks to @ mischnic, @ wbinnssmith, and @ acdlite for helping!

  • 15.3.1-canary.2 - 2025-04-10
  • 15.3.1-canary.1 - 2025-04-10
  • 15.3.1-canary.0 - 2025-04-09
  • 15.3.0 - 2025-04-09
  • 15.3.0-canary.46 - 2025-04-09
  • 15.3.0-canary.45 - 2025-04-08
  • 15.3.0-canary.44 - 2025-04-08
  • 15.3.0-canary.43 - 2025-04-08
  • 15.3.0-canary.42 - 2025-04-07
  • 15.3.0-canary.41 - 2025-04-07
  • 15.3.0-canary.40 - 2025-04-06
  • 15.3.0-canary.39 - 2025-04-05
  • 15.3.0-canary.38 - 2025-04-04
  • 15.3.0-canary.37 - 2025-04-04
  • 15.3.0-canary.36 - 2025-04-04
  • 15.3.0-canary.35 - 2025-04-04
  • 15.3.0-canary.34 - 2025-04-04
  • 15.3.0-canary.33 - 2025-04-03
  • 15.3.0-canary.32 - 2025-04-03
  • 15.3.0-canary.31 - 2025-04-02
  • 15.3.0-canary.30 - 2025-04-02
  • 15.3.0-canary.29 - 2025-04-01
  • 15.3.0-canary.28 - 2025-04-01
  • 15.3.0-canary.27 - 2025-04-01
  • 15.3.0-canary.26 - 2025-03-30
  • 15.3.0-canary.25 - 2025-03-29
  • 15.3.0-canary.24 - 2025-03-26
  • 15.3.0-canary.23 - 2025-03-26
  • 15.3.0-canary.22 - 2025-03-25
  • 15.3.0-canary.21 -...

    Summary by Sourcery

    Upgrade Next.js dependency from version 13.0.0 to 15.3.1 to incorporate the latest features, improvements, and security fixes.

    Bug Fixes:

    • Address multiple security vulnerabilities and stability issues present in earlier Next.js versions.

    Enhancements:

    • Adopt new features, performance improvements, and bug fixes introduced in Next.js versions 13.x through 15.3.1.

Snyk has created this PR to upgrade next from 13.0.0 to 15.3.1.

See this package in npm:
next

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/ee19e176-1482-4cbd-b511-f56b15c5b3c7?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented May 11, 2025

Reviewer's Guide

This PR upgrades the 'next' dependency from version 13.0.0 to 15.3.1 in the example project's package.json. The change is implemented by directly updating the version string, which will pull in all new features, bug fixes, and breaking changes introduced in Next.js versions 14.x and 15.x. This upgrade addresses multiple security vulnerabilities and includes significant framework improvements and potential breaking changes. Reviewers should pay special attention to compatibility and breaking changes introduced by the major version jump.

File-Level Changes

Change Details Files
Upgrade Next.js from 13.0.0 to 15.3.1 in package.json.
  • Update the 'next' dependency version string to 15.3.1.
  • Remove reference to 13.0.0.
examples/caching/with-nextjs-13/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

2 participants