-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove apollo-boost
#5217
Remove apollo-boost
#5217
Conversation
Apollo Client 3.0 will provide a new getting started experience that doesn't involve a separate package like `apollo-boost`.
@@ -81,7 +80,7 @@ | |||
"graphql": "14.4.2", | |||
"graphql-tag": "2.10.1", | |||
"isomorphic-fetch": "2.2.1", | |||
"jest": "24.8.0", | |||
"jest": "23.6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this version rollback seems out of place, but it looks like we've jumped to the latest version of Jest at some point. Unfortunately, versions of Jest higher than 24.0.0 are not compatible with ts-jest
, and while working on the changes in this PR I hit random test failures because of this. Rolling Jest back to a version supported by ts-jest
resolved the issue.
I've left this PR in draft status for now, as I still need to slice and dice the AC docs to rework our |
Apollo Client 3.0 will include a new out of the box getting started experience. That experience is still being worked out, but since we're interested in trying to keep the docs somewhat up to date as we work on AC 3.0 changes, we can't leave the existing `apollo-boost` content in place (since boost is being removed). This commit modifies the docs to remove all references to boost, and replace all `ApolloClient` imports with their equivalent coming from the new `@apollo/client` package. We're still going to do a complete review/overhaul of the docs as we finalize more parts of AC 3.0, but this initial step will at least get boost out of the picture. It's important to note that the docs changes made in this commit are not yet usable, as `@apollo/client` hasn't been published. While this might seem a bit "cart before the horse", we need to get boost out of the picture before we can properly restructure the Apollo Client repo, to prep for `@apollo/client`.
Remove `apollo-boost`
One of Apollo Client 3.0's primary goals (roadmap) is to provide a new simplified getting started experience. This new approach will revolve around the
@apollo/client
package, and all interactions with Apollo Client will use this same package. This means developers will no longer have to worry about the differences betweenapollo-boost
andapollo-client
, or worry about having to eject from one project to the other. More details about the new@apollo/client
approach will emerge over the next couple of weeks, but as a starting point this PR removesapollo-boost
.