Skip to content

[Snyk] Upgrade next from 15.2.4 to 15.3.0#19

Open
linus-jansson wants to merge 12 commits into
mainfrom
snyk-upgrade-4511a89dbb7bf74539fd966ca513424a
Open

[Snyk] Upgrade next from 15.2.4 to 15.3.0#19
linus-jansson wants to merge 12 commits into
mainfrom
snyk-upgrade-4511a89dbb7bf74539fd966ca513424a

Conversation

@linus-jansson
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to upgrade next from 15.2.4 to 15.3.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.


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

  • The recommended version was released 22 days ago.

Release notes
Package name: next
  • 15.3.0 - 2025-04-09

    Core Changes

    • [dev-overlay] Customize <select> styling for consistency: #76973
    • Upgrade React from 029e8bd6-20250306 to 0ca3deeb-20250311: #76989
    • [metadata]: add pinterest meta tag: #76988
    • [dev-overlay] ensure stripping overlay bundle in prod build: #76976
    • Apply env inlining during generate build mode: #76990
    • Turbopack: Implement deploymentId: #76904
    • track persistent caching usage: #76996
    • [metadata] re-insert icons to head for streamed metadata: #76915
    • Upgrade React from 0ca3deeb-20250311 to 6aa8254b-20250312: #77033
    • Move static-env imports: #77035
    • [dev-overlay] Add size setting to preferences: #77027
    • Add config for only generating static env: #77038
    • chore(HMR clients): Clean up and share code between app and pages router: #76960
    • Add dev warning for cross-origin and stabilize allowedDevOrigins: #77044
    • unify allowed origin detection handling: #77053
    • Handle hash change in all files for static env: #77058
    • [dev-overlay] highlight errored code line for runtime errors: #77078
    • NFT: Ignore all of Webpack: #77081
    • Add experimental build mode flag for env: #77089
    • (feat) support client-side instrumentation: #76916
    • Fix JSDoc comment for 'seconds' cache life profile: #77084
    • refactor(HMR clients): Encapsulate some of the turbopack state tracking into a shared TurbopackHmr class: #76994
    • Slightly improve error handling for unknown server actions: #77135
    • Fix output standalone for alternative bundler: #76971
    • Add alternate bundler plugin information to next info: #77059
    • [metadata] remove the default segement check for metadata rendering: #77119
    • [dev-overlay] Fix stacking order of highlighted line: #77189
    • Upgrade React from 6aa8254b-20250312 to 5398b711-20250314: #77129
    • fix(styled-jsx): Pass useLightningcss option to styled-jsx correctly: #77008
    • log the instrumentation-client execution time: #77121
    • Turbopack: canary-gate production builds: #77146
    • [dev-overlay] remove special handling for missing tag error : #77147
    • chore(react-dev-overlay): Remove confusingly underscored variables in useErrorOverlayReducer: #77205
    • Update middleware request header: #77201
    • Update default allowed origins list: #77212
    • Ensure deploymentId is used for CSS preloads: #77210
    • chore(HMR clients): Fix a bunch of typescript errors by including the appropriate webpack type declarations: #77207
    • Update cache handler interface: #76687
    • Turbopack: don't include AMP optimizer in NFT: #77242
    • Server actions should not read stale data after calling revalidate*: #76885
    • [dev-overlay] Blur fader for scrollable container: #77196
    • Make revalidate* work when followed by a redirect in a route handler: #77090
    • feat: onNavigate for link: #77209
    • fix: pass telemetry plugin rspack tests: #77257
    • feat(eslint-plugin): add minimal built-in flat presets: #73873
    • [perf] skip loading client manifest for static metadata routes: #77260
    • Upgrade React from 5398b711-20250314 to c69a5fc5-20250318: #77249
    • [ppr] Handle failed resume data cache entries: #77258
    • Bypass "use cache" caches when Draft Mode is enabled: #77141
    • chore(HMR clients): Clean up tryApplyUpdates, reduce differences between app/pages versions: #77219
    • Upgrade React from c69a5fc5-20250318 to db7dfe05-20250319: #77295
    • Turbopack: layout segment optimization for Pages: #74815
    • [dev-overlay] Make footer sticky without side effects: #77327
    • Alternate bundler: show state in app info message: #77259
    • Revert "Turbopack: layout segment optimization for Pages": #77339
    • [metadata] add Yeti to html limited bots: #77335
    • [dev-overlay] Remove unused code from pages: #77325
    • [metadata] remove dead code of metadata routes handling: #77336
    • Alternate bundler: pass more tests and update to 1.3.0-beta: #77269
    • [metadata] fix the metadata route like pages and refactor utils: #77264
    • fix: absolute assetPrefix url with path: #77256
    • clean up useReducer code re dev indicator: #77354
    • test: ensure that router identity stays stable when navigating: #77356
    • [dev-overlay] Remove unused fields from hydration error state: #77332
    • Turbopack: implement optimized css production chunking: #77284
    • only log when instrumentation client takes too long: #77378
    • switch development origin verification to be opt-in rather than opt-out: #77395
    • remove direct ip/port bypass in dev origin check: #77414
    • ensure /__next middleware URLs are included in the origin check: #77416
    • exclude images and static media from dev origin check: #77417
    • Refactor metadata and viewport preloading: #77400
    • [dev-overlay] Remove unused fields from unhandled error action event: #77333
    • Turbopack: Add --turbopack for next start: #77442
    • Update README: #77464
    • Remove unnecessary indirections around dispatch-related methods: #77423
    • Lift public router instance to module level : #77426
    • directly import param resolver in metadata: #77401
    • [metadata] always serve streaming metadata in build: #77437
    • directly import search param resolver in metadata: #77402
    • Remove forwardRef from Link in App Router: #77471
    • Match subrequest handling for edge and node: #77474
    • Add deprecation warning for legacyBehavior prop: #77473
    • feat: useLinkStatus: #77300
    • [dynamicIO] Avoid memory leak warning for hanging promises: #77480
    • [dev-overlay] Remove "Unhandled Runtime Error" label: #77484
    • Upgrade React from db7dfe05-20250319 to 740a4f7a-20250325: #77507
    • Upgrade React from 740a4f7a-20250325 to 313332d1-20250326: #77527
    • Do not call expireTags/getExpiration unnecessarily: #77570
    • fix(jest): stricter regex for 'server-only' in default config: #77588
    • Fix: RESTORE_ACTION should not be thenable: #77582
    • Use NEXT_PRIVATE_DEBUG_CACHE env variable for cache handler debug logs: #77585
    • fix: make sure body can be read using nodejs runtime in middleware: #77553
    • Update alternate bundler and pass more tests : #77579
    • Refactor build scripts and rewrite pack-next in TypeScript: #77536
    • fix isCsrfOriginAllowed handling for localhost: #77594
    • Turbopack build: fix deterministic build test: #77618
    • Turbopack build: Fix urlencoding test: #77622
    • [og] fix vercel og build issue on windows: #77650
    • [Segment Cache] Add "client-only" option: #77655
    • Remove useSyncExternalStore from useIsDevRendering: #77651
    • Track navigation timestamp on CacheNode: #77251
    • Upgrade @ playwright/test and cleanup internal APIs: #77659
    • Refactor: move "use cache" revalidation logic out of incremental cache: #77577
    • Remove obsolete update of implicit tags expiration after server action: #77595
    • Revert "Remove useSyncExternalStore from useIsDevRendering (#77651)": #77672
    • Upgrade React from 313332d1-20250326 to 63779030-20250328: #77643
    • Turbopack build: Add marker for when a build used Turbopack: #77674
    • feat(images): use experimental isrFlushToDisk option to prevent writing optimized images to cache: #70645
    • doc: instrumentation-client: #77649
    • Alternate bundler: use equivalent native plugins for built-in plugins: #77355
    • Resolve Viewport separately from Metadata: #77427
    • fix(turbopack): Suppress logging for short no-op turbopack HMRs: #76924
    • Turbopack build: Fix node-file-trace test: #77641
    • Turbopack build: Implement error when using next start without --turbopack: #77678
    • legacyBehavior deprecation error should only trigger once: #77687
    • Pass only required props to NonIndex: #77685
    • Revert "fix: make sure body can be read using nodejs runtime in middleware": #77690
    • [dev-overlay] Harden types when handling hydration mismatches: #77334
    • [dev-overlay] Fix ref warning when Pages Router with React 18 is used: #77726
    • add support for cssmodules-pure-no-check to allow global CSS features like View Transitions: #77321
    • [dev-overlay] Only warn once per invalid sourcemap: #77444
    • [dynamicIO] only abort once per prerender: #77747
    • Turbopack build: Move Turbopack marker to SERVER_FILES_MANIFEST: #77711
    • Reapply "Turbopack: layout segment optimization for Pages" (#77339): #77696
    • feat(next/image): support new URL() for images.remotePatterns: #77692
    • [dev-overlay] remove text wrap for terminal: #76953
    • Upgrade React from 63779030-20250328 to 040f8286-20250402: #77742
    • Optimize server runtime bundles: #77723
    • Turbopack Build: Remove cases of process.env.TURBOPACK: #77757
    • [dev-overlay] Fix unactionable useLayoutEffect warning if React 18 is used: #77737
    • [dev-tools] Fix flashing of disabled state on indicator: #77727
    • Webpack build: Add compiled in x seconds in missing places: #77751
    • Ignore an existing HMR refresh hash cookie with next start: #77714
    • Turbopack build: Replace process.env.TURBOPACK usage: #77783
    • Client instrumentation: onRouterTransitionStart: #77791
    • Turbopack: log telemetry events when TurbopackInternalErrors occur: #77660
    • Rename alternate bundler package name: #77793
    • Turbopack: fix sideEffects matching for non-relative globs: #77693
    • Revert "Upgrade @ playwright/test and cleanup internal APIs": #77814
    • [next-ts-plugin] fix: language service crashes / metadata plugin not working: #77213
    • [dev-overlay] always display bundler name on version info: #77739
    • [dev-overlay] sync horizontal scrollbar style: #77769
    • [dev-overlay] Read issueCount from non-async errors array: #77821
    • [dev-overlay] Fix error dialog resizing logic: #77830
    • Turbopack Build: Optimize instrumentation hook generation: #77832
    • [next-server] skip setting vary header for basic routes: #77797
    • Lazily call refreshTags and getExpiration: #77779
    • Add debug logging to default cache handler and "use cache" wrapper: #77827
    • [ts-next-plugin] fix: properly exit when failed to initialize: #77842
    • Alternate bundler: correctly inject react refresh loader:

linus-jansson and others added 12 commits June 26, 2024 17:33
Snyk has created this PR to upgrade lucide-react from 0.379.0 to 0.381.0.

See this package in npm:
lucide-react

See this project in Snyk:
https://app.snyk.io/org/linus-jansson/project/8b9297ec-1d27-4cc2-b01d-7f163fe34cd1?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* fix: upgrade next from 14.2.1 to 14.2.3

Snyk has created this PR to upgrade next from 14.2.1 to 14.2.3.

See this package in npm:
next

See this project in Snyk:
https://app.snyk.io/org/linus-jansson/project/8b9297ec-1d27-4cc2-b01d-7f163fe34cd1?utm_source=github&utm_medium=referral&page=upgrade-pr

* updated lockfile

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Linus Jansson <linus.jansson2@uppsala.se>
* fix: upgrade lucide-react from 0.381.0 to 0.383.0

Snyk has created this PR to upgrade lucide-react from 0.381.0 to 0.383.0.

See this package in npm:
lucide-react

See this project in Snyk:
https://app.snyk.io/org/linus-jansson/project/8b9297ec-1d27-4cc2-b01d-7f163fe34cd1?utm_source=github&utm_medium=referral&page=upgrade-pr

* bump packages

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Linus Jansson <linus.jansson2@uppsala.se>
* feat: migrate to nextjs 15
* fix: type error

---------

Co-authored-by: Linus Jansson <contact@limpan.dev>
Snyk has created this PR to upgrade next from 15.2.4 to 15.3.0.

See this package in npm:
next

See this project in Snyk:
https://app.snyk.io/org/linus-jansson/project/8b9297ec-1d27-4cc2-b01d-7f163fe34cd1?utm_source=github&utm_medium=referral&page=upgrade-pr
@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
limpan-dev ❌ Failed (Inspect) May 2, 2025 6:25am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 2, 2025

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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