Skip to content

Commit 7653677

Browse files
committed
release 3.4.0
1 parent f680b86 commit 7653677

15 files changed

+31
-31
lines changed

README.md

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

7575
```kotlin
7676
plugins {
77-
id("com.apollographql.apollo3").version("3.3.2")
77+
id("com.apollographql.apollo3").version("3.4.0")
7878
}
7979
```
8080

8181
Add the runtime dependency:
8282

8383
```kotlin
8484
dependencies {
85-
implementation("com.apollographql.apollo3:apollo-runtime:3.3.2")
85+
implementation("com.apollographql.apollo3:apollo-runtime:3.4.0")
8686
}
8787
```
8888

@@ -157,21 +157,21 @@ Releases are hosted on [Maven Central](https://repo1.maven.org/maven2/com/apollo
157157

158158
```kotlin
159159
plugins {
160-
id("com.apollographql.apollo3").version("3.3.2")
160+
id("com.apollographql.apollo3").version("3.4.0")
161161
}
162162

163163
repositories {
164164
mavenCentral()
165165
}
166166

167167
dependencies {
168-
implementation("com.apollographql.apollo3:apollo-runtime:3.3.2")
168+
implementation("com.apollographql.apollo3:apollo-runtime:3.4.0")
169169

170170
// optional: if you want to use the normalized cache
171-
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.3.2")
171+
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.4.0")
172172
// optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
173173
// and use apollo-api instead
174-
implementation("com.apollographql.apollo3:apollo-api:3.3.2")
174+
implementation("com.apollographql.apollo3:apollo-api:3.4.0")
175175
}
176176
```
177177

@@ -201,7 +201,7 @@ pluginManagement {
201201
}
202202
}
203203
```
204-
And then use the `3.3.3-SNAPSHOT` version for the plugin and libraries.
204+
And then use the `3.4.1-SNAPSHOT` version for the plugin and libraries.
205205

206206
## Requirements
207207

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

docs/source/advanced/multi-modules.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ And declare your schema module as a dependency of your feature module:
2525
```kotlin
2626
// feature/build.gradle.kts
2727
dependencies {
28-
implementation("com.apollographql.apollo3:apollo-runtime:3.3.2")
28+
implementation("com.apollographql.apollo3:apollo-runtime:3.4.0")
2929
// more regular dependencies
3030

3131
// Apollo dependencies

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.apollo3:apollo-runtime` dependency and replace it with:
88

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

1313
## Composing an HTTP request body

docs/source/advanced/rxjava.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ dependencies {
1111
// ...
1212

1313
// For RxJava 2
14-
implementation("com.apollographql.apollo3:apollo-rx2-support:3.3.2")
14+
implementation("com.apollographql.apollo3:apollo-rx2-support:3.4.0")
1515

1616
// For RxJava 3
17-
implementation("com.apollographql.apollo3:apollo-rx3-support:3.3.2")
17+
implementation("com.apollographql.apollo3:apollo-rx3-support:3.4.0")
1818
}
1919
```
2020

docs/source/caching/http-cache.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To enable HTTP cache support, add the dependency to your project's `build.gradle
1313

1414
```kotlin title="build.gradle[.kts]"
1515
dependencies {
16-
implementation("com.apollographql.apollo3:apollo-http-cache:3.3.2")
16+
implementation("com.apollographql.apollo3:apollo-http-cache:3.4.0")
1717
}
1818
```
1919

docs/source/caching/normalized-cache.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Apollo Kotlin's `MemoryCache` is a normalized, in-memory cache for storing objec
7070

7171
```kotlin title="build.gradle[.kts]"
7272
dependencies {
73-
implementation("com.apollographql.apollo3:apollo-normalized-cache:3.3.2")
73+
implementation("com.apollographql.apollo3:apollo-normalized-cache:3.4.0")
7474
}
7575
```
7676

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

107107
```kotlin title="build.gradle.kts"
108108
dependencies {
109-
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.3.2")
109+
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.4.0")
110110
}
111111
```
112112

docs/source/essentials/custom-scalars.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ For example, to use `DateAdapter`, configure your Gradle scripts like so:
144144

145145
```kotlin title="build.gradle[.kts]"
146146
dependencies {
147-
implementation("com.apollographql.apollo3:apollo-adapters:3.3.2")
147+
implementation("com.apollographql.apollo3:apollo-adapters:3.4.0")
148148
}
149149

150150
apollo {

docs/source/index.md

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

6868
```kotlin
6969
plugins {
70-
id("com.apollographql.apollo3").version("3.3.2")
70+
id("com.apollographql.apollo3").version("3.4.0")
7171
}
7272
```
7373

7474
Add the runtime dependency:
7575

7676
```kotlin
7777
dependencies {
78-
implementation("com.apollographql.apollo3:apollo-runtime:3.3.2")
78+
implementation("com.apollographql.apollo3:apollo-runtime:3.4.0")
7979
}
8080
```
8181

@@ -163,21 +163,21 @@ Releases are hosted on [Maven Central](https://repo1.maven.org/maven2/com/apollo
163163

164164
```kotlin
165165
plugins {
166-
id("com.apollographql.apollo3").version("3.3.2")
166+
id("com.apollographql.apollo3").version("3.4.0")
167167
}
168168

169169
repositories {
170170
mavenCentral()
171171
}
172172

173173
dependencies {
174-
implementation("com.apollographql.apollo3:apollo-runtime:3.3.2")
174+
implementation("com.apollographql.apollo3:apollo-runtime:3.4.0")
175175

176176
// optional: if you want to use the normalized cache
177-
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.3.2")
177+
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.4.0")
178178
// optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
179179
// and use apollo-api instead
180-
implementation("com.apollographql.apollo3:apollo-api:3.3.2")
180+
implementation("com.apollographql.apollo3:apollo-api:3.4.0")
181181
}
182182
```
183183

@@ -207,7 +207,7 @@ pluginManagement {
207207
}
208208
}
209209
```
210-
And then use the `3.3.3-SNAPSHOT` version for the plugin and libraries.
210+
And then use the `3.4.1-SNAPSHOT` version for the plugin and libraries.
211211

212212
## Contributing
213213

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Add the dependency to your project's `build.gradle` file:
1010

1111
```kotlin title="build.gradle[.kts]"
1212
dependencies {
13-
testImplementation("com.apollographql.apollo3:apollo-testing-support:3.3.2")
13+
testImplementation("com.apollographql.apollo3:apollo-testing-support:3.4.0")
1414
}
1515

1616
// Also add jcenter() to your repositories

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Add the dependency to your project's `build.gradle` file:
1212

1313
```kotlin title="build.gradle[.kts]"
1414
dependencies {
15-
testImplementation("com.apollographql.apollo3:apollo-mockserver:3.3.2")
15+
testImplementation("com.apollographql.apollo3:apollo-mockserver:3.4.0")
1616
}
1717
```
1818

docs/source/testing/ui-tests.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Apollo Kotlin provides a built-in [`IdlingResource`](https://developer.android.c
77
Add the `apollo-idling-resource` dependency:
88

99
```kotlin title="build.gradle[.kts]"
10-
implementation("com.apollographql.apollo3:apollo-idling-resource:3.3.2")
10+
implementation("com.apollographql.apollo3:apollo-idling-resource:3.4.0")
1111
```
1212

1313
> If you have multiple `ApolloClient`s, you need to create and register a different `ApolloIdlingResource` with a different name for each. Registering multiple `IdlingResource`s with the same name will cause your test suite to crash.

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Now you will add Apollo Kotlin to the project.
3636

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

39-
This tutorial uses `3.3.2` because it is the latest version at the time of writing. Feel free to use a more recent version if one is available.
39+
This tutorial uses `3.4.0` because it is the latest version at the time of writing. Feel free to use a more recent version if one is available.
4040

4141
## Apply the plugin
4242

@@ -46,7 +46,7 @@ Apply the Apollo plugin in `app/build.gradle.kts`. There are two `build.gradle.k
4646
plugins {
4747
id("com.android.application")
4848
// ...
49-
id("com.apollographql.apollo3").version("3.3.2")
49+
id("com.apollographql.apollo3").version("3.4.0")
5050
}
5151
```
5252

@@ -69,7 +69,7 @@ Now add `apollo-runtime` to the list of dependencies. This is the actual code th
6969
```groovy title="app/build.gradle.kts"
7070
dependencies {
7171
// ...
72-
implementation("com.apollographql.apollo3:apollo-runtime:3.3.2")
72+
implementation("com.apollographql.apollo3:apollo-runtime:3.4.0")
7373
}
7474
```
7575

gradle.properties

+1-1
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.apollo3
3-
VERSION_NAME=3.3.3-SNAPSHOT
3+
VERSION_NAME=3.4.0
44

55
POM_URL=https://github.com/apollographql/apollo-kotlin/
66
POM_SCM_URL=https://github.com/apollographql/apollo-kotlin/

gradle/dependencies.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def versions = [
33
androidPluginMin : '3.4.2',
44
androidxSqlite : '2.1.0',
55
antlr4 : '4.9.3',
6-
apollo : '3.3.3-SNAPSHOT', // This is used by the gradle integration tests to get the artifacts locally
6+
apollo : '3.4.0', // This is used by the gradle integration tests to get the artifacts locally
77
cache : '2.0.2',
88
guava : '28.0-jre',
99
javaPoet : '1.13.0',

0 commit comments

Comments
 (0)