Skip to content

v2.9.0

Compare
Choose a tag to compare
@pi0 pi0 released this 20 Aug 08:26

⚠️ Important Notes

  • 👉 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.
  • 👉 scrollBehavior option is deprecated in favor of app/router.scrollBehavior.js (#6055)
  • 👉 devModules option is deprecated in favor of buildModules (#6203)

🐛 Bug Fixes

  • general
    • #6118 Fix modulepreload warnings
    • #6075 Throw error when building failed in quiet mode
    • #6070 Support babel corejs config for modern mode
    • #6021 Babel polyfill can not be disabled
  • renderer
    • #6033 Correctly load nomodule scripts in safari 10
  • cli
    • #6020 Prevent both nuxt & nuxt-edge being installed
  • vue-app
    • #6012 Emit triggerScroll to support hash navigation
    • #5920 Fix font-size and make width bigger
    • #5891 Always finish transition.leave asynchronously
    • #5890 Fix position of the build indicator when page scrolled
  • vue-renderer
    • #6223 Call render:resourcesLoaded hook before createRenderer
    • #5964 Clone SPA meta to prevent cache modification
  • webpack
    • #5906 Extract css breaks hmr and source-maps

🚀 Features

  • cli
  • server
    • #6178 Allow passing loadingTimeout and other arguments to renderAndGetWindow
  • webpack
    • #6120 Allow function entries for build.transpile
  • vue-app
    • #6194 Add $nuxt.refresh
    • #6186 Use EventSource instead of WebSocket for build indicator
    • #6055 Support app/router.scrollBehavior.js and deprecate scrollBehavior
    • #5941 Add <client-only> alias for <no-ssr>
    • #5844 Allow customizing loading indicator
    • #6194 Add $nuxt.refresh() method or refresh the actual page asyncData and fetch
    • #6231 Export router options
    • #6222 Support functional watchQuery
  • vue-renderer
    • #5975 Add csp option for csp v1 compatibility
    • #6134 Support prepend/append body tags during ssr for all allowed tag types
  • typescript
    • #5858 Externalize typescript support

💅 Refactors

  • config
    • #6203 Rename devModules to buildModules
  • babel-preset-app
    • #6197 Remove babel-plugin-dynamic-import-node
  • webpack
    • #6179 Simplify transpile normalization
  • general

🏡 Chore

  • general
    • #6065 Fix typo
    • #5990 Inverse wording of error message
    • #5910 Update opencollective infos
    • #5869 Rename backers -> nuxters
  • babel-preset-app
    • #5897 Fix typo in babel-preset readme

⚓ Dependency Upgrades

  • file-loader@4
  • url-loader@2
  • cache-loader@4
  • css-loader@3
  • vue-meta@2
  • fs-extra@8

💖 Thanks to