๐ก Highlights
โ ๏ธThis release introduces behavior changes. Update with caution โ ๏ธ
-
Minimum supported Node.js version is 12.0.0 (See #8327 for why)
-
Using jiti as new require engine with typescript support
-
Plug and play works out of the box
-
Allow opting-in to use
postcss@8
(See #8546)NOTE: postcss-preset-env is disabled in v8 config as it doesn't support postcss v8 for now, so please install all below dependencies explicitly.
yarn add --dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1 # or npm i --save-dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1
-
Several encoding issues resolved by consistently using ufo
-
Components updated to v2 (please read migration guide)
-
[Modules] When matching a webpack loader by name or query, should use
includes
instead of exact match (example)
๐ Bug Fixes
general
config
- #8778 Prevent invalid css filenames in webpack output
utils
- #8780
serializeFunction
fails with certain functions
- #8780
vue-app
- #8759 Enable dynamic
publicPath
on server-side - #8701 Static payload fetching bugfixes
- #8612 Check for
Page.options
before looking within - #8611 Don't remove
req
,res
andquery
from context unless in full static mode - #8608 Ensure
link.__prefetch
exists before calling it - #8596 Add missing
id
attribute tonoopApp
- #8557 Scroll-to-top on route changes only
- #8523 Set
push
on router instance rather than prototype - #8486 Do not preserve state when registering client-side dynamic module
- #8802 Add leading slash for payload hydration
- #8759 Enable dynamic
server, vue-app
- #8748 Address encoding issues with query params
dev
cli
- #8683 Disable parallel build behaviour when generating
webpack
- #8555 Can't resolve absolute url in css
server
- #8593 Fix HMR issue with serverMiddleware when
router.base
is set
- #8593 Fix HMR issue with serverMiddleware when
babel
- #8545 Enable polyfilling of proposal core-js features
vue-app, vue-renderer, utils
- #8489 Respect
trailingSlash
setting for payloads
- #8489 Respect
generator
๐ Features
cli
- #8792 Warn if incompatible node and package versions detected
postcss
- #8546 Support postcss v8 with explict postcss installation
config, vue-app, vue-renderer
- #8520 Support dynamic
base
andpublicPath
- #8520 Support dynamic
general
vue-app
- #8466 Support custom
fetchKey
for full static generation
- #8466 Support custom
vue-renderer
- #8347 Allow adding async attribute to
<script>
tags
- #8347 Allow adding async attribute to
๐ Refactors
utils, vue-app
- #8765 Use
ufo
to parse queries and join urls
- #8765 Use
vue-app
- #8621 Simplify scrollToTop checking
general
- Consistent behavior for resolveModule
๐ก Chore
general
cli
- #8674 Fix typo
types
- #8630 Lint types
builder
- Remove validateTemplate check (ed6e8cd)
readme
- #8436 Fix invalid links
๐น Types
- #8784 Add missing ssr option to config types
- #8767
vue.config
types should be optional - #8530 Add missing
redirect
overload toContext
interface - #8638 Add
enablePreview
to context - #8648 Add missing
loadingScreen
type definition
๐ Thanks to
- Alexander Lichter (@manniL)
- Ahad Birang (@farnabaz)
- Beorn Facchini (@beornf)
- Flo Edelmann (@FloEdelmann)
- @gekkedev
- @GeopJr
- @lkho
- Maarten Van Hoof (@vanhoofmaarten)
- Paulo Amosse Cuambe (@paulocuambe)
- Rafaล Chลodnicki (@rchl)
And all nuxters helping everyday with valuable feedbacks ๐