Skip to content

Commit

Permalink
Bump next from 14.2.15 to 15.0.1 (#63)
Browse files Browse the repository at this point in the history
Bumps [next](https://github.com/vercel/next.js) from 14.2.15 to 15.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases">next's
releases</a>.</em></p>
<blockquote>
<h2>v15.0.1</h2>
<h3>Core Changes</h3>
<ul>
<li>Reland &quot;[dynamicIO] warn for disallowed dynamic in dev&quot;:
<a
href="https://redirect.github.com/vercel/next.js/issues/71567">#71567</a></li>
<li>next-upgrade: prompt (un)install only when there's a change: <a
href="https://redirect.github.com/vercel/next.js/issues/71308">#71308</a></li>
<li>chore(next-codemod): remove <code>@next/font</code> from optional
Next.js packages to install: <a
href="https://redirect.github.com/vercel/next.js/issues/71563">#71563</a></li>
<li>[dynamicIO] Avoid triggering memory leak false positive with
makeHangingPromise: <a
href="https://redirect.github.com/vercel/next.js/issues/71576">#71576</a></li>
<li>Avoid triggering memory leak false positive with makeHangingPromise:
<a
href="https://redirect.github.com/vercel/next.js/issues/71579">#71579</a></li>
<li>Upgrade React from <code>65a56d0e-20241020</code> to
<code>69d4b800-20241021</code>: <a
href="https://redirect.github.com/vercel/next.js/issues/71568">#71568</a></li>
<li>avoid logging stacks for internal errors: <a
href="https://redirect.github.com/vercel/next.js/issues/71575">#71575</a></li>
<li>Avoid server action <code>endpoint</code> function indirection: <a
href="https://redirect.github.com/vercel/next.js/issues/71572">#71572</a></li>
<li>fix: handle terminal color in chrome console: <a
href="https://redirect.github.com/vercel/next.js/issues/71581">#71581</a></li>
<li>[dynamicIO] Update prerender to use Fizz prerender: <a
href="https://redirect.github.com/vercel/next.js/issues/71580">#71580</a></li>
<li>misc(next-upgrade): reuse process.cwd() value: <a
href="https://redirect.github.com/vercel/next.js/issues/71558">#71558</a></li>
<li>[dynamicIO]: dev navigations should show disallowed dynamic errors:
<a
href="https://redirect.github.com/vercel/next.js/issues/71595">#71595</a></li>
<li>next-lint: Use ESLint v9 by default: <a
href="https://redirect.github.com/vercel/next.js/issues/71371">#71371</a></li>
<li>fix: prevent router errors from being logged on the client: <a
href="https://redirect.github.com/vercel/next.js/issues/71583">#71583</a></li>
<li>fix: next package resolving in dev overlay: <a
href="https://redirect.github.com/vercel/next.js/issues/71632">#71632</a></li>
<li>Improve type coverage of setup-dev-bundler: <a
href="https://redirect.github.com/vercel/next.js/issues/71443">#71443</a></li>
<li>fix(turbo-tasks): Implement ValueDebugFormat for ResolvedVc: <a
href="https://redirect.github.com/vercel/next.js/issues/71173">#71173</a></li>
<li>Add --turbopack CLI flag: <a
href="https://redirect.github.com/vercel/next.js/issues/71657">#71657</a></li>
<li>[dynamicIO] detect metadata boundaries in dev using server component
stacks: <a
href="https://redirect.github.com/vercel/next.js/issues/71666">#71666</a></li>
</ul>
<h3>Example Changes</h3>
<ul>
<li>chore: Update <code>with-supabase</code> to be compatible with
Nextjs 15: <a
href="https://redirect.github.com/vercel/next.js/issues/71631">#71631</a></li>
<li>Update Sanity example to next v15: <a
href="https://redirect.github.com/vercel/next.js/issues/71640">#71640</a></li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li>docs(ppr): remove v14 mention for ppr: <a
href="https://redirect.github.com/vercel/next.js/issues/71498">#71498</a></li>
<li>docs: fix upgrade codemod command: <a
href="https://redirect.github.com/vercel/next.js/issues/71578">#71578</a></li>
<li>Turbopack: Always use blob: URLs for assets in middleware: <a
href="https://redirect.github.com/vercel/next.js/issues/71471">#71471</a></li>
<li>fix: metadata image route Windows path escaping: <a
href="https://redirect.github.com/vercel/next.js/issues/71615">#71615</a></li>
<li>fix: third-parties package peer dependency: <a
href="https://redirect.github.com/vercel/next.js/issues/71620">#71620</a></li>
<li>Fix <code>module_resolution: &quot;nodenext&quot;</code> with
<code>mjs</code> or <code>cjs</code>: <a
href="https://redirect.github.com/vercel/next.js/issues/71635">#71635</a></li>
<li>react-sync: Automatically update peer dependencies in libraries: <a
href="https://redirect.github.com/vercel/next.js/issues/71636">#71636</a></li>
<li>chore(docs): fix typo in image.mdx docs: <a
href="https://redirect.github.com/vercel/next.js/issues/71647">#71647</a></li>
<li>docs: remove the canary note on instrumentation: <a
href="https://redirect.github.com/vercel/next.js/issues/71649">#71649</a></li>
<li>test: fix async api tests: <a
href="https://redirect.github.com/vercel/next.js/issues/71652">#71652</a></li>
<li>Enable source maps for <code>pnpm debug</code>: <a
href="https://redirect.github.com/vercel/next.js/issues/71653">#71653</a></li>
<li>codemod(turbopack): Rewrite more Vc fields in structs as ResolvedVc:
<a
href="https://redirect.github.com/vercel/next.js/issues/71172">#71172</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/gnoff"><code>@​gnoff</code></a>, <a
href="https://github.com/devjiwonchoi"><code>@​devjiwonchoi</code></a>,
<a href="https://github.com/samcx"><code>@​samcx</code></a>, <a
href="https://github.com/ztanner"><code>@​ztanner</code></a>, <a
href="https://github.com/unstubbable"><code>@​unstubbable</code></a>, <a
href="https://github.com/huozhi"><code>@​huozhi</code></a>, <a
href="https://github.com/mischnic"><code>@​mischnic</code></a>, <a
href="https://github.com/lubieowoce"><code>@​lubieowoce</code></a>, <a
href="https://github.com/eps1lon"><code>@​eps1lon</code></a>, <a
href="https://github.com/ivasilov"><code>@​ivasilov</code></a>, <a
href="https://github.com/styfle"><code>@​styfle</code></a>, <a
href="https://github.com/bgw"><code>@​bgw</code></a>, <a
href="https://github.com/stipsan"><code>@​stipsan</code></a>, and <a
href="https://github.com/timneutkens"><code>@​timneutkens</code></a> for
helping!</p>
<h2>v15.0.1-canary.3</h2>
<h3>Core Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/914d0f3c4a66153bef916939df3c516567544df6"><code>914d0f3</code></a>
v15.0.1</li>
<li><a
href="https://github.com/vercel/next.js/commit/b075951c68192239a98e05f225bff042fe22e43d"><code>b075951</code></a>
v15.0.1-canary.3</li>
<li><a
href="https://github.com/vercel/next.js/commit/a7a7b19aec34a221fce96f33c808c0c0675fd63e"><code>a7a7b19</code></a>
[dynamicIO] detect metadata boundaries in dev using server component
stacks (...</li>
<li><a
href="https://github.com/vercel/next.js/commit/cfa003c7842eaa73bf3242dfa8bed1cc8732148d"><code>cfa003c</code></a>
Add --turbopack CLI flag (<a
href="https://redirect.github.com/vercel/next.js/issues/71657">#71657</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/9bd38dd10c2c0d72ca943ea77fadceed717ed211"><code>9bd38dd</code></a>
codemod(turbopack): Rewrite more Vc fields in structs as ResolvedVc (<a
href="https://redirect.github.com/vercel/next.js/issues/71172">#71172</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/cfd816ddb8af2e075d605b3b66d6794795a77e80"><code>cfd816d</code></a>
Update Sanity example to next v15 (<a
href="https://redirect.github.com/vercel/next.js/issues/71640">#71640</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/ce41f6bc6f24f267dc87f5892bc40a690b8fc2af"><code>ce41f6b</code></a>
Enable source maps for <code>pnpm debug</code> (<a
href="https://redirect.github.com/vercel/next.js/issues/71653">#71653</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/82750786adcc1f7478e88bd9580ec561a70dd4f7"><code>8275078</code></a>
test: fix async api tests (<a
href="https://redirect.github.com/vercel/next.js/issues/71652">#71652</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/95720f4cc18f4ce1dbc6c394fc194ff89b1462af"><code>95720f4</code></a>
fix(turbo-tasks): Implement ValueDebugFormat for ResolvedVc (<a
href="https://redirect.github.com/vercel/next.js/issues/71173">#71173</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/e06cd47449c2b358a013ec2a322c7ad9512dfb3a"><code>e06cd47</code></a>
docs: remove the canary note on instrumentation (<a
href="https://redirect.github.com/vercel/next.js/issues/71649">#71649</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v14.2.15...v15.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=next&package-manager=npm_and_yarn&previous-version=14.2.15&new-version=15.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: samwisekind <[email protected]>
  • Loading branch information
dependabot[bot] and samwisekind authored Oct 28, 2024
1 parent d4b64fa commit def977e
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 138 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ The following environment variables should be provided when running the server (
| `NODE_SMTP_USERNAME` | SMTP username for sending emails. |
| `NODE_SMTP_PASSWORD` | SMTP password for sending emails. |
| `NODE_SIGHTING_EMAIL` | Email address to send sightings to. |
| `LOGTAIL_SOURCE_TOKEN` | Token for Better Stack Logs. |

## Development

Expand Down
44 changes: 30 additions & 14 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';
import pluginJS from '@eslint/js';
import pluginTS from 'typescript-eslint';
import pluginReact from 'eslint-plugin-react';
import pluginReactHooks from 'eslint-plugin-react-hooks';
import pluginNext from '@next/eslint-plugin-next';
import pluginJest from 'eslint-plugin-jest';

const recommendedConfigs = [
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginJS.configs.recommended,
...pluginTS.configs.recommended,
pluginReact.configs.flat.recommended,
pluginJest.configs['flat/recommended'],

// Custom config until packages support flat configs
{
files: ['src/**/*.{js,ts,jsx,tsx}'],
plugins: {
'react-hooks': pluginReactHooks,
'@next/next': pluginNext,
},
rules: {
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
...pluginReactHooks.configs.recommended.rules,
...pluginNext.configs.recommended.rules,
},
},
];

const customConfigs = [
Expand All @@ -15,8 +34,8 @@ const customConfigs = [
},
{
ignores: [
".next/",
"coverage/",
'.next/',
'coverage/',
],
},
{
Expand All @@ -27,14 +46,11 @@ const customConfigs = [
},
},
{
languageOptions: { globals: {...globals.browser, ...globals.node} },
},
{
rules: {
'@typescript-eslint/no-unsafe-function-type': 'off',
'@typescript-eslint/no-require-imports': 'off',
'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off',
languageOptions: {
globals: {
...globals.browser,
...globals.node,
},
},
},
];
Expand Down
2 changes: 2 additions & 0 deletions jest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-require-imports */

process.env.NODE_CONTENTFUL_SPACE_ID = 'mocked-contentful-space-id';
process.env.NODE_CONTENTFUL_ENVIRONMENT = 'mocked-contentful-environment';
process.env.NODE_CONTENTFUL_DELIVERY_API_TOKEN = 'mocked-contentful-delivery-api-token';
Expand Down
10 changes: 4 additions & 6 deletions next.config.js → next.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/** @type {import('next').NextConfig} */
import type { NextConfig } from 'next';

const { withLogtail } = require('@logtail/next');
import redirects from './redirects.json';

const redirects = require('./redirects.json');

const nextConfig = {
const nextConfig: NextConfig = {
reactStrictMode: true,
poweredByHeader: false,
experimental: {
Expand Down Expand Up @@ -50,4 +48,4 @@ const nextConfig = {
},
};

module.exports = withLogtail(nextConfig);
module.exports = nextConfig;
Loading

0 comments on commit def977e

Please sign in to comment.