Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 roadmap #124

Closed
19 of 21 tasks
DamianOsipiuk opened this issue Feb 9, 2022 · 13 comments
Closed
19 of 21 tasks

v2 roadmap #124

DamianOsipiuk opened this issue Feb 9, 2022 · 13 comments
Milestone

Comments

@DamianOsipiuk
Copy link
Owner

DamianOsipiuk commented Feb 9, 2022

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

vue-query

misc

  • Create migration to v2 page and notify about all noticeable changes in react-query/core and vue-query
  • Consider codemods?
@DamianOsipiuk DamianOsipiuk added this to the v2 milestone Feb 9, 2022
@DamianOsipiuk DamianOsipiuk changed the title react-query/core v4 breaking changes v2 roadmap Feb 11, 2022
@DamianOsipiuk DamianOsipiuk pinned this issue Apr 5, 2022
@DamianOsipiuk DamianOsipiuk unpinned this issue Apr 21, 2022
@DamianOsipiuk DamianOsipiuk pinned this issue Apr 21, 2022
@DamianOsipiuk
Copy link
Owner Author

v2.0.0-alpha.1

@wobsoriano
Copy link
Contributor

v2.0.0-alpha.1

Thank you for this!

Where can we find types like QueryFunctionContext, UseMutationResult, etc. that can be imported in vue-query/types before?

@DamianOsipiuk
Copy link
Owner Author

@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.

@wobsoriano
Copy link
Contributor

@DamianOsipiuk thank you for your great work!

@DamianOsipiuk
Copy link
Owner Author

@wobsoriano So, everything should be re-exported with v2.0.0-alpha.3 - in case some types are still missing, please open a ticket.

@wobsoriano
Copy link
Contributor

wobsoriano commented May 22, 2022

@DamianOsipiuk migrated one of my pet projects to alpha and all exported types are there now. Thanks!

@AndreyYolkin
Copy link

Happy to see that first beta appeared 🎉
Do you have any predictions on release date?

@Hawxy
Copy link

Hawxy commented Aug 23, 2022

@DamianOsipiuk Could the type narrowing for initialData be included for v2?
TanStack/query#3310

@DamianOsipiuk DamianOsipiuk unpinned this issue Aug 23, 2022
@DamianOsipiuk
Copy link
Owner Author

DamianOsipiuk commented Aug 23, 2022

@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.

@calebwaldner
Copy link

@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.

@DamianOsipiuk
Copy link
Owner Author

Almost there... TanStack/query#4254 🚀

@wobsoriano
Copy link
Contributor

Appreciate your effort @DamianOsipiuk !

@DamianOsipiuk
Copy link
Owner Author

@tanstack/vue-query is now official. Thanks for the patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants