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.)
This version was pushed to npm by danielroe, a new releaser for @nuxt/types since your current version.
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/types](https://github.com/nuxt/nuxt.js) from 2.15.8 to 2.16.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/nuxt/nuxt.js/releases"><code>@nuxt/types</code>'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><a href="https://github.com/nuxt/nuxt/commit/6dc6cef9abd17346498d41572dd47a4fd99c900d"><code>6dc6cef</code></a> v2.16.0 (<a href="https://github.com/nuxt/nuxt.js/issues/18684">#18684</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/4ecdc7275f4f5abc9e2f4eba758a4c70d4b5b94e"><code>4ecdc72</code></a> fix: use default import of devalue</li>
<li><a href="https://github.com/nuxt/nuxt/commit/6850af11c57f70df004f02ba77fe41675539f136"><code>6850af1</code></a> feat: normalise postcss options to reduce breaking change</li>
<li><a href="https://github.com/nuxt/nuxt/commit/9471d95fa645f51a78aa9d369e687a35494399c3"><code>9471d95</code></a> chore: revert <code>devalue</code> upgrade</li>
<li><a href="https://github.com/nuxt/nuxt/commit/f54f082fd7115d483041ec1d6fd72b4ac5ce0dcb"><code>f54f082</code></a> chore: add missing dependency for webpack</li>
<li><a href="https://github.com/nuxt/nuxt/commit/f5d0f7eaf80c864d3fb79cb41e9c9bce8efbee6d"><code>f5d0f7e</code></a> chore(deps): update all non-major dependencies (2.x) (<a href="https://github.com/nuxt/nuxt.js/issues/18714">#18714</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/5ab8ea9ded8e57d9e1becc2731053b245f7c645f"><code>5ab8ea9</code></a> chore(deps): update dependency glob to v8 (2.x-dev) (<a href="https://github.com/nuxt/nuxt.js/issues/18370">#18370</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/454a9af24227c85cbf0b4c4410a47a05e785ddda"><code>454a9af</code></a> feat(webpack)!: update postcss to v8 (<a href="https://github.com/nuxt/nuxt.js/issues/9671">#9671</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/9677fbe53491089af7e39ca397b8d1868d9030dd"><code>9677fbe</code></a> ci: update workflows</li>
<li><a href="https://github.com/nuxt/nuxt/commit/804be6782acb07f93486d5a9545d088b85183857"><code>804be67</code></a> build: upgrade to rollup v3 (<a href="https://github.com/nuxt/nuxt.js/issues/18686">#18686</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/nuxt/nuxt.js/compare/v2.15.8...v2.16.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~danielroe">danielroe</a>, a new releaser for <code>@nuxt/types</code> since your current version.</p>
</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/types from 2.15.8 to 2.16.0.
Release notes
Sourced from
@nuxt/types's releases.... (truncated)
Commits
6dc6cefv2.16.0 (#18684)4ecdc72fix: use default import of devalue6850af1feat: normalise postcss options to reduce breaking change9471d95chore: revertdevalueupgradef54f082chore: add missing dependency for webpackf5d0f7echore(deps): update all non-major dependencies (2.x) (#18714)5ab8ea9chore(deps): update dependency glob to v8 (2.x-dev) (#18370)454a9affeat(webpack)!: update postcss to v8 (#9671)9677fbeci: update workflows804be67build: upgrade to rollup v3 (#18686)Maintainer changes
This version was pushed to npm by danielroe, a new releaser for
@nuxt/typessince your current version.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 conflictsadded 9 commits
master1622284a- Build(deps-dev): bump @nuxt/types from 2.15.8 to 2.16.0Compare with previous version