Skip to content

Commit

Permalink
release 4.0.1 (#6171)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD authored Oct 1, 2024
1 parent 198480d commit 6c7f794
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
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.apollo:apollo-ast:4.0.0")
implementation("com.apollographql.apollo:apollo-ast:4.0.1")
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/source/advanced/compiler-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ plugins {

dependencies {
// Add apollo-compiler as a dependency
implementation("com.apollographql.apollo:apollo-compiler:4.0.0")
implementation("com.apollographql.apollo:apollo-compiler:4.0.1")
}
```

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

```kotlin title="build.gradle"
implementation("com.apollographql.apollo:apollo-api:4.0.0")
implementation("com.apollographql.apollo:apollo-api:4.0.1")
```

## Composing an HTTP request body
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 @@ -17,7 +17,7 @@ To enable HTTP cache support, add the dependency to your project's `build.gradle

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

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 @@ -74,7 +74,7 @@ Apollo Kotlin's `MemoryCache` is a normalized, in-memory cache for storing objec

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

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

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

Expand Down
16 changes: 8 additions & 8 deletions docs/source/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ Add the plugin to your `build.gradle.kts`:

```kotlin
plugins {
id("com.apollographql.apollo") version "4.0.0"
id("com.apollographql.apollo") version "4.0.1"
}
```

Add the runtime dependency:

```kotlin
dependencies {
implementation("com.apollographql.apollo:apollo-runtime:4.0.0")
implementation("com.apollographql.apollo:apollo-runtime:4.0.1")
}
```

Expand Down Expand Up @@ -164,29 +164,29 @@ Installation instructions and more information can be found [here](testing/andro

## Releases

The latest version is `4.0.0`.
The latest version is `4.0.1`.

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

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)

```kotlin
plugins {
id("com.apollographql.apollo") version "4.0.0"
id("com.apollographql.apollo") version "4.0.1"
}

repositories {
mavenCentral()
}

dependencies {
implementation("com.apollographql.apollo:apollo-runtime:4.0.0")
implementation("com.apollographql.apollo:apollo-runtime:4.0.1")

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

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

And then use the `4.0.1-SNAPSHOT` version for the plugin and libraries.
And then use the `4.0.2-SNAPSHOT` version for the plugin and libraries.

These snapshots are updated on each push to `main`.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing/apollo-debug-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {
// ...

// For security, add the dependency to your debug builds only
debugImplementation("com.apollographql.apollo:apollo-debug-server:4.0.0")
debugImplementation("com.apollographql.apollo:apollo-debug-server:4.0.1")
}
```

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 @@ -14,7 +14,7 @@ Add the dependency to your project's `build.gradle` file:

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

Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorial/01-configure-project.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Go to `Android Studio` -> `Setting...` -> `Plugins`. In the "Marketplace" tab, s

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` 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.1` 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
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.apollo
VERSION_NAME=4.0.1-SNAPSHOT
VERSION_NAME=4.0.1

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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android-sdkversion-benchmark-min = "24"
android-sdkversion-target = "30"
androidx-sqlite = "2.3.1"
# This is used by the gradle integration tests to get the artifacts locally
apollo = "4.0.1-SNAPSHOT"
apollo = "4.0.1"
apollo-execution = "0.0.3"
apollo-normalizedcache-incubating-snapshot = "0.0.3-SNAPSHOT"
# Used by the apollo-tooling project which uses a published version of Apollo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import com.intellij.openapi.project.Project
*/
class ApolloV3ToV4MigrationProcessor(project: Project) : ApolloMigrationRefactoringProcessor(project) {
companion object {
const val apollo4LatestVersion = "4.0.0"
const val apollo4LatestVersion = "4.0.1"
}

override val refactoringName = ApolloBundle.message("ApolloV3ToV4MigrationProcessor.title")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[versions]
# gradlePlugin versions
androidBuildTools = "7.2.1"
apollo = "4.0.0"
apollo = "4.0.1"

[libraries]
accompanist-insets = { module = "com.google.accompanist:accompanist-insets", version.ref = "accompanist" }
apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.0.0"
apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.0.0" }
apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.0.1"
apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.0.1" }
apollo-runtime-medium-ref = { module = "com.apollographql.apollo:apollo-runtime", version.ref = "apollo" }
apollo-runtime-long-version = { group = "com.apollographql.apollo", name = "apollo-runtime", version = "4.0.0" }
apollo-runtime-long-version = { group = "com.apollographql.apollo", name = "apollo-runtime", version = "4.0.1" }
apollo-runtime-long-ref = { group = "com.apollographql.apollo", name = "apollo-runtime", version.ref = "apollo" }

[plugins]
apollo-shortNotation = "com.apollographql.apollo:4.0.0"
apollo-shortNotation = "com.apollographql.apollo:4.0.1"
apollo-longNotation = { id = "com.apollographql.apollo", version.ref = "apollo" }
apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.0.0" }
apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.0.1" }
apollo-shortNotationNoVersion = "com.apollographql.apollo"
apollo-longNotationNoVersion = { id = "com.apollographql.apollo" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ plugins {
java
kotlin("jvm") version "1.6.10"
id("com.apollographql.apollo")
id("com.apollographql.apollo") version "4.0.0"
id("com.apollographql.apollo") version "4.0.0" apply false
// TODO: Update version to 4.0.0
id("com.apollographql.apollo") version "4.0.1"
id("com.apollographql.apollo") version "4.0.1" apply false
// TODO: Update version to 4.0.1
id("com.apollographql.apollo") version someClass.someConstant
// TODO: Update version to 4.0.0
// TODO: Update version to 4.0.1
id("com.apollographql.apollo") version "${someClass.someConstant}"
id("com.apollographql.apollo") version "4.0.0"
id("com.apollographql.apollo") version "4.0.0" apply false
// TODO: Update version to 4.0.0
id("com.apollographql.apollo") version "4.0.1"
id("com.apollographql.apollo") version "4.0.1" apply false
// TODO: Update version to 4.0.1
id("com.apollographql.apollo") version someClass.someConstant
// TODO: Update version to 4.0.0
// TODO: Update version to 4.0.1
id("com.apollographql.apollo") version "${someClass.someConstant}"
}

0 comments on commit 6c7f794

Please sign in to comment.