Skip to content
Compare
Choose a tag to compare

v2.13.0

@pi0 pi0 released this
· 650 commits to dev since this release
Compare
Choose a tag to compare

What's new?

  • New target: static and full static using nuxt export
  • Built-in .env support and runtimeConfig
  • Auto components discovery with nuxt/components
  • Nuxt Telemetry

Also don't miss nuxt/content and nuxt-composition-api ;)

🚀 Features

  • general
  • cli
  • generator
    • #7455 Allow excluding exported pages using export:page hook
    • #7422 export:route hook and setPayload
  • webpack
    • #7443 Allow babel plugins to be defined by function
    • #7178 Add mjs to babel-loader
  • config
    • #7430 Support .nuxtrc
    • #7420 Improved runtimeConfig
    • #7263 Add configOverrides for loadNuxt and loadNuxtConfig
  • ssr
    • #7383 Add non async split chunk to preload scripts
  • server
    • #7469 Add new render:beforeResponse hook
    • #7358 Add unload method support for serverMiddleware
    • #7307 Support csp report-uri
    • #7214 Add custom HTTP headers into error response
  • modern
    • #7306 Remove inlined safari fix in csp mode
  • vue-app
    • #7212 Inject into plugins context in addition to app context
  • vue-renderer
    • #7170 Add head <base> meta for spa
    • #7168 Pass renderContext to vue-renderer:ssr:templateParams hook
  • babel-preset-app
    • #7144 Add bugfixes option
  • builder
    • #7132 Ignore option to function the same as .nuxtignore

🐛 Bug Fixes

  • core
    • #7267 Improve module not found error
    • #7131 Join with os native sep in resolver
  • general
    • #7286 Use different port for loading-screen SSE
    • #7377, #7378 Set build indicator icon height for ie11
  • webpack
    • #7462, #7464 Reduce false negatives in nodeExternals
    • #7318 Allow HMR client path to be set
    • #7305 Use non-eval sourcemap with csp and unsafe-eval script policy
  • vue-app
    • #5703, #7442 Prevent double layout execution
    • redirect no longer strips trailing slash from URL (#7475, #7533)
    • #7162 Allow background customization for default loading template
    • #7271 sanitizeComponent import regression with features disabled
    • #7139 Sanitize layouts after resolve for splitChunks.layout
  • generator
    • #7335 Improve error handling when build does not exists
  • modern
    • #7498 Modulepreload not work in generate
    • #7382 Wrong assets mapping in ssr client modern mode
  • vue-renderer
    • #7439 Fix meta injection when ssr renderer generates a spa page
    • #7376 Base tag should be before any link or script tag
  • generator, builder
    • #7361 Empty build and dist directories instead of remove
  • babel
    • #7297 Not override presets if babelrc is true
  • server
    • #7146 HMR for sub-app serverMiddleware without path

💅 Refactors

  • general
  • config
    • #7187 Move build.crossorigin to render.crossorigin

📝 Examples

  • with-buefy
    • #7381 Update github icon name

🏡 Chore

  • cli
    • #6031, #7460 Enhance generate no-build description
  • general
    • #7458 Fix minor issues in build scripts
    • #7228 Add ls-lint
    • #7219 Fix typos
  • renovate
    • Ignore @types/terser-webpack-plugin
  • pkg
    • #7373 Update rollup and dependencies
  • dep
    • #7119 Upgrade html-webpack-plugin to v4
  • test
    • #7321 Upgrade vue-test-utils to v1
  • benchmark
    • #7205 Fix package.json scripts
  • example
    • #7211 Update vue-chartjs

👓 Tests

  • general
    • #7319 Update jest to v26
    • #7252 Add test for inject in context

💙 Types

  • general

    • #7432 Move @nuxt/types to nuxt mono-repo

💖 Thanks to