From d9c48a60fc8d54421fc700ea9eb378a8e1992e5c Mon Sep 17 00:00:00 2001 From: BoD Date: Wed, 18 Jun 2025 11:26:50 +0200 Subject: [PATCH] release 4.3.1 --- docs/source/advanced/apollo-ast.mdx | 2 +- docs/source/advanced/compiler-plugins.mdx | 2 +- docs/source/advanced/no-runtime.mdx | 2 +- docs/source/caching/http-cache.mdx | 2 +- docs/source/caching/normalized-cache.mdx | 4 ++-- docs/source/index.mdx | 14 +++++++------- docs/source/testing/apollo-debug-server.mdx | 2 +- .../source/testing/mocking-graphql-responses.mdx | 2 +- gradle.properties | 2 +- gradle/libraries.toml | 2 +- .../v3tov4/ApolloV3ToV4MigrationProcessor.kt | 2 +- ...denciesInLibsVersionsToml_after.versions.toml | 12 ++++++------ ...GradlePluginInBuildGradleKts_after.gradle.kts | 16 ++++++++-------- 13 files changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/source/advanced/apollo-ast.mdx b/docs/source/advanced/apollo-ast.mdx index 0ce8dc52760..62c6a83bfc4 100644 --- a/docs/source/advanced/apollo-ast.mdx +++ b/docs/source/advanced/apollo-ast.mdx @@ -21,7 +21,7 @@ Add the `apollo-ast` dependency to your project: dependencies { // ... - implementation("com.apollographql.apollo:apollo-ast:4.3.0") + implementation("com.apollographql.apollo:apollo-ast:4.3.1") } ``` diff --git a/docs/source/advanced/compiler-plugins.mdx b/docs/source/advanced/compiler-plugins.mdx index e06210dd776..7aa4ec2018d 100644 --- a/docs/source/advanced/compiler-plugins.mdx +++ b/docs/source/advanced/compiler-plugins.mdx @@ -33,7 +33,7 @@ plugins { dependencies { // Add apollo-compiler as a compileOnly dependency - compileOnly("com.apollographql.apollo:apollo-compiler:4.3.0") + compileOnly("com.apollographql.apollo:apollo-compiler:4.3.1") } ``` diff --git a/docs/source/advanced/no-runtime.mdx b/docs/source/advanced/no-runtime.mdx index 00dbe921114..567bdcdad3e 100644 --- a/docs/source/advanced/no-runtime.mdx +++ b/docs/source/advanced/no-runtime.mdx @@ -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.3.0") +implementation("com.apollographql.apollo:apollo-api:4.3.1") ``` ## Composing an HTTP request body diff --git a/docs/source/caching/http-cache.mdx b/docs/source/caching/http-cache.mdx index 92170075793..af5f481cd37 100644 --- a/docs/source/caching/http-cache.mdx +++ b/docs/source/caching/http-cache.mdx @@ -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.3.0") + implementation("com.apollographql.apollo:apollo-http-cache:4.3.1") } ``` diff --git a/docs/source/caching/normalized-cache.mdx b/docs/source/caching/normalized-cache.mdx index 109628b786a..6fbbea38a89 100644 --- a/docs/source/caching/normalized-cache.mdx +++ b/docs/source/caching/normalized-cache.mdx @@ -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.3.0") + implementation("com.apollographql.apollo:apollo-normalized-cache:4.3.1") } ``` @@ -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.3.0") + implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.3.1") } ``` diff --git a/docs/source/index.mdx b/docs/source/index.mdx index ca05218c5a9..b661272d87b 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -40,7 +40,7 @@ Add the plugin to your `build.gradle.kts`: ```kotlin plugins { - id("com.apollographql.apollo") version "4.3.0" + id("com.apollographql.apollo") version "4.3.1" } ``` @@ -48,7 +48,7 @@ Add the runtime dependency: ```kotlin dependencies { - implementation("com.apollographql.apollo:apollo-runtime:4.3.0") + implementation("com.apollographql.apollo:apollo-runtime:4.3.1") } ``` @@ -165,7 +165,7 @@ Installation instructions and more information can be found [here](/kotlin/testi ## Releases -The latest version is `4.3.0`. +The latest version is `4.3.1`. Check the [changelog](https://github.com/apollographql/apollo-kotlin/releases) for the release history. @@ -173,7 +173,7 @@ Releases are hosted on [Maven Central](https://repo1.maven.org/maven2/com/apollo ```kotlin plugins { - id("com.apollographql.apollo") version "4.3.0" + id("com.apollographql.apollo") version "4.3.1" } repositories { @@ -181,13 +181,13 @@ repositories { } dependencies { - implementation("com.apollographql.apollo:apollo-runtime:4.3.0") + implementation("com.apollographql.apollo:apollo-runtime:4.3.1") // Optional: if you want to use the normalized cache - implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.3.0") + implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.3.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.3.0") + implementation("com.apollographql.apollo:apollo-api:4.3.1") } ``` diff --git a/docs/source/testing/apollo-debug-server.mdx b/docs/source/testing/apollo-debug-server.mdx index b19e75a37bc..2f97f1c79ad 100644 --- a/docs/source/testing/apollo-debug-server.mdx +++ b/docs/source/testing/apollo-debug-server.mdx @@ -17,7 +17,7 @@ dependencies { // ... // For security, add the dependency to your debug builds only - debugImplementation("com.apollographql.apollo:apollo-debug-server:4.3.0") + debugImplementation("com.apollographql.apollo:apollo-debug-server:4.3.1") } ``` diff --git a/docs/source/testing/mocking-graphql-responses.mdx b/docs/source/testing/mocking-graphql-responses.mdx index 7d6c4d737cc..6bc11dcd8f8 100644 --- a/docs/source/testing/mocking-graphql-responses.mdx +++ b/docs/source/testing/mocking-graphql-responses.mdx @@ -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.3.0") + testImplementation("com.apollographql.apollo:apollo-testing-support:4.3.1") } ``` diff --git a/gradle.properties b/gradle.properties index 726103651d5..513c983e0d2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # Publishing defaults, could ultimately be moved to build scripts GROUP=com.apollographql.apollo -VERSION_NAME=4.3.1-SNAPSHOT +VERSION_NAME=4.3.1 POM_URL=https://github.com/apollographql/apollo-kotlin/ POM_SCM_URL=https://github.com/apollographql/apollo-kotlin/ diff --git a/gradle/libraries.toml b/gradle/libraries.toml index 2b67f43a5f1..004eddc89b0 100644 --- a/gradle/libraries.toml +++ b/gradle/libraries.toml @@ -15,7 +15,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.3.1-SNAPSHOT" +apollo = "4.3.1" apollo-execution = "0.1.0" apollo-normalizedcache-incubating = "0.0.8" # Used by the apollo-tooling project which uses a published version of Apollo diff --git a/intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/refactoring/migration/v3tov4/ApolloV3ToV4MigrationProcessor.kt b/intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/refactoring/migration/v3tov4/ApolloV3ToV4MigrationProcessor.kt index c558212d5e3..e1888d5cb0d 100644 --- a/intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/refactoring/migration/v3tov4/ApolloV3ToV4MigrationProcessor.kt +++ b/intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/refactoring/migration/v3tov4/ApolloV3ToV4MigrationProcessor.kt @@ -34,7 +34,7 @@ import com.intellij.openapi.project.Project */ class ApolloV3ToV4MigrationProcessor(project: Project) : ApolloMigrationRefactoringProcessor(project) { companion object { - const val apollo4LatestVersion = "4.3.0" + const val apollo4LatestVersion = "4.3.1" } override val refactoringName = ApolloBundle.message("ApolloV3ToV4MigrationProcessor.title") diff --git a/intellij-plugin/src/test/testData/migration/v3-to-v4/updateGradleDependenciesInLibsVersionsToml_after.versions.toml b/intellij-plugin/src/test/testData/migration/v3-to-v4/updateGradleDependenciesInLibsVersionsToml_after.versions.toml index af546ed8847..72c69eca0bc 100644 --- a/intellij-plugin/src/test/testData/migration/v3-to-v4/updateGradleDependenciesInLibsVersionsToml_after.versions.toml +++ b/intellij-plugin/src/test/testData/migration/v3-to-v4/updateGradleDependenciesInLibsVersionsToml_after.versions.toml @@ -1,19 +1,19 @@ [versions] # gradlePlugin versions androidBuildTools = "7.2.1" -apollo = "4.3.0" +apollo = "4.3.1" [libraries] accompanist-insets = { module = "com.google.accompanist:accompanist-insets", version.ref = "accompanist" } -apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.3.0" -apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.3.0" } +apollo-runtime-short = "com.apollographql.apollo:apollo-runtime:4.3.1" +apollo-runtime-medium-version = { module = "com.apollographql.apollo:apollo-runtime", version = "4.3.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.3.0" } +apollo-runtime-long-version = { group = "com.apollographql.apollo", name = "apollo-runtime", version = "4.3.1" } apollo-runtime-long-ref = { group = "com.apollographql.apollo", name = "apollo-runtime", version.ref = "apollo" } [plugins] -apollo-shortNotation = "com.apollographql.apollo:4.3.0" +apollo-shortNotation = "com.apollographql.apollo:4.3.1" apollo-longNotation = { id = "com.apollographql.apollo", version.ref = "apollo" } -apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.3.0" } +apollo-referenceNotation = { id = "com.apollographql.apollo", version = "4.3.1" } apollo-shortNotationNoVersion = "com.apollographql.apollo" apollo-longNotationNoVersion = { id = "com.apollographql.apollo" } diff --git a/intellij-plugin/src/test/testData/migration/v3-to-v4/upgradeGradlePluginInBuildGradleKts_after.gradle.kts b/intellij-plugin/src/test/testData/migration/v3-to-v4/upgradeGradlePluginInBuildGradleKts_after.gradle.kts index 450519a4063..62a03f9da91 100644 --- a/intellij-plugin/src/test/testData/migration/v3-to-v4/upgradeGradlePluginInBuildGradleKts_after.gradle.kts +++ b/intellij-plugin/src/test/testData/migration/v3-to-v4/upgradeGradlePluginInBuildGradleKts_after.gradle.kts @@ -2,16 +2,16 @@ plugins { java kotlin("jvm") version "1.6.10" id("com.apollographql.apollo") - id("com.apollographql.apollo") version "4.3.0" - id("com.apollographql.apollo") version "4.3.0" apply false - // TODO: Update version to 4.3.0 + id("com.apollographql.apollo") version "4.3.1" + id("com.apollographql.apollo") version "4.3.1" apply false + // TODO: Update version to 4.3.1 id("com.apollographql.apollo") version someClass.someConstant - // TODO: Update version to 4.3.0 + // TODO: Update version to 4.3.1 id("com.apollographql.apollo") version "${someClass.someConstant}" - id("com.apollographql.apollo") version "4.3.0" - id("com.apollographql.apollo") version "4.3.0" apply false - // TODO: Update version to 4.3.0 + id("com.apollographql.apollo") version "4.3.1" + id("com.apollographql.apollo") version "4.3.1" apply false + // TODO: Update version to 4.3.1 id("com.apollographql.apollo") version someClass.someConstant - // TODO: Update version to 4.3.0 + // TODO: Update version to 4.3.1 id("com.apollographql.apollo") version "${someClass.someConstant}" }