- Release Notes
- 7928 Apply
nomodule
to legacy chunks - v2.14.2
- 7906 Avoid using
node_modules
for chunk names (resolves #7901) - 7919 Missing
nomodule
on legacy modules (resolves #7918) - 7877 Use anchor to
/
if route is undefined in error page (resolves #7841) - 7920 Fix
vue-router@2.14
regression withscrollToTop
- 7916 Prevent router.registerModule reallocation (resolves #7915)
- 7912 Use updated error codes to fix redirect errors
- 7860 Improve project dir detection for external commands
- 7902 Improve definitions for component transition property
- v2.14.1
- 7843 Optional dynamic routing in children routes (resolves #7571)
- 7845 Remove optional params in routes ending with
index
(resolves #5874) - 7801 Handle server-side router errors (resolves #7798)
- 7839 Disabe esm cache (resolves #7838)
- 7789, #7849 Add types for
build.corejs
option - 7806 Skip external links with no schema (resolves #7805)
- 7808 Avoid grouping with default name (resolves #7795)
- 7802 Generate still runs when cache disabled
- 7796 Normalize win32 paths for
nuxt generate
cache (resolves #7792) - 7800 Update tailwindcss from
0.6
to1.6
using purgecss - 7828, #7844 Ignore feature request issues
- v2.14.0
- 7785 Auto detect
core-js
version - 7754 Support async
extendRoutes
- 7712 Static target improvements
- 7633 Add
vue-renderer:spa:prepareContext
hook - 7611 Add
web-types.json
for better code insight inWebStorm
- 7787 ensure loaders are first searched from
@nuxt/webpack
- 7763
font-family
hex issue - 7667 Fallback for empty chunk name
- 7766
nuxt-link
prefetch error on fallback page - 7718 Handle fallback on generated page
- 7723 Don’t fetch payload for store mutation for preview and spa fallback
- 7776 Avoid duplicate slashes for routes ending with hash
- 7775 Don’t use absolute path of
.cache/nuxt
as transpilation pattern - 7761 Include routes with children for generation
- 7752 Read
target
from class instead ofserverContext
- 6594 Show default child if trailingSlash is false
- 7767 Use
@nuxtjs/vuetify
module - 7670 Fix module options type
- 7709 Add cross-origin property to
NuxtOptionsRender
- 7670 Fix module options type
- v2.13.3
- 7656 Check plugin key on
Vue.prototype
instead ofVue
- 6745 Sanitize path with trailing slash in
getLocation
(resolves #6744) - 7654 Handle layout on client error (resolves #7567)
- 7657 Don’t fetch payload on first spa fallback render (resolves #7648)
- 7635 Modern build should wait for legacy assets (resolves #7562, resolves #7628)
- 7639 Use compact name for concatenated modules (resolves #7625)
- 7647 Handle nuxt static command 👀
- 7659 Remove unsafe-eval in dev mode
- 7650 Deprecated callback and use cjs
- 7638 Use
v-main
instead ofv-content
- 7626 Import types for
@nuxt/telemetry
and@nuxt/components
- v2.13.2
- 7613 Explicitly pass
outputFileSystem
towebpackDevMiddleware
(resolves nuxt/typescript#145) - 7603 Chunk name normalization for catch-all pages and windows
- 7605 Avoid breaking change for duplicate modules (resolves #7605)
- 7608 Listen to a random port for export and generate (resolves #7597)
- 7614 Remove hash from payload path
- 7606 Fix wrong layout when redirecting from error page (resolves #7567)
- 7604 Flat routes if child routes have absolute paths
- v2.13.1
- 7591 Always import
resolveRouteComponents
(#7587, nuxt/content#123) - 7590 Fix module and typescript compatibility (nuxt-community/sentry-module#195)
- 7590 Add missing crawler config (#7585)
- 7476
createRequire
option and disable esm for jest - 7463 Improve production debugging DX
- 7408 Experimental nuxt telemetry
- 7374 Builtin Components
- 7455 Allow excluding exported pages using
export:page
hook - 7422
export:route
hook andsetPayload
- 7443 Allow babel plugins to be defined by function
- 7178 Add
mjs
tobabel-loader
- 7430 Support
.nuxtrc
- 7420 Improved runtimeConfig
- 7263 Add configOverrides for loadNuxt and loadNuxtConfig
- 7383 Add non async split chunk to preload scripts
- 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
- 7306 Remove inlined safari fix in csp mode
- 7212 Inject into plugins context in addition to app context
- 7170 Add head
<base>
meta for spa - 7168 Pass
renderContext
tovue-renderer:ssr:templateParams
hook - 7144 Add
bugfixes
option - 7132 Ignore option to function the same as
.nuxtignore
- 7267 Improve module not found error
- 7131 Join with os native sep in resolver
- 7286 Use different port for loading-screen SSE
- 7377, #7378 Set build indicator icon height for ie11
- 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 - 5703, #7442 Prevent double layout execution
- 7162 Allow background customization for default loading template
- 7271
sanitizeComponent
import regression with features disabled - 7139 Sanitize layouts after resolve for
splitChunks.layout
- 7335 Improve error handling when build does not exists
- 7498 Modulepreload not work in generate
- 7382 Wrong assets mapping in ssr client modern mode
- 7439 Fix meta injection when ssr renderer generates a spa page
- 7376 Base tag should be before any link or script tag
- 7361 Empty build and dist directories instead of remove
- 7297 Not override presets if babelrc is true
- 7146 HMR for sub-app serverMiddleware without path
- 7452 Ad-hoc modules
- 7187 Move
build.crossorigin
torender.crossorigin
- 7381 Update github icon name
- 6031, #7460 Enhance generate no-build description
- 7458 Fix minor issues in build scripts
- 7228 Add ls-lint
- 7219 Fix typos
- 7373 Update rollup and dependencies
- 7119 Upgrade
html-webpack-plugin
to v4 - 7321 Upgrade
vue-test-utils
to v1 - 7205 Fix
package.json
scripts - 7211 Update vue-chartjs
- 7319 Update
jest
to v26 - 7252 Add test for inject in context
- 7432 Move
@nuxt/types
to nuxt mono-repo - v2.12.2
- 7146 HMR for sub-app
serverMiddleware
without path - 7139 Sanitize layouts after resolve for
splitChunks.layout
- 7131 Join with os native sep in the resolver
- 7129 Avoid multiple
$fetch
calls - 7103 Use
globals.nuxt
for fetch client mixin - 7128 Set default name to layout to avoid multi mounted calls
- 7097 Ensure entry is in the graph for HMR
- 7092 Simplify readme and add gitpod in contributing section
- 7098 Avoid warning with legacy
postcss.config.js
- v2.12.0
- 6950 Support
crossorigin
attribute in SSR script andpreload
tags - 6868 Improve programmatic usage (see docs )
- 7029 Expose webpack config
- 6272 Allow disabling loading-screen
- 6987 Support
@import
using~assets
in css files - 6272 Allow disabling loading-screen
- 6880 New fetch syntax (see docs )
- 6939 Pass error as param to
nuxt-loading
fail method - 6244 Trigger
watchParam
when param is changed in same route - 6855 Pass context when
nuxt.config
exports a function - 6924 Analyze mode warning rewording
- 6881, #6896 HMR support for server middleware
- 6882 Log message or full error for unhandled error without stack trace
- 6904 Display listening URLs after build
- 7032 Improve missing inject value error message
- 6775 Middleware not executing on double browser back navigation
- 7079 Better module not found handling
- 6973 Early return
render
when redirect happens - 6846 Don’t serialize session when
injectScripts
is false - 7002 Deprecated
render:context
andrender:routeContext
hooks was not being called - 7070 TypeError when import cjs in webpack building
- 6946 Use child transition name when navigating to parent
- 6854 Add fallback context for errors
- 6803 Resolve leave transition on child routes
- 6807 Move head to the index to avoid global state
- 6864 Provide global
URL
andURLSearchParams
- 6954 Use scope variable memo for modern utils
- 6953 Eliminate side effect from modern utils
- 6997 Remove non-existing link
- 6816 Simplifies Code Contributions & Reviews
- 6857 Support Github actions
- v2.11.0
- 6777 Add catch statement to non function block in
serializeFunction
- 6791 Fix
flatRoutes
regex for nested routes with trailing slash enabled - 6658 Pass router mode to
getLocation
- 6683 Apply path-to-regexp options to
tokensToFunction
- 6650 Layout in
error.vue
not work for Vue.extend component - 6623 Add
prefetched
class to<nuxt-link>
after chunk loaded - 6685
context.route
issue in plugins andsplitChunks.pages === false
- 6590 Collapsed SSR log
- 6495 Enable devtool for dev mode
- 6566 Normalize devtool for terser compatibility
- 6583 Typo in
unsafeInlineCompatibility
name - 6722 Upgrade
vue-router
to3.1.x
- 6149 Optionally strip non-client or non-server code
- 6505 Support evaluation in templates
- 6597 Add
ignoreOptions
fornode-ignore
- 6771 Only append not empty allowed sources to csp
- 6632 Prefer using
contenthash
- 6586 Fix cannot read property ‘app’ of undefined on nuxt build
- 6732 Update
@nuxtjs/eslint-config
to v2 and fix lint errors - 6686 Fix typo in middleware readme
- 6649 Limit stale bot to only issues
- 6637 Remove unused dependencies
- 6630 Use
.github/config.yml
for issue template - 6719 Update code-of-conduct
- 6739 Remove coverage collection in fixtures
- 6747 Use LTS Node.js instead of latest
- 6737 Separate dev test and unit test
- 6657 Add chinese translation for issue template
- 6752 Pass array to allowedSources
- 6740 Use
got
instead ofrequest
- 6638 Fix chrome detection in macOS Catalina
- 6596 SSR log
- v2.10.2
- 6495 Enable devtool for dev mode
- 6566 Normalize devtool for terser compatibility
- 6583 Typo in
unsafeInlineCompatibility
name - 6590 Fix collapsed SSR log
- 6586 Fix cannot read property ‘app’ of undefined on nuxt build
- v2.10.1
- 6504 Remove consola from client
- 6515 Fix error when
router.trailingSlash
isfalse
- 6362 Remove trailing slash when no subFolders are used
- 6520
chunkhash
andcontenthash
not work withextractCSS
- 6525 Enable server for
nuxt build
when pages should be generated - 6511 Remove deprecated starter template
- v2.10.0
- 6490 Clear resolver cache for project files dev mode
- 6479 Error page layout not correctly applied in client-side rendering
- 6473 Pass
vm
as arg to supportdata()
with arrow function - 6433 Fix
asyncData
hydration whenfeatures.transition
isfalse
- 6430 Clear idle callback
- 6217 Prevent looping on error during render of error page
- 6298 Fix
consola
IE compatibility - 6460 Correct sass options for
sass-loader@8
- 6448 Don’t push to
compilersWatching
in callback - 6441 Server should not be initialized in nuxt build
- 6435 Use loose mode for babel class plugin
- 6429 Dont mutate
options.head
- 6371 Enable total timing by default when
server.timing
is enabled - 6379 Add module declaration for
config
andvue-app
- 6399
cli.bannerColor
option - 6414
serverMiddleware
as a simple key/value object - 6368
followSymlinks
option to allow for symlinks - 6285
extendPlugins
option andbuilder:extendPlugins
hook - 6329 Add
builder:prepared
hook - 6342 Support adding custom middleware
- 6475 Catch build errors with
cli:buildError
hook - 6477 Use
vue-meta
browser build for client bundle - 6398 Upgrade
terser-webpack-plugin
tov2
- 6350 Add
webpack:config
hook - 6438 Add config option to define
etag
hash function - 6292 Add
prefetch
prop to<nuxt-link>
- 6287 Support configurable features
- 6297 Function watchQuery
- 6432 Support setting (non-essential)
vue-meta
options by user - 6277 Export sort routes
- 6331 Enforce uniform trailing slash handling
- 6353 Call setup hook in run command with more args
- 6352 Await
build.createRoutes
to allow async functions inside it - 6087 Simplify babel preset config
- 6396 Create server inside the export function
- 6390 Lint
vue-app
templates - 6363 Rename setup hook to
run:before
- v2.9.2
- 6257 Improve watching experience for generated files
- 6283 fix(builder): apply overrides from app dir only
- 6265 Treat
https: null
ashttps: undefined
- 6267 Add missing
vue-client-only
dependency - 6264 Only overwrite leave listener when none provided or without done arg
- 6255 Enforce default css when used with frameworks
- 6258 Provide typescript backward compatibility
- 6271 Use hable
- 6252 Provide typescript backward compatibility
- 6248 Update module for using
additionalExtensions
- v2.9.0
- 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
- 6033 Correctly load
nomodule
scripts in safari 10 - 6020 Prevent both
nuxt
&nuxt-edge
being installed - 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
- 6223 Call
render:resourcesLoaded
hook beforecreateRenderer
- 5964 Clone SPA meta to prevent cache modification
- 5906 Extract css breaks hmr and source-maps
- 6206 Export options
- 6178 Allow passing
loadingTimeout
and other arguments torenderAndGetWindow
- 6120 Allow function entries for
build.transpile
- 6194 Add
$nuxt.refresh
- 6186 Use EventSource instead of WebSocket for build indicator
- 6055 Support
app/router.scrollBehavior.js
and deprecatescrollBehavior
- 5941 Add
<client-only
> alias for<no-ssr>
- 5844 Allow customizing loading indicator
- 6194 Add
$nuxt.refresh()
method or refresh the actual pageasyncData
andfetch
- 6231 Export router options
- 6222 Support functional
watchQuery
- 5975 Add csp option for csp v1 compatibility
- 6134 Support prepend/append body tags during ssr for all allowed tag types
- 5858 Externalize typescript support
- 6203 Rename
devModules
tobuildModules
- 6197 Remove
babel-plugin-dynamic-import-node
- 6179 Simplify transpile normalization
- 6065 Fix typo
- 5990 Inverse wording of error message
- 5910 Update opencollective infos
- 5869 Rename backers -> nuxters
- 5897 Fix typo in babel-preset readme
- v2.8.1
- 5867 Fix exception on property access of undefined object
- 5863 Prevent “can’t set headers after they are sent” error in modern server mode
- 5864 Reduce consola direct access and don’t override browser
console.log
- 5865 Don’t mutate options export to prevent ESM regression with nuxt.config in mixed (cjs + esm) mode (TIP: never mix them as is non-standard and may be unsupported in any future version)
- 5854 Prepare for external typescript support
- v2.8.0
- 5770 Add a group for SSR logs to avoid polluting the browser console
- 5810 Fancier browser logs with consola
- 5820, #5832, #5834 Show build indicator in the browser when rebuilding code:
- 5753 Watch for
pages/
creation when default page displayed - 5812 Only listen for file changes for supported extensions
- 5753 Re-use the same port when randomly assigned when restarting in dev mode
- 5807 Add
User-Agent
toVary
header in modern server mode - 5764 Safe format SSR logs
- 5793 Preserve random port when restarting
- 5753 Watch for
pages/
creation when default page displayed - 2812 Only listen for file changes for supported extensions
- 5791 Minify spa fallback
- 5785 Add type definition for functional
babel.presets
- 5757 Reuse page component with
watchQuery
- 5746 Remove trailing slash in vue-router non-strict mode
- 5752 Don’t attach catch handler to already loaded component
- 5824
fixPrepatch
in-out transition fix (issue #5797) - 5754 Handle
serializeFunction
edge case - 5745 Add
render.injectScripts
option - 5784 Support
render.ssrLog
for controlling SSR logs - 5796 Use
require.resolve
instead ofModule
internals - 5792 Pass nuxt options to template as
nuxtOptions
- 5770 Add a group for SSR logs
- 5826 simplify mount error log
- 5748 Small readability improvements
- 5775 Use named store export to prevent warning
- 5742 Add missing ts-node dependency
- 5802 Upload test report to CircleCI and Azure
- 5790 Add unit tests for
core/resolver.js
- 5782 Remove duplicate unit tests in
packages/core/test/resolver
- v2.7.1
- v2.7.0
- v2.6.3
- v2.6.2
- v2.6.0
- v2.5.1
- v2.5.0
- v2.4.5
- v2.4.3
- v2.4.2
- Bugfixes
Release Notes
v2.14.3
Released on 16 August
🐛 Bug Fixes
💖 Thanks to
- Daniel Roe (@danielroe)
v2.14.2
Released on 16 August
🐛 Bug Fixes
webpack
modern
vue-app
router
cli
👕 Types
💖 Thanks to
- Ahad Birang (@farnabaz)
- Matthew Gamble (@mwgamble)
v2.14.1
Released on 4 August
🐛 Bug Fixes
router
vue-app
core, config
builder
crawler
webpack
cli
📝 Examples
🏡 Chore
💖 Thanks to
- Ahad Birang (@farnabaz)
- @ChangJoo-Park
- Matthieu Sieben (@matthieusieben)
- Rafał Chłodnicki (@rchl)
- @lihbr
v2.14.0
Released on 27 July
⭐ Highlights
- Static target improvements
- Auto detecting
core-js
version for project - Official support for Nuxt.js with webstorm 2020.2
- New Guides section in documentation
🚀 Features
webpack
builder
general
vue-renderer
vue-app
🐛 Bug Fixes
webpack
vue-app
generator
cli
utils
vue-renderer
router
🖤 Refactors
server
- 5272a4 Rename
externalsWhitelist
toexternalsAllowlist
- 5272a4 Rename
📝 Examples
👕 Types
general
💖 Thanks to
- Ahad Birang (@farnabaz)
- Daniel Roe (@danielroe)
- Harlan Wilton (@loonpwn)
- @IKKO-Ohta
- Martin Novák (@MartinN3)
- Matthieu Sieben (@matthieusieben)
- Piotr Tomiak (@piotrtomiak)
- Simon Tretter (@simllll)
- Timothy R. Chavez (@timrchavez)
- Yaroslav Vorobev (@Zekfad)
v2.13.3
Released on 2 July
🐛 Bug Fixes
vue-app
webpack
cli
💅 Refactors
📝 Examples
👕 Types
💖 Thanks to
- Ben Read (@ReadB)
- Daniel Roe (@danielroe)
- Denis Karabaza (@simplesmiler)
- Kawacrepe (@Kawacrepe)
- Konstantin Barabanov (@crutch12)
v2.13.2
Released on 26 June
🐛 Bug Fixes
webpack
core
cli
vue-app
utils
Dependencies
- consola: Improve spam detection
@nuxt-telemetry
: Stability improvements and supporttelemetry: true
💖 Thanks to
- Denis Karabaza (@simplesmiler)
- Konstantin Barabanov (@crutch12)
- Michał Kędrzyński (@kedrzu)
v2.13.1
Released on 24 June
🐛 Bug Fixes
vue-app
7591 Always import
resolveRouteComponents
(#7587, nuxt/content#123)- 6332a Check correct layout when navigating from error (#7567)
👕 Types
7590 Fix module and typescript compatibility (nuxt-community/sentry-module#195)
7590 Add missing crawler config (#7585)
v2.13.0
Released on 18 June
What’s new?
- New
target: static
and full static usingnuxt export
- Built-in
.env
support andruntimeConfig
- 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 jest7463 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
webpack
config
ssr
server
modern
vue-app
vue-renderer
babel-preset-app
builder
🐛 Bug Fixes
core
general
webpack
vue-app
generator
modern
vue-renderer
generator, builder
babel
server
💅 Refactors
📝 Examples
🏡 Chore
cli
general
renovate
- Ignore
@types/terser-webpack-plugin
- Ignore
pkg
dep
test
benchmark
example
👓 Tests
💙 Types
💖 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 31 March
🐛 Bug Fixes
server
vue-app
core
v2.12.1
Released on 25 March
🐛 Bug Fixes
vue-app
builder
🏡 Chore
readme
examples
💖 Thanks to
- Adam (@mercs600)
- Aster (@asterd)
- Sean Hellum (@JesterOrNot)
- @daniluk4000
- @olddeda
v2.12.0
Released on 17 March
🚀 Features
general
6950 Support
crossorigin
attribute in SSR script andpreload
tags6868 Improve programmatic usage (see docs)
7029 Expose webpack config
6272 Allow disabling loading-screen
webpack
vue-app
6880 New fetch syntax (see docs)
6939 Pass error as param to
nuxt-loading
fail method6244 Trigger
watchParam
when param is changed in same route
cli
👌 DX
builder
general
generator
cli
vue-app
core
🔥 Performance
vue-renderer
🐛 Bug Fixes
core
babel-preset-app
vue-app
webpack
💅 Refactors
general
utils
📝 Examples
🏡 Chore
👓 Tests
general
- Fix socket-hang-up test
- Separate dev and unit test
- Avoid unexpected outside stderr assertion count
- Fix uncompressed resource size
- Wrap error test with consola to make output clear
💖 Thanks to
- 404-NOTFOUND (@404-NF)
- HG (@husayt)
- James George (@jamesgeorge007)
- Jason Poindexter (@jsonpoindexter)
- Mark Honeychurch (@markhoney)
- Matteo Rigon (@matteo-rigon)
- Sand Of Vega (@sandofvega)
- Sean Hellum (@JesterOrNot)
- Vladlen (@negezor)
- @wppd
v2.11.0
Released on 17 December 2019
🐛 Bug Fixes
utils
vue-app
general
webpack
config
🚀 Features
vue-app
general
vue-renderer
config
💅 Refactors
🔥 Performance
📝 Examples
🏡 Chore
general
docs
ci
github
👓 Tests
general
💖 Thanks to
- Ahad Birang (@farnabaz)
- Cain Hall (@cain)
- Daniel Roe (@danielroe)
- Dennis Herzberg (@dennis47528)
- Harry Trần (@jetaimefrc)
- Mohammad M. Shahbazi (@mshahbazi)
- @PedroD
- Stephan Besser (@reskume)
- Rafał Chłodnicki (@rchl)
- Vanessa A (@Vinesse)
- @crutch12
v2.10.2
Released on 21 October 2019
🐛 Bug Fixes
webpack
config
vue-app
📝 Examples
💖 Thanks to
- @PedroD
- Stephan Besser (@reskume)
v2.10.1
Released on 11 October 2019
🐞 Fixes
vue-app, webpack
utils
generator
webpack
cli
🏡 Chore
⚓ Dependency Upgrades
vue-meta
: Upgraded tov2.3
which fixes duplicated tags in SPA mode
💖 Thanks to
- Dennis Herzberg (@dennis47528)
- Yuki Terashima (@y-temp4)
v2.10.0
Released on 2 October 2019
🌟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
vue-app
webpack
cli
babel-preset-app
vue-renderer
config
config, vue-app
🚀 Features
cli, config
config
builder
cli
webpack
server
vue-app
general
utils
builder, router
💅 Refactors
cli
builder
babel-preset-app
📝 Examples
🏡 Chore
general
💖 Thanks to
- Louis-Marie Michelin (@lmichelin)
- Daniel Roe (@danielroe)
- Snir Shechter (@SnirShechter)
- @radimhornicek
- @xxRockOnxx
v2.9.2
Released on 28 August 2019
🐛 Bug Fixes
general
builder
server
nuxt-start
vue-app
config
💅 Refactors
v2.9.1
Released on 20 August 2019
🐛 Bug Fixes
vue-app
loading-screen
- nuxt/loading-screen#38 set
Content-Type
for index page
- nuxt/loading-screen#38 set
📝 Examples
💖 Thanks to
- Artyom Bogomolov (@DevArtyom)
- Rafał Chłodnicki (@rchl)
v2.9.0
Released on 20 August 2019
⚠️ 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 ofapp/router.scrollBehavior.js
(#6055) - 👉
devModules
option is deprecated in favor ofbuildModules
(#6203)
🐛 Bug Fixes
general
renderer
cli
vue-app
vue-renderer
webpack
🚀 Features
cli
server
webpack
vue-app
6194 Add
$nuxt.refresh
6186 Use EventSource instead of WebSocket for build indicator
6055 Support
app/router.scrollBehavior.js
and deprecatescrollBehavior
5941 Add
<client-only
> alias for<no-ssr>
5844 Allow customizing loading indicator
6194 Add
$nuxt.refresh()
method or refresh the actual pageasyncData
andfetch
6231 Export router options
6222 Support functional
watchQuery
vue-renderer
typescript
💅 Refactors
config
babel-preset-app
webpack
general
- Refactor to adhere to @nuxt/eslint-config v1
🏡 Chore
general
babel-preset-app
⚓ Dependency Upgrades
- file-loader@4
- url-loader@2
- cache-loader@4
- css-loader@3
- vue-meta@2
- fs-extra@8
💖 Thanks to
- 719media (@719media)
- Anthony Fu (@antfu)
- Farzad Soltani (@farzadso)
- François Hodierne (@znarf)
- Josh Deltener (@hecktarzuli)
- Rafał Chłodnicki (@rchl)
- Ricardo Gobbo de Souza (@ricardogobbosouza)
- Ustun Ozgur (@ustun)
- William Chong (@williamchong007)
- bluelovers (@bluelovers)
- orblazer (@orblazer)
- yutanoma (@yutanoma)
- Dzmitry Bachko (@dbachko)
v2.8.1
Released on 4 June 2019
🐛 Bug Fixes
vue-renderer
vue-app
cli
💅 Refactors
💖 Thanks to
- Rafał Chłodnicki (@rchl)
v2.8.0
Released on 30 May 2019
😎 Developer Experience
5770 Add a group for SSR logs to avoid polluting the browser console
5810 Fancier browser logs with consola
5753 Watch for
pages/
creation when default page displayed5812 Only listen for file changes for supported extensions
5753 Re-use the same port when randomly assigned when restarting in dev mode
🐛 Bug Fixes
vue-renderer
server
builder
generator
types
vue-app
utils
🚀 Features
vue-renderer
💅 Refactors
core
builder
vue-app
general
📝 Examples
auth-jwt
typescript
🏡 Chore
ci
general
- Remove unused dependency cross-env
- Add FUNDING.md
- Improve links in readme
♻️ Tests
general
⚓ Dependency upgrades
💖 Thanks to
- @aaronransley
- @alexandreDavid
- @Elevista
- @utatti
- @rchl
- @maunier
- @cuixiaorui
- @Globegitter
v2.7.1
Released on 14 May 2019
Fixes
- builder: use warn only for mismatched dependencies (#5723)
- webpack: correctly resolve consola for the client bundle (#5729)
Dependency Upgrades
- postcss-import-resolver: prefer
style
property when resolving (jsless/postcss-import-resolver#2)
Thanks to
- Blake Kostner (@btkostner)
v2.7.0
Released on 14 May 2019
DX Improvements 💅
SSR logs in your browser 🖥️
We all know the console.log
debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.
This can be really annoying when developing a Nuxt.js application, starting with this version and running nuxt dev
, the ssr logs are now reported to your browser console:
Detecting store/
creation 👀
Nuxt.js now detects when you created a store/
directory and will reload himself auto-magically so you don’t have to restart it anymore.
PS: We also improved the serverMiddleware
watch to restart Nuxt.js and clean their cache
Fixes ✔️
- builder: corretly detect mode of hashed plugins (#5695)
- builder: call
watch:restart
afterwatch:fileChanged
hook (#5620) - utils: node v8 not support dotAll in regex (#5608)
- vue-app: properly catch component loading error (#5687) (#5688) (#5690)
- vue-app: consider
watchQuery
option inrouterViewKey
(#5516) - vue-renderer: await on
spa:templateParams
hook (#5619) - webpack: set log level to warn for
HardSourcePlugin
(#5653) - vue-app: properly catch loading error in component prefetching (#5688) (#5690)
- vue-app: avoid using aliases in templates (#5656)
- builder: watch store dir and
serverMiddleware
paths (#5681)
Features 🚀
- vue-app: rename
transition
topageTransition
and deprecate it (#5558) - vue-renderer/vue-app: report SSR console logs to the browser with consola (#5673)
- webpack: suppress not found typescript warnings (#5635)
- webpack: extendable
babel.presets
and babelenvName
(#5637) - configurable aliases (#5655)
Refactors 🧹
- server: exclude dist files request from browser detection (#5571)
- vue-renderer: remove chalk in renderer (#5609)
- vue-renderer: split renderer into ssr, spa and modern (#5559)
- move modern detection from server to utils (#5584)
Examples 📚
- auth-routes: fix typo (#5651)
- babel-preset-app: add
core-js@3
example in the readme (#5633) - docker: fix Dockerfile casing (#5705)
Typescript 👷
Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to ts-loader v6
- add babel config types (#5666)
- upgrade ts-loader to v6 (#5691)
- fix
context.app
type (#5701) - fix
extendRoutes
method type (#5700) - prevent
ts-node
to register twice (#5699)
Thanks to 🙏
- Christian Lehr (@clehr)
- Hyunje Jun (@utatti)
- Rafał Chłodnicki (@rchl)
- Yama-Tomo (@Yama-Tomo)
- René Stalder (@renestalder)
- Kohei Ota (@inductor)
v2.6.3
Released on 25 April 2019
Fixes
- cli: Watch and reload
nuxt.config
(#5574) - utils: serialize inline functions (#5051) (#5580)
- vue-app: Fix context
req
andres
types (#5560) - webpack: Fix production font preloading (#5436)
- Don’t customize esm options (91c3642e64166a939683b856e5b34ef42d12bb0e)
Dependency Upgrades
v2.6.2
Released on 21 April 2019
Fixes
- cli: Apply
nuxt.config.js
changes and watch for all imported files (#5500) - cli: Fix problem for users that have
tsconfig.json
but do not use typescript (#5478) - cli: Show memory usage after build for
nuxt dev
(#5514) - server Fix bug with SPA mode with CSP enabled (#5474)
- vue-renderer: Use
modulepreload
for modern mode when using spa generate (#5489) - webpack: Suggest using official
@nuxtjs/style-resources
package (#5499) - Custom
router.base
support for banner url and loading screen (#5470) (nuxt/loading-screen#8)
Security Fixes
- Prevent potential XSS vulnerabiliy when using
vuex-router-sync
(nuxt/devalue#8) (vuejs/vuex-router-sync#89)
Thanks to our awesome contributors to this release
- Damian Stasik (@visualfanatic)
- Andreas Zoellner (@zoellner)
- Vasyl Boroviak (@koresar)
v2.6.0
Released on 4 April 2019
Migration Guide
This version is addressing most of the problems of 2.5 and is without any breaking changes. For most of the users, a normal version upgrade would be enough. However, reading this guide can help to have a smooth upgrade.
General Tips
- Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn
- Before upgrade ensure to remove
yarn.lock
,package-lock.json
andnode_modules
- After full install and testing, also consider upgrading other dependencies. The
yarn outdated
command can be used.
Missing App Dependencies
Because of how package managers (yarn, npm) work, a wrong version of a dependency from one of the other dependencies may be hoisted into node_modules
. Nuxt is strict about this and provides instructions for dependency resolution so please follow it.
The well-known problem is with firebase
package that requires to manually install node-fetch
dependency in your project.
Reverting breaking changes
We accidentially introduced a change that broke the prod build for many people who are using Nuxt programatically. This has been resolved through #5413. Sorry for the inconveniences!
Core-js
Since core-js@2
and core-js@3
are both supported from babel 7.4.0, Starting from 2.6 Nuxt supports both versions (#5411). It is highly advised to stick with 2 (default) unless having a special dependency that needs 3. (Instructions for core-js@2
are not required but recommended)
core-js@2
- yarn:
yarn add -D core-js@2 @babel/runtime-corejs2
- npm:
npm i -D core-js@2 @babel/runtime-corejs2
core-js@3
- yarn:
yarn add -D core-js@3 @babel/runtime-corejs3
- npm:
npm i -D core-js@3 @babel/runtime-corejs3
Edit nuxt.config.js
:
export default {
build: {
babel: {
presets({ isServer }) {
return [
[
require.resolve('@nuxt/babel-preset-app'),
// require.resolve('@nuxt/babel-preset-app-edge'), // For nuxt-edge users
{
buildTarget: isServer ? 'server' : 'client',
corejs: { version: 3 }
}
]
]
}
}
}
}
Typescript
Nuxt 2.5 users may only require to add ts-node
to the dependencies
Beta Testers : Replace
nuxt
bynuxt-edge
, and@nuxt/typescript
by@nuxt/typescript-edge
in the following instructions.
- Remove
nuxt-ts
dependency (2.4 users only)- yarn:
yarn remove nuxt-ts
- npm:
npm remove nuxt-ts
- yarn:
- Add
nuxt
andts-node
todependencies
:- yarn:
yarn add nuxt ts-node
- npm:
npm i nuxt ts-node
- yarn:
- Add
@nuxt/typescript
todevDependencies
:- yarn:
yarn add -D @nuxt/typescript
- npm:
npm i -D @nuxt/typescript
- yarn:
- Create an empty
tsconfig.json
file. Nuxt will automatically generate it with defaults at first run, then you can edit it to fit your needs
Features
- feat(babel-preset-app): support specifying core-js version (#5411) (Xin Du (Clark)) (159123fe)
- feat(cli): add internal _generate and _build options (#5434) (Pooya Parsa) (516aea3d)
- feat(cli): add
--quiet
option tonuxt generate
command (#5357) (Franck Abgrall) (91f4eb04) - feat(typescript): detect typescript based on
tsconfig.json
(#5412) (Pooya Parsa) (6ffc5c57) - feat(vue-renderer): add csp meta tags (#5354) (James George) (b978a376)
Fixes
- fix: unexpected token export in importing babel runtime helper (#5401) (ryota yamamoto) (3b85dd97)
- fix(core): call ready to prevent breaking changes (Pooya Parsa) (#5413) (001ba775)
- fix(build): disable loading
babel.config.js
by default (#5365) (Xin Du (Clark)) (64fa4244) - fix(builder): await for renderer to load resources (#5341) (Pooya Parsa) (caf51984)
- fix(cli): catch all possible errors thrown from proper-filelock (#5347) (Pim) (39bbe46e)
- fix(renderer): retry render if renderer is in loading or created state (#5417) (Pooya Parsa) (8b996959)
- fix(vue-app): decode uri in
getlocation
(#5337) (Johan Roxendal) (77dcfe6e) - fix(vue-app): prevent mounting page twice on redirect (#5361) (noe132) (2d73e8ae)
- fix(vue-renderer): add the csp hash if
unsafe-inline
hasn’t been specified (#5387) (Sam Bowler) (97db6a4b) - fix(types): add type definition for typescript.typeCheck (#5326) (Daniel Roe) (2c1444d9)
Refactors
- refactor(typescript): only generate tsconfig.json if missing (#5356) (#5367) (Kevin Marrec) (9a3fc8a4)
- refactor(vue-renderer): improve ready status error (#5339) (Pooya Parsa) (535327c4)
- refactor(webpack): add ability to get webpack config class (#5378) (Damian Stasik) (abf7db1f)
Examples
- examples: add docker example (#5430) (Utkarsh Gupta) (3eec1152)
- examples(vue-apollo): update to @nuxtjs/apollo 4.x (#5345) (Dmitry Molotkov) (95f2a125)
- examples(with-buefy): update example (#5348) (Dmitry Molotkov) (ce66a8cb)
- examples(with-element-ui): fix package scripts (#5349) (Dmitry Molotkov) (10812e30)
Chore
- chore(postcss): deprecate config support (#5419) (Alexander Lichter) (1bd4fb14)
- chore(readme): fix grammar (#5395) (Irvin Lin) (f8d3626c)
Dependency Upgrades
- loading-screen: use wss for https (nuxt/loading-screen#4)
- loading-screen: fallback to fetch if ws fails (nuxt/loading-screen#6)
- node-proper-lockfile: fix mtime precision on some filesystems (#88) (f266158)
v2.5.1
Released on 21 March 2019
Bug Fixes
- fix: revert to corejs@2 (#5317) (Pooya Parsa) (20836d93)
- fix: remove consola.debug for hooks (#5318) (Thomas Reichling) (9ff01f9b)
- fix: apply default lock options before setting lock (#5320) (Pim) (7c24280a)
- fix(ts): wrong export used in render.d.ts (#5309) (Romain Lanz) (e67b2982)
- examples: upgrade and fix typescript configuration files (#5310) (Romain Lanz) (7100a2c6)
- chore: unsupport nuxt-legacy (pooya parsa) (797a4ce6)
v2.5.0
Released on 21 March 2019
15,000 line changes with 230 squashed commits by more than 30 contributors made this version possible! :heart:
What’s new?
Typescript DX
No longer needed to install nuxt-ts
for typescript support. Nuxt.js officially supports TS by installing @nuxt/typescript
. Please see #5079 for reasons behind such migration.
Babel
Babel 7.4, Core-js v3, and Object.assign
polyfill for better browser support.
Stability
More than 30 fixes, refactors and performance improvements.
Open in Browser
Use nuxt dev -o
to instantly open project in the browser and enjoy a cool loading screen:
.nuxtignore
Before v2.5, you were able to ignore files through an ignore prefix. As using the prefix over and over, ignoring files (and implementing custom structures) was a bit tedious on the long run. We came up with something more sophisticated: A .nuxtignore
file. Following the same specs as a .eslintignore
or a .gitignore
file, you can now define what files or folders to ignore through a .nuxtignore
file in your project root.
Examples and more info in the .nuxtignore docs
[IMPORTANT] Migration Guide
Lock Files
For a clean upgrade, please remove yarn.lock
/ package-lock.json
file from your project before upgrade.
Programmatic API / Middleware
If not already done, please explicitly call nuxt.ready()
after new Nuxt()
. nuxt.ready()
was always async
, but not awaiting the function call has now a severe impact.
const nuxt = new Nuxt(config)
++ await nuxt.ready()
TypeScript
- Please replace
nuxt-ts
dependency and usenuxt
+@nuxt/typescript
. (Alsonuxt-ts-edge
tonuxt-edge
+@nuxt/typescript-edge
for edge users)
{
-- "nuxt-ts": "^2.4.2"
++ "@nuxt/typescript": "^2.5.0"
++ "nuxt": "^2.5.0"
}
- Configuration API to customize/disable type checking has been moved from
build.useForkTsChecker
tobuild.typescript.typeCheck
. Please see #5079 for more details.
build: {
-- useForkTsChecker: false // or ForkTsChecker options
++ typescript : {
++ typeCheck: false // or ForkTsChecker options
++ }
}
Features
- feat(babel): include
es6.object.assign
by default (Clark Du) (52fe145a) - feat(cli): lock project during build or generate (#4985) (Pim) (4e51723e)
- feat(cli): option to open the project in the browser (#4930) (Ricardo Gobbo de Souza) (4c7bd9c5)
- feat(generate): return non-zero code or page error (fixes #4991) (#5195) (Jarek Lipski) (c6565c97)
- feat(module): support src as a function in addModule (#4956) (Ricardo Gobbo de Souza) (1e9eb4b7)
- feat: support
.nuxtignore
(#4647) (Xin Du (Clark)) (59be77a2) - feat: support
devModules
option (#5102) (Jonas Galvez) (e87711c5) - feat(ts): nuxt configuration typedefs (#4854) (Kevin Marrec) (92f81e01)
- feat(vue-app): universal fetch (#5028) (Pooya Parsa) (2015140d)
- feat(vue-renderer): improvements (#4722) (Pooya Parsa) (29297160)
- feat(vue-renderer): use async fs (#5186) (Pooya Parsa) (d07aefa5)
- feat(ts): better DX for typescript support (#5079) (Kevin Marrec) (920f444b)
- feat: loading screen (#5251) (Sébastien Chopin, Pooya Parsa) (ef41e205)
- feat: support core-js 3 (#5291) (Xin Du (Clark)) (d094c4a9)
Fixes
- fix(builder, vue-app): order of plugin execution based on order in array (#5163) (Dmitry Molotkov) (a867dbd3)
- fix: correct public path in generation and start (#5202) (Xin Du (Clark)) (648062c3)
- fix: default for-exit to false to prevent dev exit (pooya parsa) (a347ef9b)
- fix: disable “analyze” for nuxt generate (#4975) (Alexander Lichter) (574a2eb2)
- fix: disable parallel build when extractCSS is enabled (Clark Du) (aad46ed6)
- fix: extra properties in templateFiles (#4925) (Xin Du (Clark)) (ca191240)
- fix: fix non standard esm modifications (pooya parsa) (fb87a559)
- fix: generate failure (#5007) (Andrey Shertsinger) (bcd672f9)
- fix: keep-alive component data should not be updated (#5188) (Xin Du (Clark)) (1ea86617)
- fix: not send Server-Timing header if no timing info (Clark Du) (d9a0b5f6)
- fix(postcss): default to preset-env and cssnano last (#5215) (Alexander Lichter) (adf423a5)
- fix: publicPath is not reactive in dev restarting (#5227) (Xin Du (Clark)) (1fb7538d)
- fix: refactor file watchers (chokidar/linux workaround) (#4950) (Pim) (5ec5932b)
- fix: remove cache-loader for external resources (#4915) (Xin Du (Clark)) (0223e56d)
- fix: respect namespaced in store module (#5189) (Xin Du (Clark)) (9e1ef888)
- fix: revert templatFiles name (#4924) (Xin Du (Clark)) (f70645e5)
- fix: trailing comma in tsconfig (#5061) (Sergey Vikulov) (1fb44d94)
- fix(ts): deprecate
isClient
,isServer
,isStatic
(#5211) (Daniel Hritzkiv) (29c3c425) - fix(types): reflect chainlable NuxtLoading methods (#5104) (Matjaž Lipuš) (66273f4b)
- fix: Unexpected token …. Expected a property name in Safari (Clark Du) (eef7f695)
- fix(vua-app): clone mount error to prevent mutating read-only error object (#5214) (Alexander Lichter) (37006f62)
- fix(vue-app): avoid css chunk error (#5173) (Yutaka Sasaki) (41028a40)
- fix(webpack): clone
config.entry
(fixes #4849) (#5236) (Julien Dargelos) (82167651) - fix: disable extract-css-chunks-webpack-plugin in dev mode (#4888) (Xin Du (Clark)) (928a230f)
- fix(server): handle decodeURI error (#5243) (phof) (5b7f6d78)
- fix: correct socket address in use error message (Clark Du) (2eb19653)
- fix(utils): relax lock settings (#5280) (Pim) (65a431d6)
- fix(vue-app): multiple named views cause invalid syntax (#5262) (Michael Leaney) (d03a61b0)
- fix(webpack): loaders in extend config is broken (#5292) (Xin Du (Clark)) (0eb5ed97)
- fix(vue-app): duplicated router.base when using context.redirect(object) (#5290) (Nianyong) (cf02e822)
- fix(vue-app): decode router base to support unicode characters (#5297) (Alexander Lichter) (3ac01df4)
Performance Improvements
- perf: await routeData promises in parallel (#5027) (Alexander Lichter) (0826d7e5)
- perf(core): skip esm for node_modules and non .js files (#5220) (Pooya Parsa) (aabb1f69)
- perf(webpack): use
futureEmitAssets
(#5003) (Alexander Lichter) (3997d504) - perf(ts): transpileOnly when using
nuxt-ts start
(#4906) (Kevin Marrec) (17cc12f0)
Examples
- examples(jest-puppeteer): fix package .json (#4997) (Andrew Cravenho) (dfc8dd57)
- examples: improve vuex store example (#5017) (Alexander Lichter) (a9511e58)
- examples(pug): fix example by adding plain-pug-loader (#5223) (Paul Geisler) (320a46fe)
- examples(vuex-store): change to module store (#4923) (Alexander Lichter) (be41ae1c)
- examples: add pug-stylus-coffee (#4927) (chiboreache) (6d059698)
- examples: add tsx example (#4855) (andoshin11) (5101dc6a)
- examples: fix jest test dependencies (#5155) (Dmitry Molotkov) (1c3761a6)
- examples: fix links to vue-meta repo (#5018) (Pim) (06f4762e)
- examples: rebase on latest stable nuxt version (#4874) (Alexander Lichter) (47898fbd)
- examples: zero-downtime pm2 typescript example (#4907) (Dmytro) (1fb9af33)
- examples: fix dynamic components example (#5294) (Dmitry Molotkov) (d9db45c2)
Refactors
- refactor: generate routes and template files in builder (#4883) (Xin Du (Clark)) (4c5a59e1)
- refactor: improve modern middleware and spa modern rendering (#5037) (Xin Du (Clark)) (05299d67)
- refactor: isModernBrowser return boolean for avoiding duplicate call (Clark Du) (c6d8e8ff)
- refactor: not detect modern browser if modern mode is disabled (Clark Du) (2b4d79c1)
- refactor: remove builder coupling from server (#5157) (Pooya Parsa) (13cb0f73)
- refactor: remove unnecessary onEmit in old webpack (Clark Du) (eac6d022)
- refactor: some small stuff (#4979) (Alexander Lichter) (69dfd848)
- refactor: fix typos (#4922) (Alexander Lichter) (569b6aab)
- refactor: unify context in webpack module (#5054) (Xin Du (Clark)) (9860eb6a)
- refactor: use spread syntax for plugin push (#4976) (Alexander Lichter) (31cb1873)
- refactor: fallback to babel-preset-env defualt targets when buildTarget is not specified (Clark Du) (176641f6)
- refactor(ts): add warning for nuxt-ts deprecation (#5301) (Kevin Marrec) (a11afd45)
Chore
- chore(babel-preset): create readme with basic docs (#5127) (HG) (04cdd602)
- chore: don`t ignore .nuxtignore (#5169) (Dmitry Molotkov) (39c9ab59)
- chore: enable yarn.lock maintenance (#5063) (Xin Du (Clark)) (17b53ebf)
- chore(vue-app): suppress deprecated warning for classic vuex in prod (#5137) (Shingo Sato) (f39205a7)
Tests
- test: add await for promisable expect (Clark Du) (fabf1c07)
- test: add chrome detector (#4984) (Xin Du (Clark)) (855705bd)
- test: add describe.posix and win (Clark Du) (e9ba2f97)
- test: fix macos e2e tests (Pooya Parsa) (2c763df1)
- test: improve nuxt-loading component tests (#5005) (Pim) (75a74543)
- test: mock enquirer in typescript tests (#5025) (Pim) (ad6a8cda)
- test: skip reqest in dev test for now (Clark Du) (3e678793)
- test: try to fix unhandled request (Clark Du) (2f2baacb)
- test: turn off cli dev test (Clark Du) (5c053f5c)
- test: unit tests for generator (#4857) (Xin Du (Clark)) (e22a282e)
- test: unit tests for @nuxt/util (#4880) (Xin Du (Clark)) (96bab9f0)
- test: unit tests for server module (#5154) (Xin Du (Clark)) (cc573a49)
- test: update cli snapshot (Clark Du) (3dd1a285)
- test: unhandled open handles (Clark Du) (858c9eeb)
- test: change cli.test to be more accurate (#4957) (Xin Du (Clark)) (68f6880f)
- test: use puppeteer-core (#4929) (Pooya Parsa) (940a36fd)
- test: fix e2e test by downloading chromium (#5254) (Pooya Parsa) (2561b68a)
- test: fail tests in case of unhandled errors (#5255) (Pooya Parsa) (d6b505aa)
v2.4.5
Released on 26 February 2019
v2.4.5 (2019-02-26)
Bug fixes and Improvements
- builder: bundle resources other than js(x)/json in node_modules (#4913) (71a70fe)
- cli: dont force exit when it was explicitly disabled (#4973) (4b82aa9)
- cli: show warning on forced exit (#4958) (3d2deac)
- dependencies: update serve-placeholder and esm (#4970) (111455f)
- vue-renderer: preload modern resource in spa modern mode (#5043) (3516580)
- vue-app: fix
asyncData
memory leak on client-side (#4966) (4086800) - vue-app: fix
getNuxtChildComponents
method (#4969) (dbf7099) - vue-app: use browser to handle scrolling position on page reload… (#5080) (7001312)
- webpack: bundle resources other than js(x)/json in node_modules (#4913) (71a70fe)
- nuxt-ts: error catch in nuxt-ts binary (#5086) (4f887f6)
v2.4.3
Released on 6 February 2019
🐛 Bugfixes
- webpack: Update dependency
terser-webpack-plugin
to^1.2.2
. - webpack: Update dependency
webpack
to^4.29.2
- utils: Fix
serializeFunction
for external imports (#4916) - config: Warn when using array for postcss config (#4936)
- module: support src as a function in addModule (#4956)
- server: await buildDone hook (#4955)
v2.4.2
Released on 30 January 2019
Bugfixes
- Handle
async
components correctly when usingnuxt-ts
(PR #4886) - Fix
extractCSS
indev
mode (PR #4892) - Correctly apply class when using
linkPrefetchedClass
(PR #4893)