Skip to content

Support Next 16 #5123

@jy95

Description

@jy95

Steps to reproduce

Steps:

  1. Have a Next 15 project npx create-next-app@15.5.6
  2. Install toolpad npm install @toolpad/core
  3. Run npx @next/codemod@canary upgrade latest / npx run dev
  4. Observe

Current behavior

On my side project jy95/jy95.github.io#1774

✔ Codemods have been applied successfully.
⚠ Found 2 dependencies that seem incompatible with the upgraded package versions.
You may have to update these packages to their latest version or file an issue to ask for support of the upgraded libraries.
@mui/material-nextjs 7.3.3
  └── ✕ unmet peer next@"^13.0.0 || ^14.0.0 || ^15.0.0": found 16.0.0
@toolpad/core 0.16.0
  └── ✕ unmet peer next@"^14 || ^15": found 16.0.0
Image

Expected behavior

No issues

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Windows 11 10.0.26100
  Binaries:
    Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.3.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: Not Found
  Browsers:
    Chrome: 141.0.7390.122
    Edge: Chromium (140.0.3485.54)
  npmPackages:
    @emotion/react: ^11.14.0 => 11.14.0 
    @emotion/styled: ^11.14.0 => 11.14.1 
    @mui/core-downloads-tracker:  7.3.4 
    @mui/icons-material: ^7.3.4 => 7.3.4
    @mui/material: ^7.3.2 => 7.3.4
    @mui/material-nextjs: ^7.3.3 => 7.3.3
    @mui/private-theming:  7.3.3
    @mui/styled-engine:  7.3.3
    @mui/system:  7.3.3
    @mui/types:  7.4.7
    @mui/utils:  7.3.3
    @mui/x-charts: ^8.14.1 => 8.14.1
    @mui/x-charts-vendor:  8.14.1
    @mui/x-data-grid: ^8.14.1 => 8.14.1
    @mui/x-date-pickers:  8.14.0
    @mui/x-internal-gestures:  0.3.3
    @mui/x-internals:  8.14.0
    @mui/x-virtualizer:  0.2.4
    @toolpad/core: ^0.16.0 => 0.16.0
    @toolpad/utils:  0.16.0
    @types/react: 19.2.2 => 19.2.2
    react: 19.2.0 => 19.2.0
    react-dom: 19.2.0 => 19.2.0
    typescript: 5.9.3 => 5.9.3

Search keywords: next 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: toolpad-coreAbbreviated to "core"status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.support: questionCommunity support but can be turned into an improvement.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions