Skip to content

Commit f9df2fc

Browse files
authored
release 4.1.0 (#6234)
1 parent 02ce1ea commit f9df2fc

File tree

14 files changed

+34
-34
lines changed

14 files changed

+34
-34
lines changed

docs/source/advanced/apollo-ast.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add the `apollo-ast` dependency to your project:
2121
dependencies {
2222
// ...
2323

24-
implementation("com.apollographql.apollo:apollo-ast:4.0.1")
24+
implementation("com.apollographql.apollo:apollo-ast:4.1.0")
2525
}
2626
```
2727

docs/source/advanced/compiler-plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ plugins {
3333

3434
dependencies {
3535
// Add apollo-compiler as a dependency
36-
implementation("com.apollographql.apollo:apollo-compiler:4.0.1")
36+
implementation("com.apollographql.apollo:apollo-compiler:4.1.0")
3737
}
3838
```
3939

docs/source/advanced/no-runtime.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Using the models without apollo-runtime
77
For this, remove the `com.apollographql.apollo:apollo-runtime` dependency and replace it with:
88

99
```kotlin title="build.gradle"
10-
implementation("com.apollographql.apollo:apollo-api:4.0.1")
10+
implementation("com.apollographql.apollo:apollo-api:4.1.0")
1111
```
1212

1313
## Composing an HTTP request body

docs/source/caching/http-cache.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To enable HTTP cache support, add the dependency to your project's `build.gradle
1717

1818
```kotlin title="build.gradle[.kts]"
1919
dependencies {
20-
implementation("com.apollographql.apollo:apollo-http-cache:4.0.1")
20+
implementation("com.apollographql.apollo:apollo-http-cache:4.1.0")
2121
}
2222
```
2323

docs/source/caching/normalized-cache.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Apollo Kotlin's `MemoryCache` is a normalized, in-memory cache for storing objec
7474

7575
```kotlin title="build.gradle[.kts]"
7676
dependencies {
77-
implementation("com.apollographql.apollo:apollo-normalized-cache:4.0.1")
77+
implementation("com.apollographql.apollo:apollo-normalized-cache:4.1.0")
7878
}
7979
```
8080

@@ -110,7 +110,7 @@ To enable SQLite cache support, add the `apollo-normalized-cache-sqlite` depende
110110

111111
```kotlin title="build.gradle.kts"
112112
dependencies {
113-
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.0.1")
113+
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.0")
114114
}
115115
```
116116

docs/source/index.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ Add the plugin to your `build.gradle.kts`:
3939

4040
```kotlin
4141
plugins {
42-
id("com.apollographql.apollo") version "4.0.1"
42+
id("com.apollographql.apollo") version "4.1.0"
4343
}
4444
```
4545

4646
Add the runtime dependency:
4747

4848
```kotlin
4949
dependencies {
50-
implementation("com.apollographql.apollo:apollo-runtime:4.0.1")
50+
implementation("com.apollographql.apollo:apollo-runtime:4.1.0")
5151
}
5252
```
5353

@@ -164,29 +164,29 @@ Installation instructions and more information can be found [here](/kotlin/testi
164164

165165
## Releases
166166

167-
The latest version is `4.0.1`.
167+
The latest version is `4.1.0`.
168168

169169
Check the [changelog](https://github.com/apollographql/apollo-kotlin/releases) for the release history.
170170

171171
Releases are hosted on [Maven Central](https://repo1.maven.org/maven2/com/apollographql/apollo/). The plugin is additionally hosted on the [Gradle Plugin Portal](https://plugins.gradle.org/plugin/com.apollographql.apollo)
172172

173173
```kotlin
174174
plugins {
175-
id("com.apollographql.apollo") version "4.0.1"
175+
id("com.apollographql.apollo") version "4.1.0"
176176
}
177177

178178
repositories {
179179
mavenCentral()
180180
}
181181

182182
dependencies {
183-
implementation("com.apollographql.apollo:apollo-runtime:4.0.1")
183+
implementation("com.apollographql.apollo:apollo-runtime:4.1.0")
184184

185185
// Optional: if you want to use the normalized cache
186-
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.0.1")
186+
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.0")
187187
// Optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
188188
// and use apollo-api instead
189-
implementation("com.apollographql.apollo:apollo-api:4.0.1")
189+
implementation("com.apollographql.apollo:apollo-api:4.1.0")
190190
}
191191
```
192192

docs/source/testing/apollo-debug-server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies {
1717
// ...
1818

1919
// For security, add the dependency to your debug builds only
20-
debugImplementation("com.apollographql.apollo:apollo-debug-server:4.0.1")
20+
debugImplementation("com.apollographql.apollo:apollo-debug-server:4.1.0")
2121
}
2222
```
2323

docs/source/testing/mocking-graphql-responses.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Add the dependency to your project's `build.gradle` file:
1414

1515
```kotlin title="build.gradle[.kts]"
1616
dependencies {
17-
testImplementation("com.apollographql.apollo:apollo-testing-support:4.0.1")
17+
testImplementation("com.apollographql.apollo:apollo-testing-support:4.1.0")
1818
}
1919
```
2020

docs/source/tutorial/01-configure-project.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Go to `Android Studio` -> `Setting...` -> `Plugins`. In the "Marketplace" tab, s
4343

4444
You can find the latest version of Apollo Kotlin from the [GitHub releases page](https://github.com/apollographql/apollo-kotlin/releases). It is also displayed at the top of the [apollo-kotlin repo](https://github.com/apollographql/apollo-kotlin/).
4545

46-
This tutorial uses `4.0.1` because it is the latest version at the time of writing. Feel free to use a more recent version if one is available.
46+
This tutorial uses `4.1.0` because it is the latest version at the time of writing. Feel free to use a more recent version if one is available.
4747

4848
## Apply the plugin
4949

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Publishing defaults, could ultimately be moved to build scripts
22
GROUP=com.apollographql.apollo
3-
VERSION_NAME=4.0.2-SNAPSHOT
3+
VERSION_NAME=4.1.0
44

55
POM_URL=https://github.com/apollographql/apollo-kotlin/
66
POM_SCM_URL=https://github.com/apollographql/apollo-kotlin/
@@ -30,4 +30,4 @@ org.gradle.parallel=true
3030

3131
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
3232
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
33-
org.jetbrains.dokka.gradle.enableLogHtmlPublicationLink=false
33+
org.jetbrains.dokka.gradle.enableLogHtmlPublicationLink=false

gradle/libraries.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ android-sdkversion-benchmark-min = "24"
1414
android-sdkversion-target = "30"
1515
androidx-sqlite = "2.3.1"
1616
# This is used by the gradle integration tests to get the artifacts locally
17-
apollo = "4.0.2-SNAPSHOT"
17+
apollo = "4.1.0"
1818
apollo-execution = "0.1.0"
1919
apollo-normalizedcache-incubating = "0.0.3"
2020
apollo-normalizedcache-incubating-snapshot = "0.0.4-SNAPSHOT"

intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/refactoring/migration/v3tov4/ApolloV3ToV4MigrationProcessor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import com.intellij.openapi.project.Project
3434
*/
3535
class ApolloV3ToV4MigrationProcessor(project: Project) : ApolloMigrationRefactoringProcessor(project) {
3636
companion object {
37-
const val apollo4LatestVersion = "4.0.1"
37+
const val apollo4LatestVersion = "4.1.0"
3838
}
3939

4040
override val refactoringName = ApolloBundle.message("ApolloV3ToV4MigrationProcessor.title")
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[versions]
22
# gradlePlugin versions
33
androidBuildTools = "7.2.1"
4-
apollo = "4.0.1"
4+
apollo = "4.1.0"
55

66
[libraries]
77
accompanist-insets = { module = "com.google.accompanist:accompanist-insets", version.ref = "accompanist" }
8-
apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.0.1"
9-
apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.0.1" }
8+
apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.1.0"
9+
apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.1.0" }
1010
apollo-runtime-medium-ref = { module = "com.apollographql.apollo:apollo-runtime", version.ref = "apollo" }
11-
apollo-runtime-long-version = { group = "com.apollographql.apollo", name = "apollo-runtime", version = "4.0.1" }
11+
apollo-runtime-long-version = { group = "com.apollographql.apollo", name = "apollo-runtime", version = "4.1.0" }
1212
apollo-runtime-long-ref = { group = "com.apollographql.apollo", name = "apollo-runtime", version.ref = "apollo" }
1313

1414
[plugins]
15-
apollo-shortNotation = "com.apollographql.apollo:4.0.1"
15+
apollo-shortNotation = "com.apollographql.apollo:4.1.0"
1616
apollo-longNotation = { id = "com.apollographql.apollo", version.ref = "apollo" }
17-
apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.0.1" }
17+
apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.1.0" }
1818
apollo-shortNotationNoVersion = "com.apollographql.apollo"
1919
apollo-longNotationNoVersion = { id = "com.apollographql.apollo" }

intellij-plugin/src/test/testData/migration/v3-to-v4/upgradeGradlePluginInBuildGradleKts_after.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ plugins {
22
java
33
kotlin("jvm") version "1.6.10"
44
id("com.apollographql.apollo")
5-
id("com.apollographql.apollo") version "4.0.1"
6-
id("com.apollographql.apollo") version "4.0.1" apply false
7-
// TODO: Update version to 4.0.1
5+
id("com.apollographql.apollo") version "4.1.0"
6+
id("com.apollographql.apollo") version "4.1.0" apply false
7+
// TODO: Update version to 4.1.0
88
id("com.apollographql.apollo") version someClass.someConstant
9-
// TODO: Update version to 4.0.1
9+
// TODO: Update version to 4.1.0
1010
id("com.apollographql.apollo") version "${someClass.someConstant}"
11-
id("com.apollographql.apollo") version "4.0.1"
12-
id("com.apollographql.apollo") version "4.0.1" apply false
13-
// TODO: Update version to 4.0.1
11+
id("com.apollographql.apollo") version "4.1.0"
12+
id("com.apollographql.apollo") version "4.1.0" apply false
13+
// TODO: Update version to 4.1.0
1414
id("com.apollographql.apollo") version someClass.someConstant
15-
// TODO: Update version to 4.0.1
15+
// TODO: Update version to 4.1.0
1616
id("com.apollographql.apollo") version "${someClass.someConstant}"
1717
}

0 commit comments

Comments
 (0)