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

Update @apollo/client peer dependency to rc and remove makeSuspenseCache #61

Merged
merged 8 commits into from
Jul 18, 2023

Conversation

jerelmiller
Copy link
Member

With the latest changes in the @apollo/client rc version, the SuspenseCache option has been removed and will instead be lazy instantiated by the client when a suspense hook is used. This PR updates to only support the latest @apollo/client@rc version as a peer dependency and removes the makeSuspenseCache option.

@jerelmiller jerelmiller requested a review from phryneas July 14, 2023 04:24
@jerelmiller jerelmiller changed the title Update @apolloc/client peer dependency to rc and remove makeSuspenseCache Update @apollo/client peer dependency to rc and remove makeSuspenseCache Jul 14, 2023
Copy link
Member

@phryneas phryneas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!
I'm still waiting for a review on #59 and will release that as a patch release.
After that, I'll merge this and do a 0.4.0 with it!

In that spirit, I'm already going to pull the README changes from this PR into main - makeSuspenseCache was already optional before and the package.json has already included the .rc releases in the last patch. (see 9092132 )

phryneas added a commit that referenced this pull request Jul 14, 2023
@phryneas
Copy link
Member

Already pulling in some more changes to make the CI happy on main. Just leaving the package-related stuff here.

phryneas added a commit that referenced this pull request Jul 14, 2023
@phryneas phryneas merged commit 02faed3 into main Jul 18, 2023
@jerelmiller jerelmiller deleted the remove-suspense-cache branch July 18, 2023 21:41
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

Successfully merging this pull request may close these issues.

2 participants