Skip to content

Commit 2e28b9b

Browse files
chore(deps): update nextjs monorepo to v16 (major) (#7854)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [eslint-config-next](https://nextjs.org/docs/app/api-reference/config/eslint) ([source](https://redirect.github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next)) | [`15.5.4` -> `16.0.0`](https://renovatebot.com/diffs/npm/eslint-config-next/15.5.4/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-next/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-next/15.5.4/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [next](https://nextjs.org) ([source](https://redirect.github.com/vercel/next.js)) | [`15.5.4` -> `16.0.0`](https://renovatebot.com/diffs/npm/next/15.5.4/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/next/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next/15.5.4/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/next.js (eslint-config-next)</summary> ### [`v16.0.0`](https://redirect.github.com/vercel/next.js/compare/v15.5.6...950609f96f694c5475d18cd2d72a0052ca04d4b9) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.5.6...v16.0.0) ### [`v15.5.6`](https://redirect.github.com/vercel/next.js/releases/tag/v15.5.6) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.5.5...v15.5.6) > \[!NOTE]\ > This release is backporting bug fixes. It does **not** include all pending features/changes on canary. ##### Core Changes - Turbopack: don't define process.cwd() in node\_modules [#&#8203;83452](https://redirect.github.com/vercel/next.js/issues/83452) ##### Credits Huge thanks to [@&#8203;mischnic](https://redirect.github.com/mischnic) for helping! ### [`v15.5.5`](https://redirect.github.com/vercel/next.js/releases/tag/v15.5.5) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.5.4...v15.5.5) > \[!NOTE]\ > This release is backporting bug fixes. It does **not** include all pending features/changes on canary. ##### Core Changes - Split code-frame into separate compiled package ([#&#8203;84238](https://redirect.github.com/vercel/next.js/issues/84238)) - Add deprecation warning to Runtime config ([#&#8203;84650](https://redirect.github.com/vercel/next.js/issues/84650)) - fix: unstable\_cache should perform blocking revalidation during ISR revalidation ([#&#8203;84716](https://redirect.github.com/vercel/next.js/issues/84716)) - feat: `experimental.middlewareClientMaxBodySize` body cloning limit ([#&#8203;84722](https://redirect.github.com/vercel/next.js/issues/84722)) - fix: missing next/link types with typedRoutes ([#&#8203;84779](https://redirect.github.com/vercel/next.js/issues/84779)) ##### Misc Changes - docs: early October improvements and fixes ([#&#8203;84334](https://redirect.github.com/vercel/next.js/issues/84334)) ##### Credits Huge thanks to [@&#8203;devjiwonchoi](https://redirect.github.com/devjiwonchoi), [@&#8203;ztanner](https://redirect.github.com/ztanner), and [@&#8203;icyJoseph](https://redirect.github.com/icyJoseph) for helping! </details> <details> <summary>vercel/next.js (next)</summary> ### [`v16.0.0`](https://redirect.github.com/vercel/next.js/compare/v15.5.6...950609f96f694c5475d18cd2d72a0052ca04d4b9) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.5.6...v16.0.0) ### [`v15.5.6`](https://redirect.github.com/vercel/next.js/releases/tag/v15.5.6) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.5.5...v15.5.6) > \[!NOTE]\ > This release is backporting bug fixes. It does **not** include all pending features/changes on canary. ##### Core Changes - Turbopack: don't define process.cwd() in node\_modules [#&#8203;83452](https://redirect.github.com/vercel/next.js/issues/83452) ##### Credits Huge thanks to [@&#8203;mischnic](https://redirect.github.com/mischnic) for helping! ### [`v15.5.5`](https://redirect.github.com/vercel/next.js/releases/tag/v15.5.5) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.5.4...v15.5.5) > \[!NOTE]\ > This release is backporting bug fixes. It does **not** include all pending features/changes on canary. ##### Core Changes - Split code-frame into separate compiled package ([#&#8203;84238](https://redirect.github.com/vercel/next.js/issues/84238)) - Add deprecation warning to Runtime config ([#&#8203;84650](https://redirect.github.com/vercel/next.js/issues/84650)) - fix: unstable\_cache should perform blocking revalidation during ISR revalidation ([#&#8203;84716](https://redirect.github.com/vercel/next.js/issues/84716)) - feat: `experimental.middlewareClientMaxBodySize` body cloning limit ([#&#8203;84722](https://redirect.github.com/vercel/next.js/issues/84722)) - fix: missing next/link types with typedRoutes ([#&#8203;84779](https://redirect.github.com/vercel/next.js/issues/84779)) ##### Misc Changes - docs: early October improvements and fixes ([#&#8203;84334](https://redirect.github.com/vercel/next.js/issues/84334)) ##### Credits Huge thanks to [@&#8203;devjiwonchoi](https://redirect.github.com/devjiwonchoi), [@&#8203;ztanner](https://redirect.github.com/ztanner), and [@&#8203;icyJoseph](https://redirect.github.com/icyJoseph) for helping! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/UI5/webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Harbarth <[email protected]>
1 parent fe11b07 commit 2e28b9b

20 files changed

+5375
-2732
lines changed

examples/nextjs-app/.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/nextjs-app/app/components/AppShellBar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const THEMES = [
2929
export function AppShellBar() {
3030
const router = useRouter();
3131
const pathname = usePathname();
32-
const popoverOpenerRef = useRef<ButtonDomRef | undefined>(undefined);
32+
const popoverOpenerRef = useRef<ButtonDomRef>(null);
3333
const [popoverOpen, setPopoverOpen] = useState(false);
3434
const [currentTheme, setCurrentTheme] = useState(getTheme);
3535

@@ -64,6 +64,7 @@ export function AppShellBar() {
6464
<ResponsivePopover
6565
className={classes.popover}
6666
open={popoverOpen}
67+
/* eslint-disable-next-line react-hooks/refs */
6768
opener={popoverOpenerRef.current}
6869
onClose={() => {
6970
setPopoverOpen(false);
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { defineConfig } from 'eslint/config';
2+
import nextCoreWebVitals from 'eslint-config-next/core-web-vitals';
3+
import nextTypescript from 'eslint-config-next/typescript';
4+
import path from 'node:path';
5+
import { fileURLToPath } from 'node:url';
6+
7+
const __filename = fileURLToPath(import.meta.url);
8+
const __dirname = path.dirname(__filename);
9+
10+
export default defineConfig([
11+
{
12+
extends: [...nextCoreWebVitals, ...nextTypescript],
13+
},
14+
]);

0 commit comments

Comments
 (0)