Skip to content

Commit

Permalink
release 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Apr 11, 2022
1 parent 1534372 commit 31fff7c
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 29 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ Add the plugin to your `build.gradle.kts`:

```kotlin
plugins {
id("com.apollographql.apollo3").version("3.2.1")
id("com.apollographql.apollo3").version("3.2.2")
}
```

Add the runtime dependency:

```kotlin
dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:3.2.1")
implementation("com.apollographql.apollo3:apollo-runtime:3.2.2")
}
```

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

```kotlin
plugins {
id("com.apollographql.apollo3").version("3.2.1")
id("com.apollographql.apollo3").version("3.2.2")
}

repositories {
mavenCentral()
}

dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:3.2.1")
implementation("com.apollographql.apollo3:apollo-runtime:3.2.2")

// optional: if you want to use the normalized cache
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.2.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.2.2")
// optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
// and use apollo-api instead
implementation("com.apollographql.apollo3:apollo-api:3.2.1")
implementation("com.apollographql.apollo3:apollo-api:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/advanced/apollo-ast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add the `apollo-ast` dependency to your project:
dependencies {
// ...

implementation("com.apollographql.apollo3:apollo-ast:3.2.1")
implementation("com.apollographql.apollo3:apollo-ast:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/advanced/multi-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ And declare your schema module as a dependency of your feature module:
```kotlin
// feature/build.gradle.kts
dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:3.2.1")
implementation("com.apollographql.apollo3:apollo-runtime:3.2.2")
// more regular dependencies

// Apollo dependencies
Expand Down
2 changes: 1 addition & 1 deletion docs/source/advanced/no-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Using the models without apollo-runtime
For this, remove the `com.apollographql.apollo3:apollo-runtime` dependency and replace it with:

```kotlin title="build.gradle"
implementation("com.apollographql.apollo3:apollo-api:3.2.1")
implementation("com.apollographql.apollo3:apollo-api:3.2.2")
```

## Composing an HTTP request body
Expand Down
4 changes: 2 additions & 2 deletions docs/source/advanced/rxjava.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ dependencies {
// ...

// For RxJava 2
implementation("com.apollographql.apollo3:apollo-rx2-support:3.2.1")
implementation("com.apollographql.apollo3:apollo-rx2-support:3.2.2")

// For RxJava 3
implementation("com.apollographql.apollo3:apollo-rx3-support:3.2.1")
implementation("com.apollographql.apollo3:apollo-rx3-support:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/caching/http-cache.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To enable HTTP cache support, add the dependency to your project's `build.gradle

```kotlin title="build.gradle[.kts]"
dependencies {
implementation("com.apollographql.apollo3:apollo-http-cache:3.2.1")
implementation("com.apollographql.apollo3:apollo-http-cache:3.2.2")
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/source/caching/normalized-cache.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Apollo Kotlin's `MemoryCache` is a normalized, in-memory cache for storing objec

```kotlin title="build.gradle[.kts]"
dependencies {
implementation("com.apollographql.apollo3:apollo-normalized-cache:3.2.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache:3.2.2")
}
```

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

```kotlin title="build.gradle.kts"
dependencies {
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.2.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/essentials/custom-scalars.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ For example, to use `DateAdapter`, configure your Gradle scripts like so:

```kotlin title="build.gradle[.kts]"
dependencies {
implementation("com.apollographql.apollo3:apollo-adapters:3.2.1")
implementation("com.apollographql.apollo3:apollo-adapters:3.2.2")
}

apollo {
Expand Down
12 changes: 6 additions & 6 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ Add the plugin to your `build.gradle.kts`:

```kotlin
plugins {
id("com.apollographql.apollo3").version("3.2.1")
id("com.apollographql.apollo3").version("3.2.2")
}
```

Add the runtime dependency:

```kotlin
dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:3.2.1")
implementation("com.apollographql.apollo3:apollo-runtime:3.2.2")
}
```

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

```kotlin
plugins {
id("com.apollographql.apollo3").version("3.2.1")
id("com.apollographql.apollo3").version("3.2.2")
}

repositories {
mavenCentral()
}

dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:3.2.1")
implementation("com.apollographql.apollo3:apollo-runtime:3.2.2")

// optional: if you want to use the normalized cache
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.2.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.2.2")
// optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
// and use apollo-api instead
implementation("com.apollographql.apollo3:apollo-api:3.2.1")
implementation("com.apollographql.apollo3:apollo-api:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing/mocking-graphql-responses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add the dependency to your project's `build.gradle` file:

```kotlin title="build.gradle[.kts]"
dependencies {
testImplementation("com.apollographql.apollo3:apollo-testing-support:3.2.1")
testImplementation("com.apollographql.apollo3:apollo-testing-support:3.2.2")
}

// Also add jcenter() to your repositories
Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing/mocking-http-responses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Add the dependency to your project's `build.gradle` file:

```kotlin title="build.gradle[.kts]"
dependencies {
testImplementation("com.apollographql.apollo3:apollo-mockserver:3.2.1")
testImplementation("com.apollographql.apollo3:apollo-mockserver:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing/ui-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Apollo Kotlin provides a built-in [`IdlingResource`](https://developer.android.c
Add the `apollo-idling-resource` dependency:

```kotlin title="build.gradle[.kts]"
implementation("com.apollographql.apollo3:apollo-idling-resource:3.2.1")
implementation("com.apollographql.apollo3:apollo-idling-resource:3.2.2")
```

> 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.
Expand Down
6 changes: 3 additions & 3 deletions docs/source/tutorial/01-configure-project.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Now you will add Apollo Kotlin to the project.

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/).

This tutorial uses `3.2.1` because it is the latest version at the time of writing. Feel free to use a more recent version if one is available.
This tutorial uses `3.2.2` because it is the latest version at the time of writing. Feel free to use a more recent version if one is available.

## Apply the plugin

Expand All @@ -42,7 +42,7 @@ Apply the Apollo plugin in `app/build.gradle.kts`. There are two `build.gradle.k
plugins {
id("com.android.application")
// ...
id("com.apollographql.apollo3").version("3.2.1")
id("com.apollographql.apollo3").version("3.2.2")
}
```

Expand All @@ -65,7 +65,7 @@ Now add `apollo-runtime` to the list of dependencies. This is the actual code th
```groovy title="app/build.gradle.kts"
dependencies {
// ...
implementation("com.apollographql.apollo3:apollo-runtime:3.2.1")
implementation("com.apollographql.apollo3:apollo-runtime:3.2.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Publishing defaults, could ultimately be moved to build scripts
GROUP=com.apollographql.apollo3
VERSION_NAME=3.2.2-SNAPSHOT
VERSION_NAME=3.2.2

POM_URL=https://github.com/apollographql/apollo-android/
POM_SCM_URL=https://github.com/apollographql/apollo-android/
Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ def versions = [
minAndroidPlugin : '3.4.2',
androidPlugin : '4.2.2',
androidxSqlite : '2.1.0',
apollo : '3.2.2-SNAPSHOT', // This is used by the gradle integration tests to get the artifacts locally
apollo : '3.2.2', // This is used by the gradle integration tests to get the artifacts locally
antlr4 : '4.9.3',
cache : '2.0.2',
guava : '28.0-jre',
Expand Down

0 comments on commit 31fff7c

Please sign in to comment.