You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/migration/4.0.mdx
+37-31Lines changed: 37 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,43 @@ val call = client.query(MyQuery())
196
196
197
197
`HttpEngine` now implements `Closeable` and has its `dispose` method renamed to `close`. If you have a custom `HttpEngine`, you need to implement `close` instead of `dispose`.
198
198
199
-
## Apollo Gradle Plugin
199
+
200
+
## Maven artifacts reorganization
201
+
202
+
Over the years, a lot of support functionality was added alongside `apollo-api` and `apollo-runtime`. While useful, most of this functionality doesn't share the same level of stability and maturity as the main artifacts and bundling them did not make much sense.
203
+
204
+
Moving forward, some artifacts are released separately and have new Maven coordinates, GitHub repositories and package names. Others are deprecated.
205
+
206
+
For the initial v4 release, all the artifacts are kept with deprecation warnings. They will be removed in the future.
207
+
208
+
The artifacts are:
209
+
210
+
* apollo-mockserver
211
+
* MockServer was born out of our own internal needs for a KMP-ready mockserver. Most of its public API is subject to change, and it has been moved to a separate repository.
212
+
* apollo-cli-incubating
213
+
* The Apollo CLI contract is subject to change and it has been moved to a separate repository.
214
+
* apollo-rx-support
215
+
* The RxJava{2-3} artifacts are very thin wrappers around kotlinx-coroutines-rx{2-3} and we recommend using those instead.
216
+
* apollo-idling-resource
217
+
* ApolloIdlingResource is deprecated. We recommend using reactive patterns to test your UI instead. See [this article about ways to do so](https://medium.com/androiddevelopers/alternatives-to-idling-resources-in-compose-tests-8ae71f9fc473) for more details.
218
+
219
+
### Summary
220
+
221
+
| Old coordinates | New coordinates | New Repository |
Over the years, a lot of support functionality was added alongside `apollo-runtime`. While useful, most of this functionality doesn't share the same level of stability and bundling the release does not make much sense.
623
-
624
-
Moving forward, `apollo-mockserver` is released separately.
We recommend using reactive patterns to test your UI instead. See [this article about ways to do so](https://medium.com/androiddevelopers/alternatives-to-idling-resources-in-compose-tests-8ae71f9fc473).
@Deprecated("The Apollo CLI has new maven coordinates at 'com.apollographql.cli:apollo-cli. See https://go.apollo.dev/ak-4-migration-guide for more details.")
0 commit comments