Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in nuxt-edge for some time.
In this PR we only support Node 14+. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until its own EOL, Nuxt 2 will only officially support Node versions that have not reached their EOL.
New postcss options format. See nuxt/nuxt#9671 for full details.
Dependency upgrades. A number of dependencies have dropped support for earlier node versions. dotenv has changed how it parses .env files in a number of edge cases. glob now requires / instead of \ on windows machines. There may also be other changes that affect your usage, so please do upgrade with care.
Vue 2.7 upgrade. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7.
This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than @nuxtjs/composition-api. (You can opt-in to just these utilities by disabling the other bridge modules individually.)
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [nuxt-edge](https://github.com/nuxt/nuxt.js) from 2.16.0-27720022.54e852f to 2.16.1-27928821.5455c4a.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/nuxt/nuxt.js/releases">nuxt-edge's releases</a>.</em></p>
<blockquote>
<h2>v2.16.0</h2>
<blockquote>
<p>Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in <code>nuxt-edge</code> for some time.</p>
</blockquote>
<h2>✨ Highlights</h2>
<ul>
<li>upgrade to <a href="https://github.com/nuxt/nuxt/pull/9671">PostCSS 8</a></li>
<li>default to <a href="https://github.com/nuxt/nuxt/pull/9987"><code>core-js</code> v3</a></li>
<li>... full details below</li>
</ul>
<h2>⚠️ Breaking changes</h2>
<ul>
<li>
<p><strong>In this PR we only support Node 14+</strong>. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until <a href="https://nuxt.com/vision-2023#migrating-to-nuxt-3">its own EOL</a>, Nuxt 2 will only officially support Node versions that have not reached <a href="https://github.com/nodejs/release#release-schedule">their EOL</a>.</p>
</li>
<li>
<p><strong>New postcss options format</strong>. See <a href="https://github.com/nuxt/nuxt/pull/9671">nuxt/nuxt#9671</a> for full details.</p>
</li>
<li>
<p><strong>Dependency upgrades</strong>. A number of dependencies have dropped support for earlier node versions. <a href="https://github.com/nuxt/nuxt/pull/18364"><code>dotenv</code></a> has changed how it parses <code>.env</code> files in a number of edge cases. <a href="https://github.com/nuxt/nuxt/pull/18370"><code>glob</code></a> now requires <code>/</code> instead of <code>\</code> on windows machines. There may also be other changes that affect your usage, so please do upgrade with care.</p>
</li>
<li>
<p><strong>Vue 2.7 upgrade</strong>. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7.</p>
<p>This may be a good time to consider using the composition API utilities provided by <a href="https://github.com/nuxt/bridge">https://github.com/nuxt/bridge</a> instead, which mirror Nuxt 3's more precisely than <code>@nuxtjs/composition-api</code>. (You can opt-in to <em>just</em> these utilities by disabling the other bridge modules individually.)</p>
</li>
</ul>
<h2>Changelog</h2>
<p><a href="https://github.com/nuxt/nuxt/compare/v2.15.8...v2.16.0">compare changes</a></p>
<h3>🚀 Enhancements</h3>
<ul>
<li><strong>config:</strong> Support <code>nuxtrc</code> in dist directory (<a href="https://github.com/nuxt/nuxt.js/issues/9280">#9280</a>)</li>
<li><strong>generator:</strong> Add ignoreEnv generate option during ensureBuild(cmd) (<a href="https://github.com/nuxt/nuxt.js/issues/8955">#8955</a>)</li>
<li><strong>server:</strong> Allow disabling <code>serve-static</code> middleware (<a href="https://github.com/nuxt/nuxt.js/issues/9365">#9365</a>)</li>
<li><strong>types:</strong> Add <code>asyncData</code> return types to component instance type (<a href="https://github.com/nuxt/nuxt.js/issues/9239">#9239</a>)</li>
<li><strong>vue-app:</strong> <code>context.beforeSerialize</code> method (<a href="https://github.com/nuxt/nuxt.js/issues/9332">#9332</a>)</li>
<li><strong>vue-app:</strong> Pass <code>store</code> to <code>createRouter</code> (<a href="https://github.com/nuxt/nuxt.js/issues/9629">#9629</a>)</li>
<li>Default to <code>core-js</code> version 3 (<a href="https://github.com/nuxt/nuxt.js/issues/9987">#9987</a>)</li>
<li><strong>webpack:</strong> ⚠️ Update postcss to v8 (<a href="https://github.com/nuxt/nuxt.js/issues/9671">#9671</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>vue-app:</strong> Respect <code>scroll-margin-top</code> when navigating with hash (<a href="https://github.com/nuxt/nuxt.js/issues/9187">#9187</a>)</li>
<li><strong>webpack:</strong> Use <code>javascript/auto</code> for js rule (<a href="https://github.com/nuxt/nuxt.js/issues/9180">#9180</a>)</li>
<li><strong>server:</strong> Unregister error event listener (<a href="https://github.com/nuxt/nuxt.js/issues/9245">#9245</a>)</li>
<li><strong>babel-preset-app:</strong> Respect explicit options.targets for modern preset (<a href="https://github.com/nuxt/nuxt.js/issues/9337">#9337</a>)</li>
<li><strong>types:</strong> Add nuxt.config alias type (<a href="https://github.com/nuxt/nuxt.js/issues/9424">#9424</a>)</li>
<li><strong>vue-app:</strong> Check whether route exists within nuxt app before replacing (<a href="https://github.com/nuxt/nuxt.js/issues/9431">#9431</a>)</li>
<li><strong>vue-renderer:</strong> Decode route path for <code>payload.js</code> (<a href="https://github.com/nuxt/nuxt.js/issues/9494">#9494</a>)</li>
<li><strong>vue-app:</strong> Don't normalise route path if it's valid (<a href="https://github.com/nuxt/nuxt.js/issues/9460">#9460</a>)</li>
<li><strong>vue-app:</strong> Redirect to external url replaces current history entry (<a href="https://github.com/nuxt/nuxt.js/issues/9500">#9500</a>)</li>
<li><strong>utils:</strong> <code>trailingSlash</code> causes error with dynamic nuxt-child routes (<a href="https://github.com/nuxt/nuxt.js/issues/9505">#9505</a>)</li>
<li><strong>types:</strong> Add <code>onNuxtLoaded</code> and <code>onNuxtReady</code> types (<a href="https://github.com/nuxt/nuxt.js/issues/9510">#9510</a>)</li>
<li><strong>vue-app:</strong> Re-register components construtor in HMR (<a href="https://github.com/nuxt/nuxt.js/issues/9539">#9539</a>)</li>
<li><strong>types:</strong> Add typing for <code>build.stats</code> options (<a href="https://github.com/nuxt/nuxt.js/issues/9555">#9555</a>)</li>
<li><strong>babel:</strong> Loose option for babel private-property-in-object (<a href="https://github.com/nuxt/nuxt.js/issues/9631">#9631</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/nuxt/nuxt.js/commits">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps nuxt-edge from 2.16.0-27720022.54e852f to 2.16.1-27928821.5455c4a.
Release notes
Sourced from nuxt-edge's releases.
... (truncated)
Commits
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsmentioned in merge request !879
This merge request has been superseded by https://gitlab.com/unboundsoftware/dancefinder/dancefinder-app/-/merge_requests/885
Pull request closed