Skip to content

Commit 11342a2

Browse files
authored
version is now 5.0.0-alpha.1-SNAPSHOT (#6594)
* version is now 5.0.0-alpha.1-SNAPSHOT * fix package lock once again
1 parent c772cd5 commit 11342a2

19 files changed

+125
-80
lines changed

docs/source/advanced/apollo-ast.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add the `apollo-ast` dependency to your project:
2121
dependencies {
2222
// ...
2323

24-
implementation("com.apollographql.apollo:apollo-ast:4.1.1")
24+
implementation("com.apollographql.apollo:apollo-ast:5.0.0-alpha.0")
2525
}
2626
```
2727

docs/source/advanced/compiler-plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ plugins {
3333

3434
dependencies {
3535
// Add apollo-compiler as a compileOnly dependency
36-
compileOnly("com.apollographql.apollo:apollo-compiler:4.3.0")
36+
compileOnly("com.apollographql.apollo:apollo-compiler:5.0.0-alpha.0")
3737
}
3838
```
3939

docs/source/advanced/no-runtime.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Using the models without apollo-runtime
77
For this, remove the `com.apollographql.apollo:apollo-runtime` dependency and replace it with:
88

99
```kotlin title="build.gradle"
10-
implementation("com.apollographql.apollo:apollo-api:4.1.1")
10+
implementation("com.apollographql.apollo:apollo-api:5.0.0-alpha.0")
1111
```
1212

1313
## Composing an HTTP request body

docs/source/caching/http-cache.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To enable HTTP cache support, add the dependency to your project's `build.gradle
1717

1818
```kotlin title="build.gradle[.kts]"
1919
dependencies {
20-
implementation("com.apollographql.apollo:apollo-http-cache:4.1.1")
20+
implementation("com.apollographql.apollo:apollo-http-cache:5.0.0-alpha.0")
2121
}
2222
```
2323

docs/source/caching/normalized-cache.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Apollo Kotlin's `MemoryCache` is a normalized, in-memory cache for storing objec
7474

7575
```kotlin title="build.gradle[.kts]"
7676
dependencies {
77-
implementation("com.apollographql.apollo:apollo-normalized-cache:4.1.1")
77+
implementation("com.apollographql.apollo:apollo-normalized-cache:5.0.0-alpha.0")
7878
}
7979
```
8080

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

111111
```kotlin title="build.gradle.kts"
112112
dependencies {
113-
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.1")
113+
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:5.0.0-alpha.0")
114114
}
115115
```
116116

docs/source/index.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ Add the plugin to your `build.gradle.kts`:
4040

4141
```kotlin
4242
plugins {
43-
id("com.apollographql.apollo") version "4.1.1"
43+
id("com.apollographql.apollo") version "5.0.0-alpha.0"
4444
}
4545
```
4646

4747
Add the runtime dependency:
4848

4949
```kotlin
5050
dependencies {
51-
implementation("com.apollographql.apollo:apollo-runtime:4.1.1")
51+
implementation("com.apollographql.apollo:apollo-runtime:5.0.0-alpha.0")
5252
}
5353
```
5454

@@ -165,29 +165,29 @@ Installation instructions and more information can be found [here](/kotlin/testi
165165

166166
## Releases
167167

168-
The latest version is `4.1.1`.
168+
The latest version is `5.0.0-alpha.0`.
169169

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

172172
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)
173173

174174
```kotlin
175175
plugins {
176-
id("com.apollographql.apollo") version "4.1.1"
176+
id("com.apollographql.apollo") version "5.0.0-alpha.0"
177177
}
178178

179179
repositories {
180180
mavenCentral()
181181
}
182182

183183
dependencies {
184-
implementation("com.apollographql.apollo:apollo-runtime:4.1.1")
184+
implementation("com.apollographql.apollo:apollo-runtime:5.0.0-alpha.0")
185185

186186
// Optional: if you want to use the normalized cache
187-
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:4.1.1")
187+
implementation("com.apollographql.apollo:apollo-normalized-cache-sqlite:5.0.0-alpha.0")
188188
// Optional: if you just want the generated models and parsers and write your own HTTP code/cache code, you can remove apollo-runtime
189189
// and use apollo-api instead
190-
implementation("com.apollographql.apollo:apollo-api:4.1.1")
190+
implementation("com.apollographql.apollo:apollo-api:5.0.0-alpha.0")
191191
}
192192
```
193193

docs/source/testing/apollo-debug-server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies {
1717
// ...
1818

1919
// For security, add the dependency to your debug builds only
20-
debugImplementation("com.apollographql.apollo:apollo-debug-server:4.1.1")
20+
debugImplementation("com.apollographql.apollo:apollo-debug-server:5.0.0-alpha.0")
2121
}
2222
```
2323

docs/source/testing/mocking-graphql-responses.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Add the dependency to your project's `build.gradle` file:
1414

1515
```kotlin title="build.gradle[.kts]"
1616
dependencies {
17-
testImplementation("com.apollographql.apollo:apollo-testing-support:4.1.1")
17+
testImplementation("com.apollographql.apollo:apollo-testing-support:5.0.0-alpha.0")
1818
}
1919
```
2020

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Publishing defaults, could ultimately be moved to build scripts
22
GROUP=com.apollographql.apollo
3-
VERSION_NAME=5.0.0-alpha.0-SNAPSHOT
3+
VERSION_NAME=5.0.0-alpha.1-SNAPSHOT
44

55
POM_URL=https://github.com/apollographql/apollo-kotlin/
66
POM_SCM_URL=https://github.com/apollographql/apollo-kotlin/

gradle/libraries.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ android-sdkversion-benchmark-min = "24"
1515
android-sdkversion-target = "30"
1616
androidx-sqlite = "2.3.1"
1717
# This is used by the gradle integration tests to get the artifacts locally
18-
apollo = "5.0.0-alpha.0-SNAPSHOT"
18+
apollo = "5.0.0-alpha.1-SNAPSHOT"
1919
apollo-execution = "0.1.0"
2020
apollo-normalizedcache-incubating = "1.0.0-alpha.3"
2121
# Used by the apollo-tooling project which uses a published version of Apollo
@@ -188,6 +188,7 @@ truth = { group = "com.google.truth", name = "truth", version.ref = "truth" }
188188
turbine = { group = "app.cash.turbine", name = "turbine", version = "1.1.0" }
189189
uuid = { group = "com.benasher44", name = "uuid", version = "0.8.2" }
190190
librarian = "com.gradleup.librarian:librarian-gradle-plugin:0.0.8-SNAPSHOT-30f5819e9747430b54e96ebb8d680e0fbe30f563"
191+
nmcp = "com.gradleup.nmcp:nmcp:0.2.2-SNAPSHOT-7db79adb17a2c6ae61fc00c89f6a6518ff458ed7"
191192
slf4j-simple = "org.slf4j:slf4j-simple:2.0.13"
192193
slf4j-nop = "org.slf4j:slf4j-nop:2.0.13"
193194
licensee = "app.cash.licensee:licensee-gradle-plugin:1.12.0"

0 commit comments

Comments
 (0)