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

[Snyk] Upgrade next from 12.3.4 to 15.1.0 #1067

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

Conversation

q1blue
Copy link
Collaborator

@q1blue q1blue commented Jan 1, 2025

snyk-top-banner

Snyk has created this PR to upgrade next from 12.3.4 to 15.1.0.

ℹ️ 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 1221 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Uncontrolled Recursion
SNYK-JS-NEXT-8186172
83 No Known Exploit
high severity Missing Authorization
SNYK-JS-NEXT-8520073
83 No Known Exploit
medium severity Resource Exhaustion
SNYK-JS-NEXT-6032387
83 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
83 No Known Exploit
Release notes
Package name: next
  • 15.1.0 - 2024-12-10

    Core Changes

    • fix: decrypt bound args before generating a cache key: #72463
    • Fix the path to the next/experimental/testing/server export: #72527
    • Expand server-source-maps scenarios to cover Edge runtime: #72288
    • Ensure logged errors in Edge runtime include the stack: #72394
    • fix: added cache control headers for static app routes: #72521
    • capture console issues as console errors: #72468
    • Add expireTag and expirePath APIs: #72485
    • fix: try/catch access to localStorage within __NEXT_APP_ISR_INDICATOR useEffect: #72362
    • Move client build ID to a global variable: #72592
    • refactor(turbopack): Remove swc_css: #72602
    • Bypass source map dev middleware for client chunks: #72581
    • chore: remove rc from URL: #72599
    • improve no-img-element lint error message: #72410
    • Combine bound "use cache" closure args into a single parameter: #72587
    • [Turbopack] add BackendOptions and allow to disable dependencies, children and storage: #72426
    • Omit unused args when calling "use cache" functions: #72506
    • Add experimental clientSegmentCache flag: #72626
    • Add compiler.define option: #71802
    • Fix static indicator with dynamicIO: #72631
    • Allow usage of Node.js prereleases: #72635
    • improved network url in (dev) cli: #72634
    • chore: update getting-started/react-essentials path: #72250
    • Fix static indicator for pure IO case: #72639
    • Bump the monorepo packages TypeScript to 5.6.3: #72625
    • Bump @ capsizecss/metrics to 3.4.0 for Geist Google Font: #72746
    • refactor: remove unused asNotFound property: #72585
    • Remove unused enabled config from server actions transforms: #72755
    • Ensure Next.js is ignore-listed when used as external: #72498
    • Bump eslint-plugin-react to 7.37.0: #72759
    • upgrade amphtml-validator to 1.0.38: #72645
    • fix multi-level redirect in server actions: #72770
    • refactor: rename error boundary not-found to http-error-fallback: #72586
    • Upgrade React from 5c56b873-20241107 to 7ac8e612-20241113: #72768
    • Re-use randomly selected dev server port for automatic restarts: #72771
    • Emit build error when "use cache" is used without dynamicIO enabled: #72781
    • fix: not found bounary prop: #72784
    • silence sass legacy-js-api warning: #72632
    • [Segment Prefetch] Move access token to route tree: #72775
    • Add internal affordances to show ignore-listed stackframes in terminal: #72763
    • chore(turbopack): Centralize reqwest TLS feature configs in turbo-tasks-fetch: #72526
    • Upgrade React from 7ac8e612-20241113 to 380f5d67-20241113: #72819
    • Shorten unsourcemapped absolute locations in terminal stacktraces: #72764
    • codemod: replace revalidate(Tag|Path) to expire(Tag|Path): #72826
    • "Fix": Lift type check out of loop: #72840
    • hide stack trace in CanaryOnlyError: #72859
    • Allow missing CacheNodeSeedData during prefetch: #72857
    • Add Segment Cache feature check to prefetch API: #72861
    • Extract shared fetchFromServerResponse logic to separate functions: #72865
    • [Segment Cache] Implement behavior on cache miss : #72841
    • Emit build error for unknown cache kinds: #72832
    • Resolve mdx plugins string format: #72802
    • MDX: Only set experimental.turbo if enabled: #72856
    • [Turbopack] change persistent caching option to a boolean: #72458
    • refactor: generalize next route error helpers: #72774
    • Ensure host is in allowed headers: #72867
    • refactor: types for collected cache info in route modules: #71434
    • feat(turbopack): Enable tree shaking for modules with dynamic imports: #71692
    • Fix unhandled rejection in proxy-request: #72530
    • chore(build): remove injecting fast refresh to custom loader logs: #72870
    • ensure webpack worker exits bubble to parent process: #72921
    • Fix sourcemaps for internal client boundaries: #72922
    • Turbopack: thread tracing through to resolve results: #72314
    • Upgrade vercel og: #72954
    • Turbopack NFT: trace manifests and externals: #72316
    • Turbopack: NFT followups: #72517
    • Support custom servers with minimal node modules: #72966
    • Add support for ignore-listing sources in index maps: #72913
    • Turbopack: fix loading of externals on Edge: #72349
    • Bump SWC used for transpiling Next.js sources: #72993
    • fix: ensure HTML validity for the next-size-adjust meta tag: #72994
    • Revert "Support custom servers with minimal node modules": #73003
    • Allow CacheNode.loading to be a promise: #72872
    • Properly encode dynamic access in segment prefetch: #72874
    • [Segment Cache] Send during route prefetch: #72890
    • fix(next/image): improve svg heuristic for unoptimized: #72970
    • [Segment Cache] Initial implementation: #72875
    • Turbopack: Change edge wrapper to proxy exports : #72502
    • experimental: css inlining: #72195
    • Display where the env was loaded from when enabled typedEnv: #70951
    • create forked impl for Link component: #73019
    • remove unnecessary handling in forked Link components: #73020
    • Pass down ignored field to error overlay: #72925
    • remove locale from app link: #73052
    • fix: server action redirects between multiple root layouts: #73063
    • Add forbidden and unauthorized APIs: #72785
    • chore: rename modules for better meaning and searching: #73067
    • fix(next/image): reduce avif sharp effort from 4 to 3 for faster encoding: #73030
    • (E2E) Log which config file is used for next start: #73105
    • Remove extra space in envionment log: #73108
    • remove inheritance from NextCustomServer: #73005
    • Align navigation digest with message: #73074
    • refactor: move redirect helpers into separate module: #73118
    • Update font data: #73115
    • Current behavior for fallbacks with async metadata and prefetching: #73106
    • Revert "ensure webpack worker exits bubble to parent process (#72921)": #73136
    • Reapply "ensure webpack worker exits bubble to parent process (#72921)": #73138
    • Upgrade React from 380f5d67-20241113 to b01722d5-20241114: #73107
    • Implement metadata types support for exactOptionalPropertyTypes: #72936
    • Reenable otel test for Turbopack: #73093
    • Omit unnecessary cache wrapper import: #73160
    • Increase max cache tags to 128: #73124
    • Do not inline CSS in RSC payload for dynamic client nav: #73182
    • fix(next/image): dpl query string should only be used for local images, not remote images: #73184
    • feat(after): unflag unstable_after internals: #73190
    • feat(after): allow using unstable_after in generateStaticParams: #73217
    • Error on navigation API usage in pages router and middleware: #73100
    • Undeprecate revalidate APIs and rename expire APIs: #73193
    • Revert "codemod: replace revalidate(Tag|Path) to expire(Tag|Path)": #73269
    • feat(after): wait for after-callbacks before server shutdown: #72590
    • Fixed interception on a catch-all route: #72902
    • add option to disable experimental CssChunkingPlugin: #73286
    • rename cssChunkPlugin experimental options: #73291
    • Replace the group frames with button for ignored frames: #72964
    • handle pages router ignored frames: #73280
    • fix(after): no request APIs in force-static: #73321
    • fix(after): allow reading draftMode status in after: #73324
    • [Turbopack] reland refactor filesystem writes to an effect based system: #73294
    • fix(pages): dynamic css missing style after client navigation: #72959
    • Make notFound() work in "use cache" page: #73210
    • refactor(after): remove unnecessary conditionals: #73447
    • Bump @ swc/core to 1.9.3: #73420
    • fix: running cleanup before server is initialized: #73476
    • [edge-runtime] drop node16: #73432
    • feat(after): allow request APIs in after (actions/handlers): #73345
    • Sourcemap errors logged in Edge runtime: #73438
    • refactor: rename ALS instances to prevent bad auto imports: #73480
    • Show a proper error if a server function's bound args cannot be serialized: #73471
    • remove unnecessary internal middleware header from response: #73482
    • Ensure Issue Overlay sourcemaps externals in Turbopack: #73439
    • Fix missing error message in terminal for bound args serialization error: #73508
    • fix: memory leak from warnOnce(): #73483
    • Upgrade React from b01722d5-20241114 to 1b1283ad-20241203: #73506
    • Fix: Importing an ESM file from next/dist/client/.js fails: #73485
    • fix: fixed dedupe response cloning: #73274
    • Upgrade React from 1b1283ad-20241203 to de68d2f4-20241204: #73525
    • fix(after): improve error message if promise arg rejects: #73524
    • feat: added compression to resume data cache using deflate: #73227
    • Use React 19 stable in Pages Router: #73562
    • Use stable @ types/react: #73563
    • Cache the bound args encryption result for inline server functions: #73521
    • chore: remove non-existent hash fragments from URLs: #73165
    • next-upgrade: Ensure highest versions are used not latest: #73566
    • Upgrade React from de68d2f4-20241204 to 1c9b1387-20241204: #73565
    • Use consistent error formatting in terminal: #71909
    • [Segment Cache] Interception routes: #73434
    • Upgrade to typescript 5.7: #73594
    • [Segment Cache] Use LRU to manage cache data : #73486
    • [Segment Cache] Add isPartial to segment prefetch : #73528
    • Fix missing client reference manifest error when using route groups:

Snyk has created this PR to upgrade next from 12.3.4 to 15.1.0.

See this package in npm:
next

See this project in Snyk:
https://app.snyk.io/org/q1blue-rxw/project/c899d8da-c199-4766-8d40-aa8d9a71141f?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

changeset-bot bot commented Jan 1, 2025

⚠️ No Changeset found

Latest commit: 5cf3d81

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.

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

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] None 0 2.68 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.39 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.54 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 202 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.32 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.47 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.54 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.45 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 49.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.29 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.25 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 9.86 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 5.01 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.24 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.33 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 19 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 5.3 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.87 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.16 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.02 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.71 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 27.2 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 26.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.69 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.11 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.24 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.31 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 14.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.39 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.02 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.26 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.87 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 9.82 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 20.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 9.37 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.25 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.42 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.65 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.13 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.94 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.94 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.61 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.08 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.14 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.89 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 5.99 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 2.94 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 38.8 kB developit
npm/@csstools/[email protected] None 0 63.2 kB jonathantneal
npm/@gar/[email protected] None 0 3.1 kB gar
npm/@npmcli/[email protected] filesystem +1 112 kB nlf
npm/@npmcli/[email protected] filesystem 0 7.89 kB nlf
npm/@types/[email protected] None 0 6.61 kB types
npm/@types/[email protected] None 0 8.2 kB types
npm/@types/[email protected] None 0 1.65 MB types
npm/@types/[email protected] None 0 2.74 kB types
npm/@types/[email protected] None 0 32.2 kB types
npm/@webassemblyjs/[email protected] None 0 180 kB xtuc
npm/@webassemblyjs/[email protected] None 0 6.37 kB xtuc
npm/@webassemblyjs/[email protected] None 0 6.1 kB xtuc
npm/@webassemblyjs/[email protected] None 0 8.7 kB xtuc
npm/@webassemblyjs/[email protected] None 0 4.28 kB xtuc
npm/@webassemblyjs/[email protected] None 0 9.07 kB xtuc
npm/@webassemblyjs/[email protected] None 0 29.8 kB xtuc
npm/@webassemblyjs/[email protected] None 0 24.2 kB xtuc
npm/@webassemblyjs/[email protected] None 0 19 kB xtuc
npm/@webassemblyjs/[email protected] None 0 5.19 kB xtuc
npm/@webassemblyjs/[email protected] None 0 46.1 kB xtuc
npm/@webassemblyjs/[email protected] None 0 11.2 kB xtuc
npm/@webassemblyjs/[email protected] None 0 29.4 kB xtuc
npm/@webassemblyjs/[email protected] None 0 23.9 kB xtuc
npm/@webassemblyjs/[email protected] None 0 9.34 kB xtuc
npm/@webassemblyjs/[email protected] None 0 122 kB xtuc
npm/@webassemblyjs/[email protected] None 0 137 kB xtuc
npm/@webassemblyjs/[email protected] None 0 37.3 kB xtuc
npm/@xtuc/[email protected] None 0 8.57 kB xtuc
npm/@xtuc/[email protected] None 0 190 kB xtuc
npm/[email protected] None 0 1.19 MB marijn
npm/[email protected] None 0 6.69 kB sindresorhus
npm/[email protected] None 0 41.7 kB esp
npm/[email protected] None 0 72.9 kB esp
npm/[email protected] None 0 6.4 kB trysound
npm/[email protected] environment 0 21.2 kB jonschlinkert
npm/[email protected] None 0 20.1 kB mahdyar
npm/[email protected] None 0 5.14 kB sindresorhus
npm/[email protected] None 0 9.37 kB sindresorhus
npm/[email protected] None 0 9.54 kB paulmillr
npm/[email protected] None 0 8.18 kB iarna
npm/[email protected] None 0 7.9 kB jonschlinkert
npm/[email protected] None 0 6.88 kB jonschlinkert
npm/[email protected] None 0 6.66 kB jonschlinkert
npm/[email protected] None 0 6.24 kB blakeembrey
npm/[email protected] None 0 2.47 kB sindresorhus
npm/[email protected] None 0 3.57 kB sindresorhus
npm/[email protected] None 0 7.16 kB jonschlinkert
npm/[email protected] Transitive: environment +2 84.3 kB goto-bus-stop
npm/[email protected] None 0 5.85 kB phated
npm/[email protected] None 0 3.95 kB paulmillr
npm/[email protected] None 0 6.9 kB strml
npm/[email protected] None 0 541 kB aearly
npm/[email protected] None 0 36.2 kB coolaj86
npm/[email protected] environment +1 1.71 MB ai

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

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