vue-query
vue-query copied to clipboard
v2 roadmap
react-query/core
List of tickets in react-query
V4 (not finalized): https://github.com/tannerlinsley/react-query/issues?q=is%3Aissue+label%3Av4+is%3Aclosed
- [x] https://github.com/tannerlinsley/react-query/pull/2988
- [x] https://github.com/tannerlinsley/react-query/pull/3071
- [x] Update docs
- [x] https://github.com/tannerlinsley/react-query/pull/3006
- [x] https://github.com/tannerlinsley/react-query/pull/2996
- [x] https://github.com/tannerlinsley/react-query/pull/2937
- [x] https://github.com/tannerlinsley/react-query/pull/2938
- [x] https://github.com/tannerlinsley/react-query/pull/2963
- [x] https://github.com/tannerlinsley/react-query/pull/2969
- [x] https://github.com/tannerlinsley/react-query/pull/3223
- [x] https://github.com/tannerlinsley/react-query/pull/3271
- [x] https://github.com/TanStack/query/pull/3834
- [x] https://github.com/TanStack/query/pull/3873
- [x] https://github.com/TanStack/query/pull/3988
vue-query
- [x] hooks should wrap primitives as refs, but return functions as-is #123
- [x] create wrappers for
QueryClient
,QueryCache
,MutationCache
etc, so parameters could be passed as refs and would be automatically unwrapped #110 - [x] migrate devtools as a plugin to official vue devtools #155
- [x] nuxt 3 integration
- [ ] ~expose persistance plugins~ (This will be handled after migration to Tanstack)
misc
- [x] Create migration to v2 page and notify about all noticeable changes in
react-query/core
andvue-query
- [ ] Consider codemods?
Thank you for this!
Where can we find types like QueryFunctionContext
, UseMutationResult
, etc. that can be imported in vue-query/types
before?
@wobsoriano
So /types
is no longer available in react-query v4 beta, since types are now exported next to the sources in /lib
.
Some types should be available from vue-query
directly, like UseMutationResult
-> UseMutationReturnType
which extends MutationResult
with refs annotations.
If some type is missing we need to reexport it now from the main package.
I will check if reexporting everything from core (*
) would not break anything.
@DamianOsipiuk thank you for your great work!
@wobsoriano So, everything should be re-exported with v2.0.0-alpha.3 - in case some types are still missing, please open a ticket.
@DamianOsipiuk migrated one of my pet projects to alpha and all exported types are there now. Thanks!
Happy to see that first beta appeared 🎉 Do you have any predictions on release date?
@DamianOsipiuk Could the type narrowing for initialData
be included for v2?
https://github.com/TanStack/query/issues/3310
@DamianOsipiuk Could the type narrowing for
initialData
be included for v2? TanStack/query#3310
Yes, all the changes introduced in v4 of react-query will be backported.
Happy to see that first beta appeared 🎉 Do you have any predictions on release date?
Currently i'm trying to stabilize ESM support in @tanstack/query. When it will be done, i would have to go trough and backport all the changes that were done from the beta release. Probably then we could do a v2 release.
This package will be migrated as a part of https://github.com/TanStack/query. This will in turn bump the version to v4 to be in line the the core. Question to the users. Do you prefer to 🚀 Get v2 release sooner, followed up by v4 release under a different name (@tanstack/vue-query) 🎉 Wait a little bit more for v4 directly.
@DamianOsipiuk I love Vue Query, excited about the progress! I'm in no rush to get the updates, so if it counts for anything I'm good with waiting to get one big V4 update.
Almost there... https://github.com/TanStack/query/pull/4254 🚀
Appreciate your effort @DamianOsipiuk !
@tanstack/vue-query is now official. Thanks for the patience!