This repository was archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): update nuxt #14
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/nuxt
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d0f97bd
to
f265d0e
Compare
Deploying with
|
Latest commit: |
0ac604f
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8bae0432.relations-unjs.pages.dev |
Branch Preview URL: | https://renovate-nuxt.relations-unjs.pages.dev |
f265d0e
to
09f7478
Compare
09f7478
to
9c17409
Compare
9c17409
to
77ff85d
Compare
77ff85d
to
b9a11ef
Compare
b9a11ef
to
55c295f
Compare
55c295f
to
d014ae5
Compare
39bc225
to
d3e9b84
Compare
279a8ab
to
65bc54b
Compare
65bc54b
to
07908d5
Compare
36bd196
to
90ece52
Compare
90ece52
to
0ac604f
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
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:
^2.12.0
->^2.14.2
^3.9.1
->^3.10.3
Release Notes
nuxt/ui (@nuxt/ui)
v2.14.2
Compare Source
Bug Fixes
description
alignment when no title provided (ca4f06a), closes #1408FormGroup
(#1427) (6e77f1d)hover
mode on touch devices (70bf4a7)relative
class to icon (0a4a9e3)overflow-hidden
(#1460) (002129c)description
alignment when no title provided (9cce445)hover
mode on touch devices (b50fbcf)fieldset
config (2d64b50), closes #1472null
model value (4b6e80e), closes #1421relative
class to icon (0b29dd4), closes #1245v2.14.1
Compare Source
Bug Fixes
v2.14.0
Compare Source
Features
size
prop (#1307) (cbeede6)useId
to bind input labels (#1211) (27c71fa)file
(946a39c), closes #563loading
(#1362) (3fe3521)unmount
prop asfalse
by default (843a978), closes #663maxrows
prop to restrict autoresize (#1302) (f643e7b)Bug Fixes
div
after #1199 (882247e)required
title to prevent warning when using slot (e545b6f)body
padding without default slot (f682905)3.4
(#1199) (10db144)validate
path type (#1370) (5266591)disabled
prop before navigating (#1321) (ac42ec1)Icon
component (f8b296f), closes #1328bun
(bb40c31), closes #809all
option in icons plugin (412cd75), closes #1237required
title to prevent warning when using slot (aa2b1ca)NaN
percent display when indeterminate (a55a08a)help
prop to radio children (5a5b284), closes #1313is
after #1199 (d0f4530)popper
key (9f35297), closes #1393Reverts
overflow-hidden
on components" (b893607)v2.13.0
Compare Source
⚠ BREAKING CHANGES
Badge
component for consistencyFeatures
validate
(#1273) (20ac4b3)nullable
prop when clearing input (5e49fb8)close-prevented
event (#1207) (6faf15b)Badge
component for consistency (3e81eee)Bug Fixes
active
prop to slot asisActive
(b76e761)v2.12.3
Compare Source
Bug Fixes
[#vue](https://togithub.com/nuxt/ui/issues/vue)-router
(79ec3fd), closes #1253v2.12.2
Compare Source
Bug Fixes
rel
type (05e90aa)v2.12.1
Compare Source
Bug Fixes
nuxt-component-meta
(d3e19dc), closes #578ULink
(a44bfc8)option-attribute
into account to display label (1a93791)type
bind on<a>
(b0df864)option-attribute
into account to display label (b9fe74b), closes #1151nuxt/nuxt (nuxt)
v3.10.3
Compare Source
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.
👉 Changelog
compare changes
🩹 Fixes
dedupe
option inuseFetch
(#25815)css
files with?inline
query (#25822)external
tonavigate
in custom<NuxtLink>
(#25887)@__PURE__
(#25842)setTimeout
before scrolling when navigating (#25817)head
indefineNuxtComponent
(#25410)undefined
paths inresolveTrailingSlashBehavior
(ba6a4132b)to.name
to be undefined rather than deleting entirely (4ca1ab7cf)📖 Documentation
.ts
extension when adding compiled files (#25855)callout
to new components (#25897)🏡 Chore
nuxt.config
to enable pages for docs typecheck (72a2e23cc)🤖 CI
❤️ Contributors
v3.10.2
Compare Source
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.
👉 Changelog
compare changes
🩹 Fixes
refreshCookie
(#25635).pcss
extension as a CSS extension (#25673)<ClientOnly>
(#25714)baseURL
on serveruseRequestURL
(#25765)rootDir
, notprocess.cwd
, formodulesDir
(#25766)useId
if attrs were not rendered (#25770)📖 Documentation
Fix typo in
useAsyncData
docs (#25644)Add quotes to clarify what site title is in example (#25669)
Enable twoslash for some code snippets (#25679)
Add prepend option docs for
addComponentsDir
(#25683)Extend auto-scanned layer directories (#25720)
Improve wording in seo docs (#25692)
Add how to debug nuxt with node inspector (#25731)
Add missing export defaults for nuxt config (#25774)
Add import statement for mountSuspended (#25783)
Pass
event
touseRuntimeConfig
(#25788)🏡 Chore
❤️ Contributors
v3.10.1
Compare Source
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.
👉 Changelog
compare changes
🔥 Performance
🩹 Fixes
refresh
functions (#25568)useId
type signature (#25614)$
from generated id inuseId
(#25615)rel
for same-site external links (#25600)inheritAttrs: false
when usinguseId
(#25616)💅 Refactors
NuxtLink
types (#25599)📖 Documentation
<NuxtLink>
defaults in nuxt config (#25610)🏡 Chore
pathe
in internal tests (e33cec958)nuxt
->nuxtApp
internally for consistency (c5d5932f5)🤖 CI
❤️ Contributors
v3.10.0
Compare Source
👀 Highlights
v3.10 comes quite close on the heels of v3.9, but it's packed with features and fixes. Here are a few highlights.
✨ Experimental shared
asyncData
when prerenderingWhen prerendering routes, we can end up refetching the same data over and over again. In Nuxt 2 it was possible to create a 'payload' which could be fetched once and then accessed in every page (and this is of course possible to do manually in Nuxt 3 - see this article).
With #24894, we are now able to do this automatically for you when prerendering. Your
useAsyncData
anduseFetch
calls will be deduplicated and cached between renders of your site.👉 See full documentation.
🆔 SSR-safe accessible unique ID creation
We now ship a
useId
composable for generating SSR-safe unique IDs (#23368). This allows creating more accessible interfaces in your app. For example:✍️ Extending
app/router.options
It's now possible for module authors to inject their own
router.options
files (#24922). The newpages:routerOptions
hook allows module authors to do things like add customscrollBehavior
or add runtime augmenting of routes.👉 See full documentation.
We now support (experimentally) polyfilling key Node.js built-ins (#25028), just as we already do via Nitro on the server when deploying to non-Node environments.
That means that, within your client-side code, you can import directly from Node built-ins (
node:
and node imports are supported). However, nothing is globally injected for you, to avoid increasing your bundle size unnecessarily. You can either import them where needed.Or provide your own polyfill, for example, inside a Nuxt plugin.
This should make life easier for users who are working with libraries without proper browser support. However, because of the risk in increasing your bundle unnecessarily, we would strongly urge users to choose other alternatives if at all possible.
🍪 Better cookie reactivity
We now allow you to opt-in to using the CookieStore. If browser support is present, this will then be used instead of a BroadcastChannel to update
useCookie
values reactively when the cookies are updated (#25198).This also comes paired with a new composable,
refreshCookie
which allows manually refreshing cookie values, such as after performing a request. See full documentation.🏥 Detecting anti-patterns
In this release, we've also shipped a range of features to detect potential bugs and performance problems.
setInterval
is used on server (#25259).<NuxtPage />
but have thevue-router
integration enabled (#25490). (<RouterView />
should not be used on its own.)🧂 Granular view transitions support
It's now possible to control view transitions support on a per-page basis, using
definePageMeta
(#25264).You need to have experimental view transitions support enabled first:
And you can opt in/out granularly:
Finally, Nuxt will not apply View Transitions if the user's browser matches
prefers-reduced-motion: reduce
(#22292). You can setviewTransition: 'always'
; it will then be up to you to respect the user's preference.🏗️ Build-time route metadata
It's now possible to access routing metadata defined in
definePageMeta
at build-time, allowing modules and hooks to modify and change these values (#25210).Please, experiment with this and let us know how it works for you. We hope to improve performance and enable this by default in a future release so modules like
@nuxtjs/i18n
and others can provide a deeper integration with routing options set indefinePageMeta
.📦 Bundler module resolution
With #24837, we are now opting in to the TypeScript
bundler
resolution which should more closely resemble the actual way that we resolve subpath imports for modules in Nuxt projects.'Bundler' module resolution is recommended by Vue and by Vite, but unfortunately there are still many packages that do not have the correct entries in their
package.json
.As part of this, we opened 85 PRs across the ecosystem to test switching the default, and identified and fixed some issues.
If you need to switch off this behaviour, you can do so. However, please consider raising an issue (feel free to tag me in it) in the library or module's repo so it can be resolved at source.
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
-->
👉 Changelog
compare changes
🚀 Enhancements
tryUseNuxtApp
composable (#25031)bundler
module resolution (#24837)pages:routerOptions
hook (#24922)setInterval
is used on server (#25259)refreshCookie
+ experimental CookieStore support (#25198)useId
composable (#23368)🔥 Performance
endsWith
when checking for whitespace (#24746)🩹 Fixes
prefers-reduced-motion
(#22292)fallback
in island response (#25296)defineModel
option as it is now stable (#25306)hidden
sourcemap values to vite (#25329)dedupe
(#25334)instance.attrs
in client-only components (#25381)callOnce
callbacks (#25431)nuxt-client
within template code (#25464)dependsOn
(#25409)NuxtError
(#25398)vue-router
warning with routeRule redirect (#25391)useRequestEvent
(#25480)useRuntimeConfig
signatures (#25440)pages:routerOptions
hook (#25509)💅 Refactors
currentRoute
non-ref warning (#25337)📖 Documentation
@since
annotations to exported composables (#25086)useAsyncData
explanation (#25392)error.vue
(#25320)error.vue
(#25396).cjs
extension forecosystem.config
(#25459)routeRules
example of swr/isr (#25436)sharedPrerenderData
(b0f50bec1)pages:routerOptions
(46b533671)🏡 Chore
NuxtPage
is not used when pages enabled (#25490)✅ Tests
data-island-uid
replacement (#25346)🤖 CI
$fetch
(a1fb399eb)❤️ Contributors
v3.9.3
Compare Source
v3.9.2
Compare Source
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.
👉 Changelog
compare changes
🔥 Performance
Object.fromEntries
(#24953)🩹 Fixes
options
inaddTemplate
(#25109)pages/
files inen-US
locale (#25195)nextTick
(#25197)💅 Refactors
data-island-component
(#25232)📖 Documentation
<NuxtPage>
rather than<RouterView>
(#25106)@nuxt/bridge-edge
(3f09ddc31)--log-level
description (#25211)immediate: false
in the appropriate example (#25224).global.vue
filename for global components (#25144)lagon
from deployment providers (#24955)definePageMeta
(#25073)addDevServerHandler
API (#25233)nuxi
for bridge (637f5622d)🏡 Chore
v3
branch sandbox in issue template (#25174)❤️ Contributors
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.