fix(deps): update dependency @vueuse/core to v10 #3381

Merged
dpschen merged 3 commits from renovate/major-vueuse into main 2023-04-14 21:53:07 +00:00
Member

This PR contains the following updates:

Package Type Update Change
@vueuse/core dependencies major 9.13.0 -> 10.0.0

Release Notes

vueuse/vueuse

v10.0.0

Compare Source

VueUse v10

    Highlights
   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@vueuse/core](https://github.com/vueuse/vueuse) | dependencies | major | [`9.13.0` -> `10.0.0`](https://renovatebot.com/diffs/npm/@vueuse%2fcore/9.13.0/10.0.0) | --- ### Release Notes <details> <summary>vueuse/vueuse</summary> ### [`v10.0.0`](https://github.com/vueuse/vueuse/releases/tag/v10.0.0) [Compare Source](https://github.com/vueuse/vueuse/compare/v9.13.0...v10.0.0) ![VueUse v10](https://user-images.githubusercontent.com/11247099/231996807-fb756cbe-8e19-45f0-a33a-91a80b35482b.png) #####    ✨ Highlights - [`createReusableTemplate`](https://vueuse.org/core/createreusabletemplate/) from https://github.com/antfu/vue-reuse-template - [`createTemplatePromise`](https://vueuse.org/core/createTemplatePromise/) from https://github.com/antfu/vue-template-promise - [`useAnimate`](https://vueuse.org/core/useAnimate/) for native animation API, thanks to [@&#8203;tolking](https://github.com/tolking) - Renamed `resolveRef` to `toRef`, `resolveUnref` to `toValue`, aligning with Vue 3.3: https://github.com/vuejs/core/pull/7997 - Improved tree-shaking - Cleaned up long-lasting PRs, thanks to all! #####    🚨 Breaking Changes - Remove deprecated types  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2656 [<samp>(c2fee)</samp>](https://github.com/vueuse/vueuse/commit/c2fee4e5) - Remove `isFunction` and `isString` utils [<samp>(cb644)</samp>](https://github.com/vueuse/vueuse/commit/cb644e03) - **computedAsync**: - Set shallow defalut to true  -  by [@&#8203;xiankaiqun](https://github.com/xiankaiqun) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2621 [<samp>(23c9d)</samp>](https://github.com/vueuse/vueuse/commit/23c9d45d) - **toRef**: - Rename `resolveRef` to `toRef` [<samp>(10e98)</samp>](https://github.com/vueuse/vueuse/commit/10e98911) - **types**: - Rename `MaybeComputedRef` to `MaybeRefOrGetter` [<samp>(4d757)</samp>](https://github.com/vueuse/vueuse/commit/4d7577ee) - **useAxios**: - `error` should return type `unknown`  -  by [@&#8203;jbaubree](https://github.com/jbaubree) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2807 [<samp>(d8d73)</samp>](https://github.com/vueuse/vueuse/commit/d8d732e0) - Remove deprecated apis [<samp>(1f8b9)</samp>](https://github.com/vueuse/vueuse/commit/1f8b92c1) - Reject promise on `execute`  -  by [@&#8203;FRSgit](https://github.com/FRSgit) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2485 [<samp>(edece)</samp>](https://github.com/vueuse/vueuse/commit/edece1a2) - **useColorMode**: - Enable `disableTransition` by default [<samp>(5c82c)</samp>](https://github.com/vueuse/vueuse/commit/5c82cf3a) - **useElementVisibility**: - Use useIntersectionObserver instead of scroll event handler  -  by [@&#8203;curtgrimes](https://github.com/curtgrimes) in https://github.com/vueuse/vueuse/issues/2551 [<samp>(74b00)</samp>](https://github.com/vueuse/vueuse/commit/74b00a09) - **useEventBus,createEventHook**: - Dedupe registration of the same function  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2748 [<samp>(dd514)</samp>](https://github.com/vueuse/vueuse/commit/dd514616) - **useFullscreen**: - Better cross-platform compatibility  -  by [@&#8203;ferferga](https://github.com/ferferga) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2915 [<samp>(2e467)</samp>](https://github.com/vueuse/vueuse/commit/2e46781f) - **useIDBKeyval**: - Return format changed, add `isFinished`  -  by [@&#8203;jssullivan](https://github.com/jssullivan) and **james.sullivan** in https://github.com/vueuse/vueuse/issues/2474 [<samp>(ef281)</samp>](https://github.com/vueuse/vueuse/commit/ef281cdf) - **useInfiniteScroll**: - Improve loading strategies, close [#&#8203;1701](https://github.com/vueuse/vueuse/issues/1701), close [#&#8203;1685](https://github.com/vueuse/vueuse/issues/1685)  -  by [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/1701 and https://github.com/vueuse/vueuse/issues/1685 [<samp>(d3a2b)</samp>](https://github.com/vueuse/vueuse/commit/d3a2bcae) - **useSwipe**: - Use literal for swipe direction instead of enum [<samp>(f285c)</samp>](https://github.com/vueuse/vueuse/commit/f285c12e) - **useToFixed**: - Remove deprecated function [<samp>(a6e5b)</samp>](https://github.com/vueuse/vueuse/commit/a6e5b6da) - **useUserMedia**: - Add constraints - remove deviceIds  -  by [@&#8203;mango-martin](https://github.com/mango-martin) in https://github.com/vueuse/vueuse/issues/2032 [<samp>(8f2a3)</samp>](https://github.com/vueuse/vueuse/commit/8f2a3c48) - Remove deprecated apis [<samp>(85468)</samp>](https://github.com/vueuse/vueuse/commit/854689c7) - **useWebNotification**: - Should be exposed as EventHooksOn  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2821 [<samp>(bcd2a)</samp>](https://github.com/vueuse/vueuse/commit/bcd2ada1) - **useWindowSize**: - Use media query instead of `orientationchange` listener  -  by [@&#8203;zhousg](https://github.com/zhousg) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2919 [<samp>(4e7b0)</samp>](https://github.com/vueuse/vueuse/commit/4e7b025c) #####    🚀 Features - Update deps [<samp>(e75a5)</samp>](https://github.com/vueuse/vueuse/commit/e75a5e61) - Improve tree-shaking [<samp>(3275e)</samp>](https://github.com/vueuse/vueuse/commit/3275e94a) - **createEventHook**: - Allow awaiting on `trigger`  -  by [@&#8203;Akryum](https://github.com/Akryum) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2824 [<samp>(31347)</samp>](https://github.com/vueuse/vueuse/commit/313477d1) - **createGlobalState**: - Allow passing initial args  -  by [@&#8203;jd-solanki](https://github.com/jd-solanki) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2790 [<samp>(f21b2)</samp>](https://github.com/vueuse/vueuse/commit/f21b26a7) - **createReusableTemplate**: - New function  -  by [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2961 [<samp>(bd53c)</samp>](https://github.com/vueuse/vueuse/commit/bd53cc30) - **createTemplatePromise**: - New function  -  by [@&#8203;antfu](https://github.com/antfu) and **Enzo Innocenzi** in https://github.com/vueuse/vueuse/issues/2957 [<samp>(13169)</samp>](https://github.com/vueuse/vueuse/commit/131696de) - **onKeyStroke**: - Support ignoring repeated stroke  -  by [@&#8203;vaakian](https://github.com/vaakian) in https://github.com/vueuse/vueuse/issues/2652 [<samp>(22ca5)</samp>](https://github.com/vueuse/vueuse/commit/22ca5137) - **reactiveOmit**: - Add predicate parameter  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2849 [<samp>(2e297)</samp>](https://github.com/vueuse/vueuse/commit/2e297db7) - **reactivePick**: - Add predicate parameter  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2850 [<samp>(0bde4)</samp>](https://github.com/vueuse/vueuse/commit/0bde4543) - **toRef**: - Support two argument overrides from Vue [<samp>(f307f)</samp>](https://github.com/vueuse/vueuse/commit/f307ff77) - **toValue**: - Rename `resolveUnref` to `toValue` [<samp>(0a72b)</samp>](https://github.com/vueuse/vueuse/commit/0a72ba10) - **useAnimate**: - New function  -  by [@&#8203;tolking](https://github.com/tolking) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2109 [<samp>(bcf5d)</samp>](https://github.com/vueuse/vueuse/commit/bcf5da09) - **useArrayDifference**: - New function  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2710 [<samp>(a2a33)</samp>](https://github.com/vueuse/vueuse/commit/a2a338d5) - **useArrayIncludes**: - New function  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2708 [<samp>(4d6bc)</samp>](https://github.com/vueuse/vueuse/commit/4d6bc001) - **useArrayUnique**: - Add a custom function to deduplicate  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2612 [<samp>(c8c30)</samp>](https://github.com/vueuse/vueuse/commit/c8c30435) - **useAsyncValidator**: - Add immediate and execute  -  by [@&#8203;jaw52](https://github.com/jaw52) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2899 [<samp>(79176)</samp>](https://github.com/vueuse/vueuse/commit/79176651) - Add `manual` option  -  by [@&#8203;jaw52](https://github.com/jaw52) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2903 [<samp>(16461)</samp>](https://github.com/vueuse/vueuse/commit/16461dbe) - **useAxios**: - Added `onFinish` callback  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2829 [<samp>(a2f33)</samp>](https://github.com/vueuse/vueuse/commit/a2f334d7) - Added `initialData` and `resetOnExecute` options  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2791 [<samp>(f54a3)</samp>](https://github.com/vueuse/vueuse/commit/f54a3c47) - **useBreakpoints**: - Getting current breakpoints  -  by [@&#8203;ineshbose](https://github.com/ineshbose) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2906 [<samp>(bbabd)</samp>](https://github.com/vueuse/vueuse/commit/bbabdbdc) - **useBrowserLocation**: - Two-way binding  -  by [@&#8203;sxzz](https://github.com/sxzz) in https://github.com/vueuse/vueuse/issues/2168 [<samp>(a860c)</samp>](https://github.com/vueuse/vueuse/commit/a860cf8c) - **useColorMode**: - Support passing element as `selector`  -  by [@&#8203;Wing-9527](https://github.com/Wing-9527) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2760 [<samp>(02ccc)</samp>](https://github.com/vueuse/vueuse/commit/02ccce9a) - Expose `system` and `store` ref, close [#&#8203;2023](https://github.com/vueuse/vueuse/issues/2023)  -  by [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2023 [<samp>(d150c)</samp>](https://github.com/vueuse/vueuse/commit/d150ca22) - **useCssVar**: - Introduce `observe` option  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2800 [<samp>(ae6e1)</samp>](https://github.com/vueuse/vueuse/commit/ae6e174d) - **useCycleList**: - Allow receiving reactive list  -  by [@&#8203;hjJunior](https://github.com/hjJunior) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2864 [<samp>(b65c2)</samp>](https://github.com/vueuse/vueuse/commit/b65c2ccd) - **useDark**: - Passthrough default handler from `useColorSchema`  -  by [@&#8203;godismyjudge95](https://github.com/godismyjudge95) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2866 [<samp>(d6d35)</samp>](https://github.com/vueuse/vueuse/commit/d6d35a03) - **useDark, useColorMode**: - Introduce `disableTransition` option [<samp>(320ab)</samp>](https://github.com/vueuse/vueuse/commit/320abd73) - **useDraggable**: - Introduce `axis` option  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2948 [<samp>(0842a)</samp>](https://github.com/vueuse/vueuse/commit/0842aa22) - Support `capture` option  -  by [@&#8203;faga295](https://github.com/faga295) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2725 [<samp>(3996d)</samp>](https://github.com/vueuse/vueuse/commit/3996d443) - **useFetch**: - Update data on success  -  by [@&#8203;pbrzosko](https://github.com/pbrzosko) and **Przemyslaw Brzosko** in https://github.com/vueuse/vueuse/issues/2711 [<samp>(78cfb)</samp>](https://github.com/vueuse/vueuse/commit/78cfbdd0) - **useFileDialog**: - Add listener for file change events  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2893 [<samp>(5e697)</samp>](https://github.com/vueuse/vueuse/commit/5e697ba6) - **useFirestore**: - Support delay for autoDispose, fixes [#&#8203;2252](https://github.com/vueuse/vueuse/issues/2252)  -  by [@&#8203;Zehir](https://github.com/Zehir) in https://github.com/vueuse/vueuse/issues/2276 and https://github.com/vueuse/vueuse/issues/2252 [<samp>(05781)</samp>](https://github.com/vueuse/vueuse/commit/05781455) - **useIdle**: - Add `reset` capability  -  by [@&#8203;nahvego](https://github.com/nahvego) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2880 [<samp>(f4d35)</samp>](https://github.com/vueuse/vueuse/commit/f4d35428) - **useIntersectionObserver**: - Support for `Pausable` interface  -  by [@&#8203;Mini-ghost](https://github.com/Mini-ghost) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2883 [<samp>(4b336)</samp>](https://github.com/vueuse/vueuse/commit/4b336c4c) - Allow multiple targets  -  by [@&#8203;ferferga](https://github.com/ferferga) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2964 [<samp>(f87f8)</samp>](https://github.com/vueuse/vueuse/commit/f87f8774) - **useMouse**: - Support `type: screen`  -  by [@&#8203;francoislevesque](https://github.com/francoislevesque) in https://github.com/vueuse/vueuse/issues/2467 [<samp>(39d18)</samp>](https://github.com/vueuse/vueuse/commit/39d1832b) - **useParentElement**: - New function  -  by [@&#8203;jd-solanki](https://github.com/jd-solanki) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2855 [<samp>(e8168)</samp>](https://github.com/vueuse/vueuse/commit/e81685a7) - **usePerformanceObserver**: - New function  -  by [@&#8203;LockingReal](https://github.com/LockingReal), **Admin** and [@&#8203;okxiaoliang4](https://github.com/okxiaoliang4) in https://github.com/vueuse/vueuse/issues/2736 [<samp>(21536)</samp>](https://github.com/vueuse/vueuse/commit/21536a2a) - **useResizeObserver**: - Support element list  -  by [@&#8203;acyza](https://github.com/acyza) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2841 [<samp>(3e187)</samp>](https://github.com/vueuse/vueuse/commit/3e187936) - **useRouteQuery,useRouteParams**: - New `transform` handler  -  by [@&#8203;edumudu](https://github.com/edumudu) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2191 [<samp>(d23ca)</samp>](https://github.com/vueuse/vueuse/commit/d23ca30b) - **useSortable**: - New function  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue), [@&#8203;okxiaoliang4](https://github.com/okxiaoliang4) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2763 [<samp>(6bc60)</samp>](https://github.com/vueuse/vueuse/commit/6bc60892) - **useSupported**: - Support tracking reactivity for the callback function  -  by [@&#8203;ferferga](https://github.com/ferferga) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2904 [<samp>(55a32)</samp>](https://github.com/vueuse/vueuse/commit/55a32d92) - **useSwipe, usePointerSwipe, useTransition**: - Improve tree-shaking  -  by [@&#8203;webistomin](https://github.com/webistomin) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2863 [<samp>(08c21)</samp>](https://github.com/vueuse/vueuse/commit/08c21fba) - **useTextareaAutosize**: - Added `styleTarget` option to style other element  -  by [@&#8203;jd-solanki](https://github.com/jd-solanki) in https://github.com/vueuse/vueuse/issues/2312 [<samp>(a3e95)</samp>](https://github.com/vueuse/vueuse/commit/a3e9547c) - **useTransition**: - Expose transition utility for manual control  -  by [@&#8203;scottbedard](https://github.com/scottbedard) in https://github.com/vueuse/vueuse/issues/2743 [<samp>(526d5)</samp>](https://github.com/vueuse/vueuse/commit/526d5c76) - Support `MaybeComputedRef`  -  by [@&#8203;zhiyuanzmj](https://github.com/zhiyuanzmj) in https://github.com/vueuse/vueuse/issues/2871 [<samp>(5944e)</samp>](https://github.com/vueuse/vueuse/commit/5944ef6f) - **useVModel**: - Add `shouldEmit` hook  -  by [@&#8203;baiwusanyu-c](https://github.com/baiwusanyu-c) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2836 [<samp>(f8a53)</samp>](https://github.com/vueuse/vueuse/commit/f8a5328b) - **watch**: - Shorthands for watch  -  by [@&#8203;mrhammadasif](https://github.com/mrhammadasif) in https://github.com/vueuse/vueuse/issues/2651 [<samp>(b4ec7)</samp>](https://github.com/vueuse/vueuse/commit/b4ec77a9) #####    🐞 Bug Fixes - Use ts-ignore instead of ts-expect-error for version-specifc errors  -  by [@&#8203;sodatea](https://github.com/sodatea) in https://github.com/vueuse/vueuse/issues/2802 [<samp>(37ec7)</samp>](https://github.com/vueuse/vueuse/commit/37ec7d8b) - Upgrade vue-demi [<samp>(976d8)</samp>](https://github.com/vueuse/vueuse/commit/976d835c) - **onStartTyping**: Fix char ascii  -  by [@&#8203;meenie-net](https://github.com/meenie-net) in https://github.com/vueuse/vueuse/issues/2932 [<samp>(e9ab3)</samp>](https://github.com/vueuse/vueuse/commit/e9ab3ad2) - **toRef**: Improve types overload, close [#&#8203;2925](https://github.com/vueuse/vueuse/issues/2925)  -  by [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2925 [<samp>(cb6f9)</samp>](https://github.com/vueuse/vueuse/commit/cb6f916c) - **useArrayDifference**: Error with falsey  -  by [@&#8203;simpleoo0o](https://github.com/simpleoo0o) and **lix** in https://github.com/vueuse/vueuse/issues/2869 [<samp>(41858)</samp>](https://github.com/vueuse/vueuse/commit/418585d8) - **useAsyncState**: Fix toThrowError error type  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2898 [<samp>(b636f)</samp>](https://github.com/vueuse/vueuse/commit/b636f7eb) - **useAsyncValidator**: Incorrect condition for choosing constructor  -  by [@&#8203;theruziev](https://github.com/theruziev) in https://github.com/vueuse/vueuse/issues/2788 [<samp>(93b45)</samp>](https://github.com/vueuse/vueuse/commit/93b4575e) - **useDevicesList**: Show devices for Firefox  -  by [@&#8203;felixzapata](https://github.com/felixzapata) in https://github.com/vueuse/vueuse/issues/2798 [<samp>(0823d)</samp>](https://github.com/vueuse/vueuse/commit/0823d680) - **useElementHover**: `window` is not defined  -  by [@&#8203;okxiaoliang4](https://github.com/okxiaoliang4) in https://github.com/vueuse/vueuse/issues/2793 [<samp>(c86f2)</samp>](https://github.com/vueuse/vueuse/commit/c86f26dd) - **useFetch**: Abort before updating state  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2805 [<samp>(fff45)</samp>](https://github.com/vueuse/vueuse/commit/fff45324) - **useFullscreen**: Handle Safari iOS  -  by [@&#8203;ferferga](https://github.com/ferferga) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2822 [<samp>(9d394)</samp>](https://github.com/vueuse/vueuse/commit/9d394958) - **useMounted**: Check for the current instance [<samp>(1aab1)</samp>](https://github.com/vueuse/vueuse/commit/1aab1f20) - **useScroll**: Add support for row-reverse and column-reverse  -  by [@&#8203;OneLoneFox](https://github.com/OneLoneFox) and [@&#8203;antfu](https://github.com/antfu) in https://github.com/vueuse/vueuse/issues/2577 [<samp>(23b9a)</samp>](https://github.com/vueuse/vueuse/commit/23b9a34e) - **useSortable**: Order of dom and array is different  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2926 [<samp>(3a508)</samp>](https://github.com/vueuse/vueuse/commit/3a508934) - **watchDeep,watchImmediate**: Fix callback function execution logic  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2951 [<samp>(e6e25)</samp>](https://github.com/vueuse/vueuse/commit/e6e2576e) #####    🏎 Performance - **useStorageAsync,useFetch**: Replace setTimeout with Promise  -  by [@&#8203;Alfred-Skyblue](https://github.com/Alfred-Skyblue) in https://github.com/vueuse/vueuse/issues/2917 [<samp>(8bd63)</samp>](https://github.com/vueuse/vueuse/commit/8bd638bc) #####     [View changes on GitHub](https://github.com/vueuse/vueuse/compare/v9.13.0...v10.0.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yNC42IiwidXBkYXRlZEluVmVyIjoiMzUuMjQuNiJ9-->
renovate added the
dependencies
label 2023-04-14 09:04:37 +00:00
Owner

useSortable:

New function - by @​Alfred-Skyblue, @​okxiaoliang4 and @​antfu in https://github.com/vueuse/vueuse/issues/2763 (6bc60)

@dpschen Didn't we wait on this for something?

> useSortable: > > New function - by @​Alfred-Skyblue, @​okxiaoliang4 and @​antfu in https://github.com/vueuse/vueuse/issues/2763 (6bc60) @dpschen Didn't we wait on this for something?
konrad scheduled this pull request to auto merge when all checks succeed 2023-04-14 09:08:28 +00:00
Member

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!

Beep boop, I'm a bot.

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! > Beep boop, I'm a bot.
Member

useSortable:

New function - by @​Alfred-Skyblue, @​okxiaoliang4 and @​antfu in https://github.com/vueuse/vueuse/issues/2763 (6bc60)

@dpschen Didn't we wait on this for something?

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.

> > useSortable: > > > > New function - by @​Alfred-Skyblue, @​okxiaoliang4 and @​antfu in https://github.com/vueuse/vueuse/issues/2763 (6bc60) > > @dpschen Didn't we wait on this for something? 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.
konrad canceled auto merging this pull request when all checks succeed 2023-04-14 09:23:42 +00:00
renovate force-pushed renovate/major-vueuse from b3b5bf2b89 to b5cb3269bc 2023-04-14 11:05:14 +00:00 Compare
Owner

The tests are passing, so we know it did not break anything critical.

The tests are passing, so we know it did not break anything critical.
konrad added 1 commit 2023-04-14 13:47:59 +00:00
continuous-integration/drone/pr Build is passing Details
7dc1db4db9
fix: rename resolveRef
Owner

From a quick search in the code it looks like only the renaming of resolveRef toRef affects us. I've changed it now.

From a quick search in the code it looks like only the renaming of `resolveRef` `toRef` affects us. I've changed it now.
konrad reviewed 2023-04-14 13:49:19 +00:00
@ -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?

I wonder how this is different than the `toRef` provided by vue itself?

This is also something that I wondered. Unsure!

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#L23

Since that's pretty much how we use it, I guess we can switch to vue's.

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#L23 Since 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.

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

Other stuff will appear again. All good
dpschen marked this conversation as resolved
Author
Member

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.

### 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.
konrad approved these changes 2023-04-14 19:15:50 +00:00
konrad left a comment
Owner

I think we can merge this, @dpschen anything to add?

I think we can merge this, @dpschen anything to add?
konrad added 1 commit 2023-04-14 19:16:40 +00:00
continuous-integration/drone/pr Build is passing Details
45d305f0a5
chore: formatting
dpschen approved these changes 2023-04-14 21:52:58 +00:00
dpschen merged commit b92d780cda into main 2023-04-14 21:53:07 +00:00
dpschen deleted branch renovate/major-vueuse 2023-04-14 21:53:07 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.