Packages

@nuxt/server

2.18.1 · 28 Jun 2024MIT163.2k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Nuxt 2 has reached EOL and is no longer actively maintained. See https://nuxt.com/blog/nuxt2-eol for more details.What to use instead
Your version

2.9.0

20 Aug 2019Where it was published

2.18.1 is the newest release of 2.x.

npm marks 2.9.0 as deprecated: Nuxt 2 has reached EOL and is no longer actively maintained. See nuxt.com/blog/nuxt2-eol for more details.

In short

1 breaking3 deprecated9 new4 fixed2 changed12 internal

  • Breaking

    👉 Minimum required node version is 8.9.0

  • Deprecated

    👉 scrollBehavior option is deprecated in favor of app/router.scrollBehavior.js

  • Deprecated

    👉 devModules option is deprecated in favor of buildModules

  • Deprecated

    vue-app: Support app/router.scrollBehavior.js and deprecate scrollBehavior

Release note

The section about @nuxt/server of a note shared by several packages.

Important Notes

  • Breaking

    👉 Minimum required node version is 8.9.0

  • 👉 Typescript support is now externalized. Refer to official docs and migration guide.

  • 👉 vue-meta upgraded to 2.0.0. Please refer to the changelog to review notable changes.

  • Deprecated

    👉 scrollBehavior option is deprecated in favor of app/router.scrollBehavior.js

  • Deprecated

    👉 devModules option is deprecated in favor of buildModules

Bug Fixes

  • general: Fix modulepreload warnings

  • general: Throw error when building failed in quiet mode

  • general: Support babel corejs config for modern mode

  • general: Babel polyfill can not be disabled

Features

  • server: Allow passing loadingTimeout and other arguments to renderAndGetWindow

  • vue-app: Add $nuxt.refresh

  • vue-app: Use EventSource instead of WebSocket for build indicator

  • Deprecated

    vue-app: Support app/router.scrollBehavior.js and deprecate scrollBehavior

  • vue-app: Add <client-only> alias for <no-ssr>

  • vue-app: Allow customizing loading indicator

  • vue-app: Add $nuxt.refresh() method or refresh the actual page asyncData and fetch

  • vue-app: Export router options

  • vue-app: Support functional watchQuery

  • typescript: Externalize typescript support

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.