fix(deps): update dependency @vueuse/core to v10 #3381
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#3381
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/major-vueuse"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
9.13.0
->10.0.0
Release Notes
vueuse/vueuse
v10.0.0
Compare Source
✨ Highlights
createReusableTemplate
from https://github.com/antfu/vue-reuse-templatecreateTemplatePromise
from https://github.com/antfu/vue-template-promiseuseAnimate
for native animation API, thanks to @tolkingresolveRef
totoRef
,resolveUnref
totoValue
, aligning with Vue 3.3: https://github.com/vuejs/core/pull/7997🚨 Breaking Changes
isFunction
andisString
utils (cb644)resolveRef
totoRef
(10e98)MaybeComputedRef
toMaybeRefOrGetter
(4d757)error
should return typeunknown
- by @jbaubree and @antfu in https://github.com/vueuse/vueuse/issues/2807 (d8d73)execute
- by @FRSgit and @antfu in https://github.com/vueuse/vueuse/issues/2485 (edece)disableTransition
by default (5c82c)isFinished
- by @jssullivan and james.sullivan in https://github.com/vueuse/vueuse/issues/2474 (ef281)orientationchange
listener - by @zhousg and @antfu in https://github.com/vueuse/vueuse/issues/2919 (4e7b0)🚀 Features
trigger
- by @Akryum and @antfu in https://github.com/vueuse/vueuse/issues/2824 (31347)resolveUnref
totoValue
(0a72b)manual
option - by @jaw52 and @antfu in https://github.com/vueuse/vueuse/issues/2903 (16461)onFinish
callback - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2829 (a2f33)initialData
andresetOnExecute
options - by @Alfred-Skyblue and @antfu in https://github.com/vueuse/vueuse/issues/2791 (f54a3)selector
- by @Wing-9527 and @antfu in https://github.com/vueuse/vueuse/issues/2760 (02ccc)system
andstore
ref, close #2023 - by @antfu in https://github.com/vueuse/vueuse/issues/2023 (d150c)observe
option - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2800 (ae6e1)useColorSchema
- by @godismyjudge95 and @antfu in https://github.com/vueuse/vueuse/issues/2866 (d6d35)disableTransition
option (320ab)axis
option - by @Alfred-Skyblue and @antfu in https://github.com/vueuse/vueuse/issues/2948 (0842a)capture
option - by @faga295 and @antfu in https://github.com/vueuse/vueuse/issues/2725 (3996d)reset
capability - by @nahvego and @antfu in https://github.com/vueuse/vueuse/issues/2880 (f4d35)Pausable
interface - by @Mini-ghost and @antfu in https://github.com/vueuse/vueuse/issues/2883 (4b336)type: screen
- by @francoislevesque in https://github.com/vueuse/vueuse/issues/2467 (39d18)transform
handler - by @edumudu and @antfu in https://github.com/vueuse/vueuse/issues/2191 (d23ca)styleTarget
option to style other element - by @jd-solanki in https://github.com/vueuse/vueuse/issues/2312 (a3e95)MaybeComputedRef
- by @zhiyuanzmj in https://github.com/vueuse/vueuse/issues/2871 (5944e)shouldEmit
hook - by @baiwusanyu-c and @antfu in https://github.com/vueuse/vueuse/issues/2836 (f8a53)🐞 Bug Fixes
window
is not defined - by @okxiaoliang4 in https://github.com/vueuse/vueuse/issues/2793 (c86f2)🏎 Performance
View changes on GitHub
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
@dpschen Didn't we wait on this for something?
Hi renovate!
Thank you for creating a PR!
I've deployed the changes of this PR on a preview environment under this URL: https://3381-renovate-major-vueuse--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.
Have a nice day!
We were thinking of using this.
Regarding this PR in general:
There are a few breaking changes in vueuse 10. We should make sure that we check those.
b3b5bf2b89
tob5cb3269bc
The tests are passing, so we know it did not break anything critical.
From a quick search in the code it looks like only the renaming of
resolveRef
toRef
affects us. I've changed it now.@ -2,3 +2,3 @@
import type { Ref } from 'vue'
import {useTitle as useTitleVueUse, resolveRef} from '@vueuse/core'
import {useTitle as useTitleVueUse, toRef} from '@vueuse/core'
I wonder how this is different than the
toRef
provided by vue itself?This is also something that I wondered. Unsure!
Looks like they actually only call vue's
toRef
when there's only one parameter: https://github.com/vueuse/vueuse/blob/main/packages/shared/toRef/index.ts#L23Since that's pretty much how we use it, I guess we can switch to vue's.
Okay well actually trying it, it seems like I was wrong, and they do things differently. The title does not work when using vue's
toRef
but it does when using vueuse's. Let's keep it that way and call it a day.Other stuff will appear again. All good
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.
I think we can merge this, @dpschen anything to add?