nuxt/nuxt (nuxt-start)
Compare Source
👉 Changelog
compare changes
🩹 Fixes
- webpack: Depend on earlier version of
mkdirp (f67056b9e)
❤️ Contributors
Compare Source
👉 Changelog
compare changes
🚀 Enhancements
- webpack: Migrate to
memfs (#27652)
🩹 Fixes
- vue-app: Don't throw if we can't read
sessionStorage (#27662)
- config: Add back md4 monkey-patch for wider ecosystem (#27865)
🏡 Chore
❤️ Contributors
Compare Source
👉 Changelog
compare changes
🩹 Fixes
- types: Bump
serve-static types to v1.15.7 (1c44c376d)
- generator: Use maintained
html-minifier-terser (#26914)
- vue-app: Prevent double page mount (#10874)
- core: Don't skip loading runtime modules if one is improperly resolved (#10193)
- vue-app: Prevent error page mounting twice (#27484)
🏡 Chore
✅ Tests
- Properly close
page in e2e tests (1700aa131)
- Wait for navigation in redirect test (e74715606)
- Don't register promise in external nav (#27468)
🤖 CI
❤️ Contributors
Compare Source
2.17.3 is the next patch release for the 2.x branch.
👉 Changelog
compare changes
💅 Refactors
- Migrate to
hookable package (#24426)
🏡 Chore
- Fix invalid package files with
npm pkg fix (4d0474c4b)
✅ Tests
🤖 CI
- Split type check into separate test (40f1f301e)
❤️ Contributors
Compare Source
👉 Changelog
compare changes
🩹 Fixes
- types: Prevent overwriting vue types in template (#22802)
- types: Don't pin webpack types to exact version (#23531)
- Remove md4 patch now that
webpack has it in core (#23703)
🤖 CI
- Add script to update changelog for 2.x releases (#23031)
- Revert to codecov-action v3 (e66e44803)
- Remove node version from matrix (#23706)
- Use node 18 for ci jobs (#23701)
❤️ Contributors
Compare Source
2.17.1 is the next patch release for Nuxt 2.
👉 Changelog
compare changes
🩹 Fixes
- webpack: Downgrade dev-middleware to fix peer dep issue (#21626)
- webpack: Pin webpack-dev-middleware to 5.0.0 (#21804)
❤️ Contributors
Compare Source
2.17.0 is the next minor release for Nuxt 2.
✨ Highlights
Nuxt 2.17 comes with a few new features, including better support for new Vue 2.7 types, and supporting passing postcss config as a function.
It also includes support for Node 20+ and a fix for a dependency issue with the Babel preset that affected new installs.
👉 Changelog
compare changes
🚀 Enhancements
- types: Support nuxt types for defineComponent (#19789)
- csp: Support generating nonce for scripts and links in ssr (#9621)
- webpack: Support passing function as postcssOptions (#19495)
🔥 Performance
- config: Avoid recursive md4 patching (7fab95252)
🩹 Fixes
- Relax node engines upper constraint (010b539ed)
- utils: Respect patterns within paths when sorting routes (#20669)
- vue-app: Skip page render early on error or navigation (#20719)
- babel-preset-app: Add explicit dep on used babel plugin (#21488)
🏡 Chore
- Reenable publishing 🙈 (4ce8b118e)
- Exclude yaml exception vulnerability (build-time dep) (c8ed87a26)
- Bump jest dependencies (#20506)
- Remove resolved advisories (98cd35665)
- Skip publishing node_modules folder (8799cfacc)
- Remove obsolete useWorkspaces option (27e450119)
✅ Tests
- Add catchall path to route generation test (71c359516)
- Update windows snapshot (4ec274ae2)
- Update jest snapshots to remove escaped quotes (f93411c7c)
🤖 CI
- Run tests in node 16 (#20644)
- Pin actions by hash and use corepack (#21356)
❤️ Contributors
Compare Source
2.16.3 is a patch release with bug fixes.
👉 Changelog
compare changes
🩹 Fixes
- types: Add return type for
error() (#19044)
- types: Bring types from
less into namespace (#19738)
- types: Sync vue type augmentations with Vue 2.7 (#19526)
- config: Move
preset to inner postcssOptions (#19518)
- webpack: Add
node-fetch-native to externals list (#19755)
🏡 Chore
- Release all packages with latest tag except
nuxt (4e9dcddcb)
- examples: Use
2.x version of nuxt instead of latest (#19737)
- Lint package files (6ca842e36)
❤️ Contributors
Compare Source
2.16.2 is a patch release with bug fixes.
✨ Highlights
The main change in this patch release is that we now patch the crypto node built-in during build to allow Nuxt 2 to be used on Node versions greater than Node 16, which should ease the pressure users feel after Node 16 reaches its own EOL this year.
Warning
This should not be taken for an endorsement of continuing to run with Webpack 4, which is out of date and has a number of dependencies with issues. I expect that number to continue to grow, and we will not be able to resolve all of them. I would strongly urge migrating to Nuxt 3 if possible and the team will do our best to make this possible over the course of the year ❤️
👉 Changelog
compare changes
🚀 Enhancements
- types: Add basic types for Nuxt interface (#9772)
🩹 Fixes
- vue-renderer: Insert
charset before title (#18998)
- types: Remove non-existent properties from context (#19021)
- Add minimum node 14.18 version constraint (#19112)
- config: Upgrade md4 -> md5 on node > 16 (#19108)
- vue-app: Handle promise rejection from
asyncData (#18585)
🏡 Chore
❤️ Contributors
Compare Source
Nuxt 2.16.1 is a patch release with a couple of small bugfixes to last week's 2.16.0 release.
v2.16.0...v2.16.1
🩹 Fixes
- deps: Downgrade
@types packages depending on webpack 5 (#18827)
- config: Let webpack merge postcss plugins (#18839)
- types: Import
Location from vue-router (#18908)
🏡 Chore
- Tag 2.x releases appropriately (
aba93e9)
- Revert node types to v16 (
3d034a3)
- Remove stub type definitions (
daed62a)
❤️ Contributors
Compare Source
Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in nuxt-edge for some time.
✨ Highlights
⚠️ Breaking changes
-
In this PR we only support Node 14+. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until its own EOL, Nuxt 2 will only officially support Node versions that have not reached their EOL.
-
New postcss options format. See #9671 for full details.
-
Dependency upgrades. A number of dependencies have dropped support for earlier node versions. dotenv has changed how it parses .env files in a number of edge cases. glob now requires / instead of \ on windows machines. There may also be other changes that affect your usage, so please do upgrade with care.
-
Vue 2.7 upgrade. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7.
This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than @nuxtjs/composition-api. (You can opt-in to just these utilities by disabling the other bridge modules individually.)
Changelog
compare changes
🚀 Enhancements
- config: Support
nuxtrc in dist directory (#9280)
- generator: Add ignoreEnv generate option during ensureBuild(cmd) (#8955)
- server: Allow disabling
serve-static middleware (#9365)
- types: Add
asyncData return types to component instance type (#9239)
- vue-app:
context.beforeSerialize method (#9332)
- vue-app: Pass
store to createRouter (#9629)
- Default to
core-js version 3 (#9987)
- webpack: ⚠️ Update postcss to v8 (#9671)
🩹 Fixes
- vue-app: Respect
scroll-margin-top when navigating with hash (#9187)
- webpack: Use
javascript/auto for js rule (#9180)
- server: Unregister error event listener (#9245)
- babel-preset-app: Respect explicit options.targets for modern preset (#9337)
- types: Add nuxt.config alias type (#9424)
- vue-app: Check whether route exists within nuxt app before replacing (#9431)
- vue-renderer: Decode route path for
payload.js (#9494)
- vue-app: Don't normalise route path if it's valid (#9460)
- vue-app: Redirect to external url replaces current history entry (#9500)
- utils:
trailingSlash causes error with dynamic nuxt-child routes (#9505)
- types: Add
onNuxtLoaded and onNuxtReady types (#9510)
- vue-app: Re-register components construtor in HMR (#9539)
- types: Add typing for
build.stats options (#9555)
- babel: Loose option for babel private-property-in-object (#9631)
- vue-app: Serialize route meta to allow functions (#9634)
- vue-app:
null check for $root access (#9150)
- generator: Allow passing
builder to getGenerator (#9574)
- generator: Throw an error when Builder is missing (#9663)
- vue-app: Use correct
$config for finding basePath (#9706)
- vue-renderer: Ensure custom build indicator preserves some whitespace (#9705)
- 'npm run test' fails because the last command lacks 'yarn' (#9761)
- generator: Decode path with
ufo (#9739)
- cli: Ensure nuxt instance is closed when skipping build (
3e9d7e3)
- Nuxt-child-key in web-types.json (#9792)
- types: Return type of $fetch (#9854)
- deps: Update
ua-parser-js to 1.x (#9979)
- deps: Update
ya-parser-js to latest 0.7.x (#9979)
- vue-app: Call ssrContext.unsetMutationObserver only if it exists (#10132)
- webpack: Allow files with
.cjs extension to be transpiled (#10340)
- vue-app: Preview mode fetch (#10489)
- webpack: Resolve
.wasm extension with lower priority (#10676)
- vue-app: Clear hide timeout when calling
clear() (#10086)
📦 Build
🌊 Types
- Add
prefetchPayloads to router options (#9715)
🏡 Chore
- release: V2.15.6 (
a53fd32)
- pkg: Build for es2019 target (#9328)
- types: Add types for new
false option for render.static (#9372)
- Update error tests (
d4e5998)
- test: Revert jest and babel-jest to 26 (#9377)
- Ignore audit 1754,1755 (
39f7859)
- Fix vetur extension syntax for GitPod (#9572)
- Ignore globby > 12 upgrade as needs native esm (
e0968a3)
- Update rollup plugins (
5614399)
- Fix code formatting (
17bbb21)
- utils: Improve
stripWhitespace utility (#9668)
- Update license year to present (#9682)
- Add separate file with security disclosure info (#9738)
- Update logo (#9796)
- doc: Fix link to contribution guide (#9815)
- test: Fix external redirect link (#9816)
- Update funding.yml (
1f85137)
- Update lockfile (
7614360)
- Update audit list (
6f73c36)
- Update lockfile and audit (
1878b26)
- Update issue template with nuxt 3 (#9948)
- Enable blank issues (
54542c1)
- radme: Fix browserstack and saucelabs icons (#10068)
- Update dependencies (#10510)
- Update repo (
773d292)
- Ignore vue and vuex major updates (
bafc814)
- Update README.md (#10831)
- Update pull request template (
0db7e7b)
- Update issue templates (
f36fb9c)
- Rename 2.x bug template (
ba966cf)
- Move nuxt 2 report to bottom (
ce7b1a9)
- Bump
ua-parser-js version (1cedad5)
- Bump test/dev dependencies (#18672)
- Upgrade unjs dependencies (#18670)
- Use named export from
defu (#18679)
✅ Tests
🤖 CI
⚠️ Breaking Changes
- webpack: ⚠️ Update postcss to v8 (#9671)
❤️ Contributors
Compare Source
🐛 Bug Fixes
vue-app
- #9460 Don't normalise route path if it's valid
babel
- #9631 Loose option for
babel private-property-in-object
Compare Source
🔰 Security advisory
Please upgrade to nuxt@^2.15.7 if using nuxt@2.15.5 or nuxt@2.15.6
🐛 Bug Fixes
vue-app
- #9431 Check whether a route exists within the nuxt app before replacing
Compare Source
🐛 Bug Fixes
types
- #9270 Pin to
@types/webpack-dev-middleware@4.1.2 (resolves #9268)
Compare Source
🐛 Bug Fixes
babel
- #9232 Loose option for babel
class-properties and private-methods (resolves #9224)
vue-app
- #9201 Use
route.replace instead of router.push to trigger navigation guards (resolves #9111)
builder
- #9153 Resolve aliases in
build.watch paths (resolves #9045)
cli
💖 Thanks to
Compare Source
🐛 Bug Fixes
vue-app
- #8978 Reload page once after loading chunk error (resolves #3389)
- #9008 Fallback to global nuxt instance of
$root is not available (resolves #8995)
- #9010 Use
app.context.route to match components in server (resolves #9009)
- #9024 Serialize redirect functions in routes (resolves #8979)
- #9026 Re-call
$fetch if data is missing in payload (resolves #9016)
- #9050 Use
app.context.route for resolving components (resolves #9049)
- #9075 Move internal app runtime config to
_app namespace (resolves #9074)
config
- #9014 Set
compileType to icss for css-loader v4
server
- #9034 Avoid caching
.js assets in development to fix HMR in safari (resolves #3828)
cli
👕 Types
- #9078 Inline
@types/terser-webpack-plugin
- #9086 Use options from
sass-loader rather than sass (resolves #9085)
- #9053 Css-loader v4 type definitions
- #9018 Don't require all csp policies as keys (resolves #9017)
- #9059 Add stub entrypoint to allow node resolution of
@nuxt/types (resolves #9030)
💖 Thanks to
Compare Source
🐛 Bug Fixes
types
- #8953 Export interface for
NuxtConfig instead of type
webpack
- #8951 Update hmr option for
extract-css-chunks-webpack-plugin
general
- #8936 Allow force overriding resolve paths
- #8935 Allow relative public paths
- #8887 Update
@babel/preset-env to 2.13.x
vue-renderer
- #8912 Respect
injectScripts for static target
💖 Thanks to
Compare Source
🐛 Bug Fixes
💖 Thanks to
Compare Source
🐛 Bug Fixes
renderer
- Deep merge runtime config for server (resolves #8820)
webpack
cli
- #8841 Don't early return when a dependency isn't installed
types
- #8835
build.html.minify can be false
builder
- #8832 Use
path.resolve for pages dir
💖 Thanks to
Compare Source
💡 Highlights
⚠️This release introduces behavior changes. Update with caution ⚠️
-
Minimum supported Node.js version is 12.0.0 (See nuxt/nuxt.js#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 nuxt/nuxt.js#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
- #8794 Ignore trailing slash in static payloads manifest
- #8738 Encoding issues with payload paths
- #8423
trailingSlash and child routes not working
config
- #8778 Prevent invalid css filenames in webpack output
utils
- #8780
serializeFunction fails with certain functions
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 and query from context unless in full static mode
- #8608 Ensure
link.__prefetch exists before calling it
- #8596 Add missing
id attribute to noopApp
- #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
server, vue-app
- #8748 Address encoding issues with query params
dev
- #8697 Clearnup vue installed plugins from server in dev mode
- #8556 Resolve module required by create-require in jiti
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
babel
- #8545 Enable polyfilling of proposal core-js features
vue-app, vue-renderer, utils
- #8489 Respect
trailingSlash setting for payloads
generator
- #8474 Ensure static manifest dir exists
- #8803 Normalize trailing slashes before
extendRoutes
🚀 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 and publicPath
general
- #8389 Support plug-and-play, typescript runtime and native modules
- #8346 Update all dependencies that require node 10.x
vue-app
- #8466 Support custom
fetchKey for full static generation
vue-renderer
- #8347 Allow adding async attribute to
<script> tags
💅 Refactors
utils, vue-app
- #8765 Use
ufo to parse queries and join urls
vue-app
- #8621 Simplify scrollToTop checking
general
- Consistent behavior for resolveModule
🏡 Chore
general
- #8440 Fix router base handling with dev-middleware (closes )
- #8408 Pin css-loader to 4.x
- #8808 Simplify contributors
cli
types
builder
- Remove validateTemplate check (
ed6e8cd)
readme
🇹 Types
- #8784 Add missing ssr option to config types
- #8767
vue.config types should be optional
- #8530 Add missing
redirect overload to Context interface
- #8638 Add
enablePreview to context
- #8648 Add missing
loadingScreen type definition
💖 Thanks to
And all nuxters helping everyday with valuable feedbacks 💚
Compare Source
🐛 Hot Fixes
How to upgrade?
Use yarn upgrade nuxt or npm up nuxt
Compare Source
🐛 Hot Fixes
Compare Source
🐛 Hot Fixes
Compare Source
🐛 Hot Fixes
- #8421 Only encode non dynamic path params
Compare Source
🐛 Bug Fixes
webpack
- #8205 Allow transpiling packages in nested
node_modules
general
- #8325 Handle route encodings and update
vue-router
vue-router
- #8394 Force chidren to be required if default child is present (resolves #7823)
cli
- #8398 Respect
router.trailingSlash when serving static files (resolves #8350)
- #8337 Handle
generate.cache.ignore as a function in ensureBuild
generator
csp
- #8352 Apply right csp header when status code is 304 (resolves #8353)
vue-app
- #8314 Handle missing payloads on full static (resolves #7717)
- #8348 Warn if promises and functions are in fetch state (resolves #8338)
- #8225 TriggerScroll when transitions is disabled
- #8289 Use nuxt globalName correctly in
nuxt-link and fetch mixin (resolves #8118)
- #8280 Prevent redirection loop with URI-encoded path (resolves #8116)
types
- #8362 Correct vue.config types
- #8349 Add missing
isFetching and nbFetching to NuxtApp interface
- #8319
NuxtOptionsHead c
✂ Note
PR body was truncated to here.
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
^5.12.2→^5.13.6^8.2.0→^8.6.0^2.14.3→^2.18.1Release Notes
nuxt-community/axios-module (@nuxtjs/axios)
v5.13.6Compare Source
v5.13.5Compare Source
v5.13.4Compare Source
v5.13.3Compare Source
v5.13.2Compare Source
v5.13.1Compare Source
v5.13.0Compare Source
Features
Bug Fixes
x-forwarded-portandx-forwarded-prototoproxyHeaderIgnoredefaults (#465) (a1a1894)5.12.5 (2021年01月04日)
Bug Fixes
x-forwarded-hosttoproxyHeaderIgnoredefaults (#462) (433548b), closes #4565.12.4 (2020年12月14日)
Bug Fixes
5.12.3 (2020年11月30日)
Bug Fixes
$loading().set(Infinity)issue (#424) (7b32262)5.12.2 (2020年08月25日)
Bug Fixes
Docs
5.12.1 (2020年08月05日)
Bug Fixes
v5.12.5Compare Source
v5.12.4Compare Source
v5.12.3Compare Source
motdotla/dotenv (dotenv)
v8.6.0Compare Source
Added
v8.5.1Compare Source
Changed
v8.5.0Compare Source
Added
import "dotenv/config"v8.4.0Compare Source
Changed
v8.3.0Compare Source
Changed
nuxt/nuxt (nuxt-start)
v2.18.1Compare Source
👉 Changelog
compare changes
🩹 Fixes
mkdirp(f67056b9e)❤️ Contributors
v2.18.0Compare Source
👉 Changelog
compare changes
🚀 Enhancements
memfs(#27652)🩹 Fixes
sessionStorage(#27662)🏡 Chore
❤️ Contributors
v2.17.4Compare Source
👉 Changelog
compare changes
🩹 Fixes
serve-statictypes to v1.15.7 (1c44c376d)html-minifier-terser(#26914)🏡 Chore
@nuxt/config(c283cc039)✅ Tests
pagein e2e tests (1700aa131)🤖 CI
dev(2a5d05257)❤️ Contributors
v2.17.3Compare Source
👉 Changelog
compare changes
💅 Refactors
hookablepackage (#24426)🏡 Chore
npm pkg fix(4d0474c4b)✅ Tests
🤖 CI
❤️ Contributors
v2.17.2Compare Source
👉 Changelog
compare changes
🩹 Fixes
webpackhas it in core (#23703)🤖 CI
❤️ Contributors
v2.17.1Compare Source
👉 Changelog
compare changes
🩹 Fixes
❤️ Contributors
v2.17.0Compare Source
✨ Highlights
Nuxt 2.17 comes with a few new features, including better support for new Vue 2.7 types, and supporting passing postcss config as a function.
It also includes support for Node 20+ and a fix for a dependency issue with the Babel preset that affected new installs.
👉 Changelog
compare changes
🚀 Enhancements
🔥 Performance
🩹 Fixes
🏡 Chore
✅ Tests
🤖 CI
❤️ Contributors
v2.16.3Compare Source
👉 Changelog
compare changes
🩹 Fixes
error()(#19044)lessinto namespace (#19738)presetto innerpostcssOptions(#19518)node-fetch-nativeto externals list (#19755)🏡 Chore
nuxt(4e9dcddcb)2.xversion of nuxt instead of latest (#19737)❤️ Contributors
v2.16.2Compare Source
✨ Highlights
The main change in this patch release is that we now patch the
cryptonode built-in during build to allow Nuxt 2 to be used on Node versions greater than Node 16, which should ease the pressure users feel after Node 16 reaches its own EOL this year.👉 Changelog
compare changes
🚀 Enhancements
🩹 Fixes
charsetbeforetitle(#18998)asyncData(#18585)🏡 Chore
15787a2)49ea657)@types/jest(d48efa6)❤️ Contributors
v2.16.1Compare Source
v2.16.0...v2.16.1
🩹 Fixes
@typespackages depending on webpack 5 (#18827)Locationfromvue-router(#18908)🏡 Chore
aba93e9)3d034a3)daed62a)❤️ Contributors
v2.16.0Compare Source
✨ Highlights
core-jsv3In this PR we only support Node 14+. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until its own EOL, Nuxt 2 will only officially support Node versions that have not reached their EOL.
New postcss options format. See #9671 for full details.
Dependency upgrades. A number of dependencies have dropped support for earlier node versions.
dotenvhas changed how it parses.envfiles in a number of edge cases.globnow requires/instead of\on windows machines. There may also be other changes that affect your usage, so please do upgrade with care.Vue 2.7 upgrade. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7.
This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than
@nuxtjs/composition-api. (You can opt-in to just these utilities by disabling the other bridge modules individually.)Changelog
compare changes
🚀 Enhancements
nuxtrcin dist directory (#9280)serve-staticmiddleware (#9365)asyncDatareturn types to component instance type (#9239)context.beforeSerializemethod (#9332)storetocreateRouter(#9629)core-jsversion 3 (#9987)🩹 Fixes
scroll-margin-topwhen navigating with hash (#9187)javascript/autofor js rule (#9180)payload.js(#9494)trailingSlashcauses error with dynamic nuxt-child routes (#9505)onNuxtLoadedandonNuxtReadytypes (#9510)build.statsoptions (#9555)nullcheck for$rootaccess (#9150)buildertogetGenerator(#9574)$configfor finding basePath (#9706)ufo(#9739)3e9d7e3)ua-parser-jsto 1.x (#9979)ya-parser-jsto latest0.7.x(#9979).cjsextension to be transpiled (#10340).wasmextension with lower priority (#10676)clear()(#10086)📦 Build
0501a42)🌊 Types
prefetchPayloadsto router options (#9715)🏡 Chore
a53fd32)falseoption forrender.static(#9372)d4e5998)39f7859)e0968a3)5614399)17bbb21)stripWhitespaceutility (#9668)1f85137)7614360)6f73c36)1878b26)54542c1)773d292)bafc814)0db7e7b)f36fb9c)ba966cf)ce7b1a9)ua-parser-jsversion (1cedad5)defu(#18679)✅ Tests
23e2018)4f11d3c)🤖 CI
331a2d7)9677fbe)❤️ Contributors
v2.15.8Compare Source
🐛 Bug Fixes
vue-appbabelbabel private-property-in-objectv2.15.7Compare Source
🔰 Security advisory
Please upgrade to
nuxt@^2.15.7if usingnuxt@2.15.5ornuxt@2.15.6🐛 Bug Fixes
vue-appv2.15.6Compare Source
🐛 Bug Fixes
types@types/webpack-dev-middleware@4.1.2(resolves #9268)v2.15.5Compare Source
🐛 Bug Fixes
babelclass-propertiesandprivate-methods(resolves #9224)vue-approute.replaceinstead ofrouter.pushto trigger navigation guards (resolves #9111)builderbuild.watchpaths (resolves #9045)clicss-loader < 4.2(resolves #9117)💖 Thanks to
v2.15.4Compare Source
🐛 Bug Fixes
vue-app$rootis not available (resolves #8995)app.context.routeto match components in server (resolves #9009)$fetchif data is missing in payload (resolves #9016)app.context.routefor resolving components (resolves #9049)_appnamespace (resolves #9074)configcompileTypetoicssforcss-loaderv4server.jsassets in development to fix HMR in safari (resolves #3828)cli👕 Types
@types/terser-webpack-pluginsass-loaderrather thansass(resolves #9085)@nuxt/types(resolves #9030)💖 Thanks to
v2.15.3Compare Source
🐛 Bug Fixes
typesNuxtConfiginstead of typewebpackextract-css-chunks-webpack-plugingeneral@babel/preset-envto 2.13.xvue-rendererinjectScriptsforstatictarget💖 Thanks to
v2.15.2Compare Source
🐛 Bug Fixes
babel-preset-app💖 Thanks to
v2.15.1Compare Source
🐛 Bug Fixes
rendererwebpackufo(resolves #8838)clitypesbuild.html.minifycan be falsebuilderpath.resolvefor pages dir💖 Thanks to
v2.15.0Compare Source
💡 Highlights
Minimum supported Node.js version is 12.0.0 (See nuxt/nuxt.js#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 nuxt/nuxt.js#8546)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.1Several 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
includesinstead of exact match (example)🐛 Bug Fixes
generaltrailingSlashand child routes not workingconfigutilsserializeFunctionfails with certain functionsvue-apppublicPathon server-sidePage.optionsbefore looking withinreq,resandqueryfrom context unless in full static modelink.__prefetchexists before calling itidattribute tonoopApppushon router instance rather than prototypeserver, vue-appdevcliwebpackserverrouter.baseis setbabelvue-app, vue-renderer, utilstrailingSlashsetting for payloadsgeneratorextendRoutes🚀 Features
clipostcssconfig, vue-app, vue-rendererbaseandpublicPathgeneralvue-appfetchKeyfor full static generationvue-renderer<script>tags💅 Refactors
utils, vue-appufoto parse queries and join urlsvue-appgeneral🏡 Chore
generalclitypesbuildered6e8cd)readme🇹 Types
vue.configtypes should be optionalredirectoverload toContextinterfaceenablePreviewto contextloadingScreentype definition💖 Thanks to
And all nuxters helping everyday with valuable feedbacks 💚
v2.14.12Compare Source
🐛 Hot Fixes
How to upgrade?
Use
yarn upgrade nuxtornpm up nuxtv2.14.11Compare Source
🐛 Hot Fixes
v2.14.10Compare Source
🐛 Hot Fixes
@nuxt/componentsv1.2.2 (notes)v2.14.9Compare Source
🐛 Hot Fixes
v2.14.8Compare Source
🐛 Bug Fixes
webpacknode_modulesgeneralvue-routervue-routerclirouter.trailingSlashwhen serving static files (resolves #8350)generate.cache.ignoreas a function inensureBuildgeneratorcspvue-appnuxt-linkand fetch mixin (resolves #8118)typesisFetchingand nbFetching toNuxtAppinterfaceNuxtOptionsHeadcConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.