This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
chore(deps): update all non-major dependencies #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0-rc.8
->^3.0.0-rc.11
^3.0.0-rc.8
->^3.0.0-rc.11
16.11.56
->16.11.65
^1.14.0
->^1.16.0
^3.0.0-rc.8
->^3.0.0-rc.11
^0.3.5
->^0.3.9
^2.78.1
->^2.79.1
^4.8.2
->^4.8.4
^3.0.9
->^3.1.8
^0.22.1
->^0.24.3
^3.2.37
->^3.2.41
Release Notes
nuxt/framework
v3.0.0-rc.11
Compare Source
π How to Upgrade
npx nuxi@latest upgrade --force
nuxt
dependency to3.0.0-rc.11
and then usenpx nuxi@latest cleanup
to cleanup any local cachesβ What is New?
Full Static Enhancements
We have introduced Full-Static mode payload extraction in RC.10. Many of the issues from the initial implementation are resolved with this release thanks to your amazing feedback! Notably for SPA routes and state that is now in the initial state.
π§ͺ We understand that there might be still issues with the new implementation. Please report if spotted any. You can use new
experimental.payloadExtraction: false
flag innuxt.config
to opt-out as well.IPv6 and HTTPS support for
nuxi dev
and viteNuxi CLI and unjs/listhen are improved and now support
--https
flag and ipv6 hosts out of the box with an auto-generated certificate. You can use--ssl-cert
and--ssl-key
to provide own generated SSL certificates with mkcert for example as well.Issues with vite HMR and vite-node should be resolved as well. If you were previously using
NODE_TLS_REJECT_UNAUTHORIZED
or customvite.server.hmr
options for a workaround, you can try to remove them.Note: If you see something like
http://[::]:3000/
when runningnuxi preview
, it is all normal! The New IPv6 URL works in all modern browsers and is also backward compatible with IPv4 interfaces. If for some reason encountered any issues, try settingHOST
to0.0.0.0
to disable IPv6 listener.Nitro Improvements
Nitro is the server engine for Nuxt 3. We had landed several fixes in 0.5.2 and 0.5.3 versions improving stability and bug fixes.
Full Changelog
compare changes
π Enhancements
useNitro()
utility (#β7557)π©Ή Fixes
nuxi dev --https
(#β7545)nuxi dev --https
working out of the box (#β7547)cssSourceMap
with newsourcemap
format [bridge] (#β7541)ssr:true
(#β7553)nuxi dev
(#β7560)state
in the initial state instead of extracting it (#β7567)vite-node
fallback error handler (#β7575)ctx.nuxt.options.modulesDir
for resolving externals withvite-node
(#β7612)process.client
for early redirect innavigateTo
(#β7625).vue
extensions from component types (#β7673)<NuxtLink>
prefetching (#β7679)π Documentation
addComponent
to modules and updateaddImports
(#β7543)addImportsSources
to list of kit utils (#β7636)defineNuxtComponent
page (#β7618)β€οΈ Contributors
v3.0.0-rc.10
Compare Source
π¬ Join the release discussion
π How to Upgrade
npx nuxi@latest upgrade --force
nuxt
dependency to3.0.0-rc.10
and then usenpx nuxi@latest cleanup
to cleanup any local cachesβ What is new?
Critical Styles are Inlined
#β6755, #β7160
Global styles and used component styles are now automatically inlined when server-side rendering a page. This feature helps to improve the First Contentful Paint (FCP) metric.
π§ͺ You can disable the feature from
nuxt.config
usingexperimental: { inlineSSRStyles: false }
in case of any issues.Full Static Generation with Payload Rendering
#β6411, #β6455
In Nuxt 2, we introduced an amazing feature called Full Static Generation. When using
nuxt generate
, the payload of each page containing asyncData and state is extracted to a.js
chunk and we can deploy output to any static hosting without requiring a hosted API server. This feature also introduced performance benefits to reduce page size and allow smartly prefetching payload of next pages ahead of time when usingnuxt generate
but kept limited to it.This feature is now back in Nuxt 3 but much better! Payload is not only extracted during prerendering phase (
nuxt generate
) but also can be rendered on demand by simply appending/_payload.js
to the end of any URL. This made implementation much simpler and also unlocks future development to enable payload rendering for hybrid static server and incremental generated pages. Followup #β6411 for the roadmap.Link Prefetching
#β4329
Another goodie ported from Nuxt 2, is automatically prefetching the next pages when a
<NuxtLink>
is in the viewport.This feature is integrated with vue-router to prefetch components of the next route and also payload extraction to prefetch the payload of the next pages ahead of time! You can also hook into
link:prefetch
to do more prefetches.Better Workspace Support
unjs/pkg-types#β34, #β7439
Nuxt has several configurations for directories including
rootDir
wherenuxt.config
,package.json
, etc is, andsrcDir
which is the same asrootDir
by default but can be customized to move project code such aspages/
to thesrc/
directory. With Monorepo becoming more popular, it became clear we need another new option to act smarter in a monorepo.We have introduced a new
workspaceDir
configuration. It is automatically detected from rootDir using different heuristics (how?). This option is used to extend the search path fornode_modules
via #β7439 but we will keep spreading its use in other places.π§ͺ You can manually set
workspaceDir
fromnuxt.config
in case of any issues.defineNuxtConfig
is Auto Imported#β7267, #β7485, #β7497
Nuxt uses unjs/jiti in order to support typescript and ESM syntax for
nuxt.config
.When importing
{ defineNuxtConfig } from 'nuxt'
in Nuxt 3, it causes the whole nuxt package to be loaded. It was making startup time slower.We have introduced a new
nuxt/config
subpath export that only exportsdefineNuxtConfig
for type support but you don't even need this anymore! Just remove import and enjoy shorter syntax!-- import { defineNuxtConfig } from 'nuxt' export default defineNuxtConfig({ })
More Powerful
nuxt init
We have switched to unjs/giget for a much more powerful template init engine.
Normally
nuxi init
command should work as it was before. If you were usingnuxt init org/repo
to clone the 3rd party GitHub repository, you should usenuxi init gh:org/repo
now.Experimental Zero-Client-JS Mode
#β7156, #β7248
This new experimental flag allows turning off all Nuxt client js code when server-side rendering a page.
Using this feature is advisable for the very small minority of sites that would not benefit from client-side JS.
You can try this feature by setting
experimental: { noScripts: true }
and let us know what you think!Changelog
(see all commits)
π Enhancements
history
androutes
forapp/router.options.ts
(#β7129)mockFn
andmockLogger
utils (#β6235)addImportsSources
utility (#β7270)immediate
option foruseAsyncData
anduseFetch
(#β5500)clearNuxtData
(#β5227)clearNuxtData
(#β7323)unjs/giget
fornuxi init
(#β7361)nuxi init
(#β7404)workspaceDir
option and add it tomodulesDir
(#β7439)<nuxt-link>
(#β4329)<NuxtPage>
(#β7492)defineNuxtConfig
(#β7497)nuxt generate
(#β7507)π₯ Performance
createClientOnly
wrapper using weakmap (#β7297)defineNuxtConfig
fromnuxt/config
(#β7485)treeshakeClientOnly
flag by default (#β7484)π©Ή Fixes
navigateTo
to302 Found
(#β7189)http-equiv
correctly (#β7190)nuxt-edge
current releases (bridge) (#β7193)getModuleByUrl
(#β7260)https
through to vite-node (#β7271)h3.promisifyHandler
(#β7275)abortMiddleware
to receive a nuxt error or error options (#β7335)ssr
(#β7359)nuxt.config
file (#β7358)FetchError
foruseFetch
errors (#β7435)@vue/runtime-core
(#β7448)vite-node
(#β7512)π Refactors
π Documentation
useFetch
auto generated key (#β7044)useHead
composable (#β7072)external
option ofnavigateTo
(#β7188).client
and.server
components (#β7084)useAsyncData
signature (#β7242)app-config
example (#β7247)AppConfig
toAppConfigInput
(#β7293)nuxi prepare
command (#β7349)useRuntimeConfig
page (#β7406)imports.d.ts
file (#β7474)srcDir
example tosrc/
(#β7503)π‘ Chore
π¦ Build
node
to export conditions (0cc49e2a)β Tests
runIf
andskipIf
helpers (#β7312)π€ CI
β€οΈ Contributors
v3.0.0-rc.9
Compare Source
π¬ Join the release discussion
Highlights
app.config.ts
with HMR and Reactivity support (see documentation and example)autoImports
option and hooks is deprecated and renamed toimports
(#β6864) (#β7158)Nuxt version ^3.0.0 is required but currently using 3.0.0-rc.9
, please contact the module author.Changelog
(all commits)
π Enhancements
.js
extension for client (#β6505)vite-node
by default (#β6217)app.config
with HMR and reactivity support (#β6333)getRouteFromPath
to use objects (#β5900)add
command (#β3921)imports.autoImport
option to disable auto-imports (#β6768)navigateTo
supports external redirects (#β5022)app.config
improvements (#β6905)setPageLayout
utility (#β6826, #β7075)theme
config (#β7131)autoImports
toimports
(#β6864)autoImports
deprecation dx (#β7158)π₯ Performance
π©Ή Fixes
server.port
andserver.host
with listener info (#β6595)#components
alias to tsconfig (#β6634)initialCache
is disabled (#β6640)ssr
condition (#β6649)nuxi upgrade
runs in rootDir (#β6707)vue-devtools-stub
to mock@vue/devtools-api
for both cjs + esm (#β6713)vite-node
module invalidation (#β6736)vue
in client bundle (#β6735)ssr: false
(#β6901)manifest.json
from public dir (#β7021)π Refactors
@nuxtjs/eslint-config-typescript
v11 (#β7114)meta:register
hook (#β7130)π Documentation
fallbackTag
inClientOnly
examples (#β6587)autoImports
(#β6615)defineEventHandler
example (#β6741)<NuxtWelcome />
component docs (#β6745)useNuxtApp
composable (#β6786)addRouteMiddleware
util (#β6894)abortNavigation
util (#β6936)defineNuxtRouteMiddleware
util (#β6933)definePageMeta
util (#β6931)π‘ Chore
dev:preview
script for playground preview (#β6961)nitropack-edge
on release (#β7036)β€οΈ Contributors
unjs/jiti
v1.16.0
Compare Source
Features
Bug Fixes
v1.15.0
Compare Source
Features
nativeModules
andtransformModules
(64151af)Bug Fixes
typescript
from transpilation (dbd3f22)nuxt/nuxt.js
v3.0.0-rc.11
Compare Source
v3.0.0-rc.10
Compare Source
v3.0.0-rc.9
Compare Source
unjs/pathe
v0.3.9
Compare Source
v0.3.8
Compare Source
v0.3.7
Compare Source
v0.3.6
Compare Source
rollup/rollup
v2.79.1
Compare Source
2022-09-22
Bug Fixes
Pull Requests
v2.79.0
Compare Source
2022-08-31
Features
amd.forceJsExtensionForImports
to enforce using.js
extensions for relative AMD imports (#β4607)Pull Requests
Microsoft/TypeScript
v4.8.4
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
Downloads are available on:
v4.8.3
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
Downloads are available on:
vitejs/vite
v3.1.8
Compare Source
Please refer to CHANGELOG.md for details.
v3.1.7
Compare Source
Please refer to CHANGELOG.md for details.
v3.1.6
Compare Source
Please refer to CHANGELOG.md for details.
v3.1.5
Compare Source
Please refer to CHANGELOG.md for details.
v3.1.4
Compare Source
Please refer to CHANGELOG.md for details.
v3.1.3
Compare Source
rollupOptions.input
in lib mode (#β10116) (c948e7d), closes #β10116v3.1.2
Compare Source
v3.1.1
Compare Source
async
andawait
in code (#β9854) (31f5ff3), closes #β9854v3.1.0
Compare Source
Main Changes
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ 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 has been generated by Mend Renovate. View repository job log here.