Skip to content

Commit 28126d5

Browse files
authored
[📚docs] link directly to https://go.apollo.dev/ak-moved-artifacts (#6028)
* Link the moved artifacts section * Update wording
1 parent 8a273b5 commit 28126d5

File tree

8 files changed

+21
-19
lines changed

8 files changed

+21
-19
lines changed

‎docs/source/migration/4.0.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ We recommend using the plugin to automate the repetitive tasks but still go thro
2727

2828
Over the years, a lot of support functionality was added alongside the `apollo-api` and `apollo-runtime` artifacts. While useful, most of this functionality doesn't share the same level of stability and maturity as the core artifacts and bundling them did not make much sense.
2929

30-
Moving forward, only the core artifacts remain in the `apollo-kotlin` repository and are released together.
30+
Moving forward, only the core artifacts remain in the `apollo-kotlin` repository and are released together. Other artifacts are moved to new maven coordinates and GitHub repositories.
3131

32-
Other artifacts are moved to new maven coordinates and GitHub repositories.
32+
This will allow us to iterate faster on new functionality while keeping the core smaller and more maintainable.
33+
34+
The artifacts with new coordinates are:
3335

3436
| Old coordinates | New coordinates | New Repository |
3537
|---------------------------------------------------------------------|------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------|

‎libraries/apollo-adapters/src/commonMain/kotlin/com/apollographql/apollo/adapter/BigDecimal.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import com.apollographql.apollo.api.json.JsonWriter
1212
/**
1313
* An [Adapter] that converts to/from [BigDecimal]
1414
*/
15-
@Deprecated("BigDecimalAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
15+
@Deprecated("BigDecimalAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
1616
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
1717
object BigDecimalAdapter : Adapter<BigDecimal> {
1818
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): BigDecimal {
@@ -32,7 +32,7 @@ object BigDecimalAdapter : Adapter<BigDecimal> {
3232
* BigDecimal cannot subclass `Number` in JS, as it will cause runtime trap in any compiled Kotlin/JS product in the module initialization
3333
* script.
3434
*/
35-
@Deprecated("BigDecimal has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
35+
@Deprecated("BigDecimal has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
3636
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
3737
expect class BigDecimal {
3838
constructor(strVal: String)

‎libraries/apollo-adapters/src/commonMain/kotlin/com/apollographql/apollo/adapter/KotlinxTimeAdapters.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import kotlinx.datetime.LocalTime
1616
*
1717
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
1818
*/
19-
@Deprecated("KotlinxInstantAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-4-migration-guide for more details.")
19+
@Deprecated("KotlinxInstantAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-moved-artifacts for more details.")
2020
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
2121
object KotlinxInstantAdapter : Adapter<Instant> {
2222
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): Instant {
@@ -34,7 +34,7 @@ object KotlinxInstantAdapter : Adapter<Instant> {
3434
*
3535
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
3636
*/
37-
@Deprecated("KotlinxLocalDateTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-4-migration-guide for more details.")
37+
@Deprecated("KotlinxLocalDateTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-moved-artifacts for more details.")
3838
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
3939
object KotlinxLocalDateTimeAdapter : Adapter<LocalDateTime> {
4040
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalDateTime {
@@ -52,7 +52,7 @@ object KotlinxLocalDateTimeAdapter : Adapter<LocalDateTime> {
5252
*
5353
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
5454
*/
55-
@Deprecated("KotlinxLocalDateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-4-migration-guide for more details.")
55+
@Deprecated("KotlinxLocalDateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-moved-artifacts for more details.")
5656
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
5757
object KotlinxLocalDateAdapter : Adapter<LocalDate> {
5858
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalDate {
@@ -70,7 +70,7 @@ object KotlinxLocalDateAdapter : Adapter<LocalDate> {
7070
*
7171
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
7272
*/
73-
@Deprecated("KotlinxLocalTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-4-migration-guide for more details.")
73+
@Deprecated("KotlinxLocalTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-datetime. See https://go.apollo.dev/ak-moved-artifacts for more details.")
7474
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
7575
object KotlinxLocalTimeAdapter : Adapter<LocalTime> {
7676
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalTime {

‎libraries/apollo-adapters/src/jvmMain/kotlin/com/apollographql/apollo/adapter/BigDecimal.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package com.apollographql.apollo.adapter
55
import com.apollographql.apollo.annotations.ApolloDeprecatedSince
66
import java.math.BigDecimal as JBigDecimal
77

8-
@Deprecated("BigDecimal has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
8+
@Deprecated("BigDecimal has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
99
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
1010
actual typealias BigDecimal = JBigDecimal
1111

‎libraries/apollo-adapters/src/jvmMain/kotlin/com/apollographql/apollo/adapter/DateAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import java.util.Date
1919
*
2020
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
2121
*/
22-
@Deprecated("DateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
22+
@Deprecated("DateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
2323
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
2424
object DateAdapter : Adapter<Date> {
2525
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): Date {

‎libraries/apollo-adapters/src/jvmMain/kotlin/com/apollographql/apollo/adapter/JavaTimeAdapters.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import java.time.format.DateTimeFormatter
2323
*
2424
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
2525
*/
26-
@Deprecated("JavaInstantAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
26+
@Deprecated("JavaInstantAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
2727
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
2828
object JavaInstantAdapter : Adapter<Instant> {
2929
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): Instant {
@@ -44,7 +44,7 @@ object JavaInstantAdapter : Adapter<Instant> {
4444
*
4545
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
4646
*/
47-
@Deprecated("JavaLocalDateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
47+
@Deprecated("JavaLocalDateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
4848
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
4949
object JavaLocalDateAdapter : Adapter<LocalDate> {
5050
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalDate {
@@ -64,7 +64,7 @@ object JavaLocalDateAdapter : Adapter<LocalDate> {
6464
*
6565
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
6666
*/
67-
@Deprecated("JavaLocalDateTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
67+
@Deprecated("JavaLocalDateTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
6868
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
6969
object JavaLocalDateTimeAdapter : Adapter<LocalDateTime> {
7070
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalDateTime {
@@ -84,7 +84,7 @@ object JavaLocalDateTimeAdapter : Adapter<LocalDateTime> {
8484
*
8585
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
8686
*/
87-
@Deprecated("JavaOffsetDateTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
87+
@Deprecated("JavaOffsetDateTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
8888
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
8989
object JavaOffsetDateTimeAdapter : Adapter<OffsetDateTime> {
9090
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): OffsetDateTime {
@@ -104,7 +104,7 @@ object JavaOffsetDateTimeAdapter : Adapter<OffsetDateTime> {
104104
*
105105
* It requires Android Gradle plugin 4.0 or newer and [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
106106
*/
107-
@Deprecated("JavaLocalTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-4-migration-guide for more details.")
107+
@Deprecated("JavaLocalTimeAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.")
108108
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
109109
object JavaLocalTimeAdapter : Adapter<LocalTime> {
110110
override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalTime {

‎libraries/apollo-mockserver/src/commonMain/kotlin/com/apollographql/apollo/mockserver/MockServer.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import kotlin.time.Duration.Companion.seconds
3333
* - queued responses from [enqueue] are buffered until they can be transmitted to the network.
3434
* If you're using [MockServer] to handle large payloads, it will use a lot of memory.
3535
*/
36-
@Deprecated("MockServer has new maven coordinates at 'com.apollographql.mockserver:apollo-mockserver. See https://go.apollo.dev/ak-4-migration-guide for more details.")
36+
@Deprecated("MockServer has new maven coordinates at 'com.apollographql.mockserver:apollo-mockserver. See https://go.apollo.dev/ak-moved-artifacts for more details.")
3737
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
3838
interface MockServer : Closeable {
3939
/**
@@ -86,7 +86,7 @@ interface MockServer : Closeable {
8686
fun onMessage(message: WebSocketMessage)
8787
}
8888

89-
@Deprecated("MockServer has new maven coordinates at 'com.apollographql.mockserver:apollo-mockserver. See https://go.apollo.dev/ak-4-migration-guide for more details.")
89+
@Deprecated("MockServer has new maven coordinates at 'com.apollographql.mockserver:apollo-mockserver. See https://go.apollo.dev/ak-moved-artifacts for more details.")
9090
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
9191
class Builder {
9292
private var handler: MockServerHandler? = null
@@ -272,7 +272,7 @@ internal class MockServerImpl(
272272
}
273273

274274
@JsName("createMockServer")
275-
@Deprecated("MockServer has new maven coordinates at 'com.apollographql.mockserver:apollo-mockserver. See https://go.apollo.dev/ak-4-migration-guide for more details.")
275+
@Deprecated("MockServer has new maven coordinates at 'com.apollographql.mockserver:apollo-mockserver. See https://go.apollo.dev/ak-moved-artifacts for more details.")
276276
@ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0)
277277
fun MockServer(): MockServer = MockServerImpl(
278278
QueueMockServerHandler(),

‎libraries/apollo-runtime-java/src/main/java/com/apollographql/apollo/runtime/java/ApolloClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
import static java.util.concurrent.Executors.newCachedThreadPool;
4949

5050
/**
51-
* @deprecated The Java support has new maven coordinates at 'com.apollographql.java:client'. See <a href="https://go.apollo.dev/ak-4-migration-guide">the migration guide</a> for more details.
51+
* @deprecated The Java support has new maven coordinates at 'com.apollographql.java:client'. See <a href="https://go.apollo.dev/ak-moved-artifacts">the migration guide</a> for more details.
5252
*/
5353
@Deprecated
5454
@ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v4_0_0)

0 commit comments

Comments
 (0)