版本信息

v2.13.0

Released on

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
    • #7476 createRequire option and disable esm for jest
    • #7463 Improve production debugging DX
    • #7408 Experimental nuxt telemetry
    • #7374 Builtin Components
    • Runtime config and built-in dotenv support (#7312, #7420, #7421)
    • Full static target (#6159, #7332, #7334, #7336, #7350, #7399, #7400, #7401, #7431, #7486, #7523, #7518)
  • cli
    • Improve banner DX (#7532, #7537)
  • 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
    • #7452 Ad-hoc modules
  • 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

  • Ahad Birang (@farnabaz)
  • Bogdan Gradinariu (@gion)
  • Daniel Roe (@danielroe)
  • Deniz Temizer (@dtmzr)
  • Eunjae Lee (@eunjae-lee)
  • @IWANABETHATGUY
  • Jimmy (@Geminii)
  • Johannes Lamberts (@JohannesLamberts)
  • Jt Whissel (@Phara0h)
  • Lucas Löffel (@loeffel-io)
  • Mathieu TUDISCO (@mathieutu)
  • Nicolas PENNEC (@NicoPennec)
  • Sibbngheid (@sibbngheid)
  • Tim van den Eijnden (@TimvdEijnden)
  • Yugo Ogura (@Spice-Z)
  • xingo xu (@xingoxu)

v2.12.2

Released on

v2.12.1

Released on

v2.12.0

Released on

v2.11.0

Released on

v2.10.2

Released on

v2.10.1

Released on

v2.10.0

Released on

v2.9.2

Released on

v2.9.1

Released on

v2.9.0

Released on

v2.8.1

Released on

v2.8.0

Released on

v2.7.1

Released on

v2.7.0

Released on

v2.6.3

Released on

v2.6.2

Released on

v2.6.0

Released on

v2.5.1

Released on

v2.5.0

Released on

v2.4.5

Released on

v2.4.3

Released on

v2.4.2

Released on

v2.4.0

Released on

v2.3.4

Released on

v2.3.2

Released on

v2.3.1

Released on

v2.2.0

Released on

v1.4.5

Released on

v1.4.4

Released on