v2.10.0
Released 2 months ago

🌟Highlights

  • Support for improved typescript runtime
  • Experimental support for feature toggling for SUPER slim builds!
  • Mitigate problems with nuxt server stocking during development
  • Fix issues with internet-explorer in development mode
  • Upgrade to terser webpack plugin v2
  • Improved stability of loading-screen. No more endless loops (nuxt/loading-screen#44) and show fatal errors (nuxt/loading-screen#45) for the initial build

πŸ› Bug Fixes

  • core
  • #6490 Clear resolver cache for project files dev mode
  • vue-app
  • #6479 Error page layout not correctly applied in client-side rendering
  • #6473 Pass vm as arg to support data() with arrow function
  • #6433 Fix asyncData hydration when features.transition is false
  • #6430 Clear idle callback
  • #6217 Prevent looping on error during render of error page
  • webpack
  • #6298 Fix consola IE compatibility
  • Revert pause/resume
  • #6460 Correct sass options for [email protected]
  • #6448 Don't push to compilersWatching in callback
  • cli
  • #6441 Server should not be initialized in nuxt build
  • babel-preset-app
  • #6435 Use loose mode for babel class plugin
  • vue-renderer
  • #6429 Dont mutate options.head
  • config
  • #6371 Enable total timing by default when server.timing is enabled
  • config, vue-app
  • #6379 Add module declaration for config and vue-app

πŸš€ Features

  • cli, config
  • #6399 cli.bannerColor option
  • config
  • #6414 serverMiddleware as a simple key/value object
  • builder
  • #6368 followSymlinks option to allow for symlinks
  • #6285 extendPlugins option and builder:extendPlugins hook
  • #6329 Add builder:prepared hook
  • #6342 Support adding custom middleware
  • cli
  • #6475 Catch build errors with cli:buildError hook
  • webpack
  • #6477 Use vue-meta browser build for client bundle
  • #6398 Upgrade terser-webpack-plugin to v2
  • #6350 Add webpack:config hook
  • server
  • #6438 Add config option to define etag hash function
  • vue-app
  • #6292 Add prefetch prop to <nuxt-link>
  • #6287 Support configurable features
  • #6297 Function watchQuery
  • general
  • #6432 Support setting (non-essential) vue-meta options by user
  • utils
  • #6277 Export sort routes
  • builder, router
  • #6331 Enforce uniform trailing slash handling

πŸ’… Refactors

  • cli
  • #6353 Call setup hook in run command with more args
  • builder
  • #6352 Await build.createRoutes to allow async functions inside it
  • babel-preset-app
  • #6087 Simplify babel preset config

πŸ“ Examples

  • with-sockets
  • #6396 Create server inside the export function

🏑 Chore

  • general
  • Fix example in babel-preset-app readme
  • #6390 Lint vue-app templates
  • #6363 Rename setup hook to run:before

πŸ’– Thanks to