From fd600f5b596aeca46c1a75d9f1e43c080ee39d16 Mon Sep 17 00:00:00 2001 From: BoD Date: Mon, 29 Apr 2024 18:34:27 +0200 Subject: [PATCH] release 3.8.4 --- README.md | 10 +++++----- docs/source/advanced/apollo-ast.mdx | 2 +- docs/source/advanced/multi-modules.mdx | 2 +- docs/source/advanced/no-runtime.mdx | 2 +- docs/source/advanced/rxjava.mdx | 4 ++-- docs/source/caching/http-cache.mdx | 2 +- docs/source/caching/normalized-cache.mdx | 4 ++-- docs/source/essentials/custom-scalars.mdx | 2 +- docs/source/index.md | 10 +++++----- docs/source/testing/mocking-graphql-responses.mdx | 2 +- docs/source/testing/mocking-http-responses.mdx | 2 +- docs/source/testing/ui-tests.mdx | 2 +- docs/source/tutorial/01-configure-project.mdx | 4 ++-- gradle.properties | 2 +- gradle/libraries.toml | 2 +- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 67df0d3580e..88aee52c9f0 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Add the runtime dependency: ```kotlin dependencies { - implementation("com.apollographql.apollo3:apollo-runtime:3.8.3") + implementation("com.apollographql.apollo3:apollo-runtime:3.8.4") } ``` @@ -171,13 +171,13 @@ repositories { } dependencies { - implementation("com.apollographql.apollo3:apollo-runtime:3.8.3") + implementation("com.apollographql.apollo3:apollo-runtime:3.8.4") // optional: if you want to use the normalized cache - implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.8.3") + implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.8.4") // 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.8.3") + implementation("com.apollographql.apollo3:apollo-api:3.8.4") } ``` @@ -208,7 +208,7 @@ pluginManagement { } ``` -And then use the `3.8.4-SNAPSHOT` version for the plugin and libraries. +And then use the `3.8.5-SNAPSHOT` version for the plugin and libraries. ## Requirements diff --git a/docs/source/advanced/apollo-ast.mdx b/docs/source/advanced/apollo-ast.mdx index 95a86979765..9adc206da9f 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.apollo3:apollo-ast:3.8.3") + implementation("com.apollographql.apollo3:apollo-ast:3.8.4") } ``` diff --git a/docs/source/advanced/multi-modules.mdx b/docs/source/advanced/multi-modules.mdx index 3093fef28b0..9ee3c9849e4 100644 --- a/docs/source/advanced/multi-modules.mdx +++ b/docs/source/advanced/multi-modules.mdx @@ -27,7 +27,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.8.3") + implementation("com.apollographql.apollo3:apollo-runtime:3.8.4") // more regular dependencies // Apollo dependencies diff --git a/docs/source/advanced/no-runtime.mdx b/docs/source/advanced/no-runtime.mdx index 4c6d51d9a80..2797f71e6d1 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.apollo3:apollo-runtime` dependency and replace it with: ```kotlin title="build.gradle" -implementation("com.apollographql.apollo3:apollo-api:3.8.3") +implementation("com.apollographql.apollo3:apollo-api:3.8.4") ``` ## Composing an HTTP request body diff --git a/docs/source/advanced/rxjava.mdx b/docs/source/advanced/rxjava.mdx index 16cd5be0834..0d8cbbd6fb5 100644 --- a/docs/source/advanced/rxjava.mdx +++ b/docs/source/advanced/rxjava.mdx @@ -11,10 +11,10 @@ dependencies { // ... // For RxJava 2 - implementation("com.apollographql.apollo3:apollo-rx2-support:3.8.3") + implementation("com.apollographql.apollo3:apollo-rx2-support:3.8.4") // For RxJava 3 - implementation("com.apollographql.apollo3:apollo-rx3-support:3.8.3") + implementation("com.apollographql.apollo3:apollo-rx3-support:3.8.4") } ``` diff --git a/docs/source/caching/http-cache.mdx b/docs/source/caching/http-cache.mdx index 148d48d4419..20e939a52cb 100644 --- a/docs/source/caching/http-cache.mdx +++ b/docs/source/caching/http-cache.mdx @@ -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:3.8.3") + implementation("com.apollographql.apollo3:apollo-http-cache:3.8.4") } ``` diff --git a/docs/source/caching/normalized-cache.mdx b/docs/source/caching/normalized-cache.mdx index b4ede37cebf..5cb7bacc9d4 100644 --- a/docs/source/caching/normalized-cache.mdx +++ b/docs/source/caching/normalized-cache.mdx @@ -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.8.3") + implementation("com.apollographql.apollo3:apollo-normalized-cache:3.8.4") } ``` @@ -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.8.3") + implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.8.4") } ``` diff --git a/docs/source/essentials/custom-scalars.mdx b/docs/source/essentials/custom-scalars.mdx index 1315b1d188f..29c77720b0e 100644 --- a/docs/source/essentials/custom-scalars.mdx +++ b/docs/source/essentials/custom-scalars.mdx @@ -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:3.8.3") + implementation("com.apollographql.apollo3:apollo-adapters:3.8.4") } apollo { diff --git a/docs/source/index.md b/docs/source/index.md index eb570b86e30..43e7dbe9181 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -76,7 +76,7 @@ Add the runtime dependency: ```kotlin dependencies { - implementation("com.apollographql.apollo3:apollo-runtime:3.8.3") + implementation("com.apollographql.apollo3:apollo-runtime:3.8.4") } ``` @@ -175,13 +175,13 @@ repositories { } dependencies { - implementation("com.apollographql.apollo3:apollo-runtime:3.8.3") + implementation("com.apollographql.apollo3:apollo-runtime:3.8.4") // optional: if you want to use the normalized cache - implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.8.3") + implementation("com.apollographql.apollo3:apollo-normalized-cache-sqlite:3.8.4") // 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.8.3") + implementation("com.apollographql.apollo3:apollo-api:3.8.4") } ``` @@ -211,7 +211,7 @@ pluginManagement { } } ``` -And then use the `3.8.4-SNAPSHOT` version for the plugin and libraries. +And then use the `3.8.5-SNAPSHOT` version for the plugin and libraries. ## Contributing diff --git a/docs/source/testing/mocking-graphql-responses.mdx b/docs/source/testing/mocking-graphql-responses.mdx index c59fe14cd1c..9639683c901 100644 --- a/docs/source/testing/mocking-graphql-responses.mdx +++ b/docs/source/testing/mocking-graphql-responses.mdx @@ -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.8.3") + testImplementation("com.apollographql.apollo3:apollo-testing-support:3.8.4") } // Also add jcenter() to your repositories diff --git a/docs/source/testing/mocking-http-responses.mdx b/docs/source/testing/mocking-http-responses.mdx index 2c84a307fa8..b1821fdc6d8 100644 --- a/docs/source/testing/mocking-http-responses.mdx +++ b/docs/source/testing/mocking-http-responses.mdx @@ -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:3.8.3") + testImplementation("com.apollographql.apollo3:apollo-mockserver:3.8.4") } ``` diff --git a/docs/source/testing/ui-tests.mdx b/docs/source/testing/ui-tests.mdx index 3bbe1515c94..f158f10b41a 100644 --- a/docs/source/testing/ui-tests.mdx +++ b/docs/source/testing/ui-tests.mdx @@ -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.8.3") +implementation("com.apollographql.apollo3:apollo-idling-resource:3.8.4") ``` > 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. diff --git a/docs/source/tutorial/01-configure-project.mdx b/docs/source/tutorial/01-configure-project.mdx index f8b646bb1be..e1af13c1f93 100644 --- a/docs/source/tutorial/01-configure-project.mdx +++ b/docs/source/tutorial/01-configure-project.mdx @@ -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 `3.8.3` 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.8.4` 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 @@ -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:3.8.3") + implementation("com.apollographql.apollo3:apollo-runtime:3.8.4") } ``` diff --git a/gradle.properties b/gradle.properties index c94ff966ae6..a31197675c6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # Publishing defaults, could ultimately be moved to build scripts GROUP=com.apollographql.apollo3 -VERSION_NAME=3.8.4-SNAPSHOT +VERSION_NAME=3.8.4 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 511339caba1..adfcc02226b 100644 --- a/gradle/libraries.toml +++ b/gradle/libraries.toml @@ -8,7 +8,7 @@ android-sdkversion-target = "30" androidx-sqlite = "2.1.0" antlr = "4.9.3" # This is used by the gradle integration tests to get the artifacts locally -apollo = "3.8.4-SNAPSHOT" +apollo = "3.8.4" cache = "2.0.2" # See https://developer.android.com/jetpack/androidx/releases/compose-kotlin compose-compiler = "1.5.4"