Releases: vueuse/vueuse
Releases · vueuse/vueuse
v14.0.0-alpha.3
🚨 Breaking Changes
- createSharedComposable: Return only the sharedComposable on client side - by @9romise in #4997 (73aad)
🚀 Features
- computedEager: Deprecate
computedEager
- by @ilyaliao in #5034 (26a7d) - watch: Update watch return typo in watchExtractedObservable, watchDebounced, watchDeep, watchImmediate, watchOnce, watchThrottled and watchWithFilter - by @ArthurDarkstone in #4896 (b8102)
- watchAtMost: Add pause and resume to return value - by @ArthurDarkstone in #4897 (d3176)
- watchPausable: Deprecate
watchPausable
- by @ilyaliao in #5040 (4a28b)
🐞 Bug Fixes
- Update return type of createReusableTemplate and createTemplateP… - by @ArthurDarkstone in #4962 (5fd3a)
- Update return types for createTemplatePromise, useMagicKeys, use… - by @ArthurDarkstone in #4963 (554b7)
- useFullscreen: Specify return types for request, exit, and enabl… - by @ArthurDarkstone in #4965 (8ac73)
- useMagicKeys: Clearing of other keys after releasing alt - by @NoiseFan in #5037 (3f113)
View changes on GitHub
v14.0.0-alpha.2
🚨 Breaking Changes
- Deprecate alias exports in favor of original function names - by @9romise in #5009 (e5f74)
- Requires Vue 3.5 - by @antfu (fe458)
- firebase: Upgrade to firebase v12 - by @antfu (8cb0b)
- nuxt: Use Nuxt v4 kit - by @antfu (070fc)
- shared: Drop some deprecated apis - by @9romise in #5010 (971b2)
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v14.0.0-alpha.1
v14.0.0-alpha.0
🚨 Breaking Changes
- components: Refactor components and make them consistent - by @ilyaliao in #4912 (8c521)
- useThrottleFn: Align with traditional throttle behavior - by @IceMooncake and @ilyaliao in #4923 (cefd2)
🚀 Features
- onLongPress: Allow function as value in delay - by @keeplearning66 in #4979 (415f3)
- useAsyncState: Allow initial value to be a ref - by @43081j in #4992 (e38e8)
🐞 Bug Fixes
- types: Update type casting for watch functions to use WatchSource - by @ArthurDarkstone in #4966 (00a72)
- useUrlSearchParams: Restore proper history and navigation behavior - by @yosong-github and @ilyaliao in #4969 (1cff4)
View changes on GitHub
v13.9.0
🚀 Features
- onLongPress: Allow function as value in delay - by @keeplearning66 in #4979 (415f3)
- useAsyncState: Allow initial value to be a ref - by @43081j in #4992 (e38e8)
🐞 Bug Fixes
- types: Update type casting for watch functions to use WatchSource - by @ArthurDarkstone in #4966 (00a72)
- useUrlSearchParams: Restore proper history and navigation behavior - by @yosong-github and @ilyaliao in #4969 (1cff4)
View changes on GitHub
v13.8.0
🚀 Features
🏎 Performance
- docs: Replace
twoslash
with own function for comparing js snippet - by @serkodev in #4977 (909fd) - usePointer: Use shallowRef for better performance - by @broBinChen and xiaobin in #4980 (ce09e)
- usePreferredLanguages: Use shallowRef for better performance - by @ilyaliao in #4973 (361c8)
View changes on GitHub
v13.7.0
🚨 Breaking Changes
🚀 Features
- computedAsync: Use globalThis.reportError as default onError - by @babu-ch in #4943 (226a2)
- useClipboardItems: Expose
read()
- by @OrbisK in #4954 (d03b2) - useDevicePixelRatio: Improve types - by @doyuli in #4927 (1b3d4)
- useSpeechSynthesisOptions: Add option
onBoundary
- by @pkc918 in #4960 (c0dca) - useTimeAgoIntl: Add
useTimaAgoIntl
- by @northword and Anthony Fu in #4821 (81815)
🐞 Bug Fixes
- ci: Avoid duplicate
nr update
execution indocs:build
- by @serkodev in #4925 (a73ee) - useAnimate: Respect
immediate: false
with conditionally rendered elements - by @curtgrimes in #4947 (90c7f) - useGamepad: Correct type assertion for vibrationActuator - by @ArthurDarkstone in #4964 (c5277)
- useStorage: Make sure to always read data if new value is
undefined
- by @OrbisK in #4957 (22116)
🏎 Performance
- twoslash: Optimize twoslash cache - by @doyuli in #4939 (93064)
- useMutationObserver: Watch ref directly - by @VividLemon in #4940 (01cd9)
View changes on GitHub
v13.6.0
🚀 Features
- Mark templateRef as deprecated - by @ilyaliao in #4894 (0271e)
- useFileDialog: Add MaybRef to multiple, accept, capture, reset, and directory - by @hunterwilhelm, Anthony Fu and @antfu in #4813 (a44bd)
- useFocusTrap: Expose updateContainerElements for dynamic contai… - by @PeikyLiu and @ilyaliao in #4849 (3d5e5)
- useIDBKeyval: Add
options.serializer
- by @matthewjumpsoffbuildings, @OrbisK and @43081j in #4781 (bb831) - useStorageAsync: Add
onReady
option and Promise return - by @asika32764, Fernando Fernández, @OrbisK and Anthony Fu in #4158 (3a2df) - useTransition: Support custom window - by @byronogis and Anthony Fu in #4850 (a75f4)
🐞 Bug Fixes
- onClickOutside: The order of overload signatures - by @whiteyebrw, @ilyaliao and Anthony Fu in #4839 (d5812)
- types: Use Vue's native
MaybeRef
andMaybeRefOrGetter
instead - by @RYGRIT in #4913 (2d179) - useDraggable: Add capture prop to component - by @wgh970312 in #4911 (547f8)
- useMagicKeys: Prevent incorrect clearing of other keys after releasing shift - by @keeplearning66 in #4916 (d7f28)
- useMouseInElement: Correctly update elementX and elementY - by @cszhjh and @ilyaliao in #4846 (cf02b)
- useVirtualList: Resolve invalid watch source - by @cszhjh and @OrbisK in #4857 (d2381)
View changes on GitHub
v13.5.0
🚀 Features
- useSpeechSynthesis: Add reactivity for volume - by @whiteyebrw in #4837 (4d125)
🐞 Bug Fixes
- useCookie: Update
universal-cookie
range to^7 || ^8
#4834
View changes on GitHub
v13.4.0
🚀 Features
- shared: Introduce
TimerHandle
for setTimeout type - by @ilyaliao in #4801 (319d8) - useAsyncState: Add executeImmediate with the same type as the promise fn - by @davidglezz in #4716 (82740)
- useEventSource: Added lastEventId for named events - by @whiteyebrw in #4791 (f6f0b)
- useFetch: Support for custom abort reason - by @doyuli in #4820 (44c0b)
- useRefHistory: Add
shouldCommit
- by @JonathanSchndr, Anthony Fu and Robin in #4471 (18acf) - useUrlSearchParams: Add a stringify option for users to provide stringify logic - by @mingXta, Robin and Anthony Fu in #4773 (6a523)
🐞 Bug Fixes
- computedWithControl: Allow deeply watching source - by @MetRonnie and Anthony Fu in #4786 (ffc1a)
- useDevicesList: Check for device availability before requesting permissions - by @ilyaliao in #4818 (c424f)
- useEventListener: Improve types - by @ArthurDarkstone, liliang18 and @Alfred-Skyblue in #4787 (6f565)
- useIdle: Changed the
reset
call when the initial value is true - by @whiteyebrw in #4800 (c6469) - useMouseInElement: Fixing the issue where target element updates were not considered. - by @Codfisher and bgm.cod in #4782 (04af9)
- useScreenSafeArea: Сhanged initial value update - by @whiteyebrw in #4789 (ae573)
- useScriptTag: Support passing nonce - by @1-dilikelei and 董梁玮 in #4753 (57370)
- useScroll: Use mutationObserver to update arrivedState when the DOM is changed - by @andylou0102, AndyLuo, Robin and Anthony Fu in #4433 (135d5)
- watchIgnorable: Add and export types - by @ArthurDarkstone, liliang18 and Robin in #4809 (0e10e)
🏎 Performance
- computedWithControl: Optimize with shallowRef - by @broBinChen and binge_c-admin in #4826 (2c91a)