Skip to content

Commit 9e2444b

Browse files
authored
release 4.1.1 (#6365)
1 parent 022962b commit 9e2444b

14 files changed

+34
-34
lines changed

docs/source/advanced/apollo-ast.mdx

+1-1
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.1.0")
24+
implementation("com.apollographql.apollo:apollo-ast:4.1.1")
2525
}
2626
```
2727

docs/source/advanced/compiler-plugins.mdx

+1-1
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.1.0")
36+
implementation("com.apollographql.apollo:apollo-compiler:4.1.1")
3737
}
3838
```
3939

docs/source/advanced/no-runtime.mdx

+1-1
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.1.0")
10+
implementation("com.apollographql.apollo:apollo-api:4.1.1")
1111
```
1212

1313
## Composing an HTTP request body

docs/source/caching/http-cache.mdx

+1-1
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.1.0")
20+
implementation("com.apollographql.apollo:apollo-http-cache:4.1.1")
2121
}
2222
```
2323

docs/source/caching/normalized-cache.mdx

+2-2
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.1.0")
77+
implementation("com.apollographql.apollo:apollo-normalized-cache:4.1.1")
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.1.0")
113+
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.1")
114114
}
115115
```
116116

docs/source/index.mdx

+7-7
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ Add the plugin to your `build.gradle.kts`:
4040

4141
```kotlin
4242
plugins {
43-
id("com.apollographql.apollo") version "4.1.0"
43+
id("com.apollographql.apollo") version "4.1.1"
4444
}
4545
```
4646

4747
Add the runtime dependency:
4848

4949
```kotlin
5050
dependencies {
51-
implementation("com.apollographql.apollo:apollo-runtime:4.1.0")
51+
implementation("com.apollographql.apollo:apollo-runtime:4.1.1")
5252
}
5353
```
5454

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

166166
## Releases
167167

168-
The latest version is `4.1.0`.
168+
The latest version is `4.1.1`.
169169

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

172172
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)
173173

174174
```kotlin
175175
plugins {
176-
id("com.apollographql.apollo") version "4.1.0"
176+
id("com.apollographql.apollo") version "4.1.1"
177177
}
178178

179179
repositories {
180180
mavenCentral()
181181
}
182182

183183
dependencies {
184-
implementation("com.apollographql.apollo:apollo-runtime:4.1.0")
184+
implementation("com.apollographql.apollo:apollo-runtime:4.1.1")
185185

186186
// Optional: if you want to use the normalized cache
187-
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.0")
187+
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.1")
188188
// Optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
189189
// and use apollo-api instead
190-
implementation("com.apollographql.apollo:apollo-api:4.1.0")
190+
implementation("com.apollographql.apollo:apollo-api:4.1.1")
191191
}
192192
```
193193

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

+1-1
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.1.0")
20+
debugImplementation("com.apollographql.apollo:apollo-debug-server:4.1.1")
2121
}
2222
```
2323

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

+1-1
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.1.0")
17+
testImplementation("com.apollographql.apollo:apollo-testing-support:4.1.1")
1818
}
1919
```
2020

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

+1-1
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.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.
46+
This tutorial uses `4.1.1` 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

+2-2
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.1.1-SNAPSHOT
3+
VERSION_NAME=4.1.1
44

55
POM_URL=https://github.com/apollographql/apollo-kotlin/
66
POM_SCM_URL=https://github.com/apollographql/apollo-kotlin/
@@ -28,4 +28,4 @@ org.jetbrains.dokka.gradle.enableLogHtmlPublicationLink=false
2828

2929
ksp.useKSP2=true
3030
org.jetbrains.dokka.experimental.tryK2=true
31-
org.jetbrains.dokka.experimental.tryK2.nowarn=true
31+
org.jetbrains.dokka.experimental.tryK2.nowarn=true

gradle/libraries.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ android-sdkversion-benchmark-min = "24"
1515
android-sdkversion-target = "30"
1616
androidx-sqlite = "2.3.1"
1717
# This is used by the gradle integration tests to get the artifacts locally
18-
apollo = "4.1.1-SNAPSHOT"
18+
apollo = "4.1.1"
1919
apollo-execution = "0.1.0"
2020
apollo-normalizedcache-incubating = "0.0.3"
2121
apollo-normalizedcache-incubating-snapshot = "0.0.5-SNAPSHOT"

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

+1-1
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.1.0"
37+
const val apollo4LatestVersion = "4.1.1"
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.1.0"
4+
apollo = "4.1.1"
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.1.0"
9-
apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.1.0" }
8+
apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.1.1"
9+
apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.1.1" }
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.1.0" }
11+
apollo-runtime-long-version = { group = "com.apollographql.apollo", name = "apollo-runtime", version = "4.1.1" }
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.1.0"
15+
apollo-shortNotation = "com.apollographql.apollo:4.1.1"
1616
apollo-longNotation = { id = "com.apollographql.apollo", version.ref = "apollo" }
17-
apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.1.0" }
17+
apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.1.1" }
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

+8-8
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.1.0"
6-
id("com.apollographql.apollo") version "4.1.0" apply false
7-
// TODO: Update version to 4.1.0
5+
id("com.apollographql.apollo") version "4.1.1"
6+
id("com.apollographql.apollo") version "4.1.1" apply false
7+
// TODO: Update version to 4.1.1
88
id("com.apollographql.apollo") version someClass.someConstant
9-
// TODO: Update version to 4.1.0
9+
// TODO: Update version to 4.1.1
1010
id("com.apollographql.apollo") version "${someClass.someConstant}"
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
11+
id("com.apollographql.apollo") version "4.1.1"
12+
id("com.apollographql.apollo") version "4.1.1" apply false
13+
// TODO: Update version to 4.1.1
1414
id("com.apollographql.apollo") version someClass.someConstant
15-
// TODO: Update version to 4.1.0
15+
// TODO: Update version to 4.1.1
1616
id("com.apollographql.apollo") version "${someClass.someConstant}"
1717
}

0 commit comments

Comments
 (0)