Skip to content

Commit

Permalink
release 4.0.0-dev.2 (#4850)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Apr 6, 2023
1 parent 752e8cb commit 7241fb5
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -91,7 +91,7 @@ Add the runtime dependency:

```kotlin
dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.2")
}
```

Expand Down Expand Up @@ -188,13 +188,13 @@ repositories {
}

dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.2")

// optional: if you want to use the normalized cache
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:4.0.0-dev.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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-api:4.0.0-dev.2")
}
```

Expand Down Expand Up @@ -225,7 +225,7 @@ pluginManagement {
}
```

And then use the `4.0.0-dev.2-SNAPSHOT` version for the plugin and libraries.
And then use the `4.0.0-dev.3-SNAPSHOT` version for the plugin and libraries.

## Deprecation policy

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

implementation("com.apollographql.apollo3:apollo-ast:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-ast:4.0.0-dev.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/advanced/no-runtime.mdx
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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-api:4.0.0-dev.2")
```

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

// For RxJava 2
implementation("com.apollographql.apollo3:apollo-rx2-support:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-rx2-support:4.0.0-dev.2")

// For RxJava 3
implementation("com.apollographql.apollo3:apollo-rx3-support:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-rx3-support:4.0.0-dev.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/caching/http-cache.mdx
Expand Up @@ -13,7 +13,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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-http-cache:4.0.0-dev.2")
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/source/caching/normalized-cache.mdx
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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache:4.0.0-dev.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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:4.0.0-dev.2")
}
```

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

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

apollo {
Expand Down
10 changes: 5 additions & 5 deletions docs/source/index.md
Expand Up @@ -76,7 +76,7 @@ Add the runtime dependency:

```kotlin
dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.2")
}
```

Expand Down Expand Up @@ -174,13 +174,13 @@ repositories {
}

dependencies {
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.2")

// optional: if you want to use the normalized cache
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:4.0.0-dev.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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-api:4.0.0-dev.2")
}
```

Expand Down Expand Up @@ -210,7 +210,7 @@ pluginManagement {
}
}
```
And then use the `4.0.0-dev.2-SNAPSHOT` version for the plugin and libraries.
And then use the `4.0.0-dev.3-SNAPSHOT` version for the plugin and libraries.

## Deprecation policy

Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing/mocking-graphql-responses.mdx
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:4.0.0-dev.1")
testImplementation("com.apollographql.apollo3:apollo-testing-support:4.0.0-dev.2")
}

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing/ui-tests.mdx
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:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-idling-resource:4.0.0-dev.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
4 changes: 2 additions & 2 deletions docs/source/tutorial/01-configure-project.mdx
Expand Up @@ -35,7 +35,7 @@ Now let's 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-kotlin/releases). It is also displayed at the top of the [apollo-kotlin repo](https://github.com/apollographql/apollo-kotlin/).

This tutorial uses `4.0.0-dev.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 `4.0.0-dev.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 Down Expand Up @@ -72,7 +72,7 @@ Now add `apollo-runtime` to the list of dependencies. This is the code that exec
```kotlin title="app/build.gradle.kts"
dependencies {
// ...
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.1")
implementation("com.apollographql.apollo3:apollo-runtime:4.0.0-dev.2")
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,6 +1,6 @@
# Publishing defaults, could ultimately be moved to build scripts
GROUP=com.apollographql.apollo3
VERSION_NAME=4.0.0-dev.2-SNAPSHOT
VERSION_NAME=4.0.0-dev.2

POM_URL=https://github.com/apollographql/apollo-kotlin/
POM_SCM_URL=https://github.com/apollographql/apollo-kotlin/
Expand Down
2 changes: 1 addition & 1 deletion gradle/libraries.toml
Expand Up @@ -8,7 +8,7 @@ android-sdkversion-target = "30"
androidx-sqlite = "2.3.1"
antlr = "4.12.0"
# This is used by the gradle integration tests to get the artifacts locally
apollo = "4.0.0-dev.2-SNAPSHOT"
apollo = "4.0.0-dev.2"
# Used by the apollo-tooling project which uses a published version of Apollo
apollo-published = "3.8.0"
cache = "2.0.2"
Expand Down

0 comments on commit 7241fb5

Please sign in to comment.