Skip to content

Commit de83d14

Browse files
authored
chore(default-storage): Bump versions (#1094)
* bump kotlin, kps, coroutines * docs * bump test-app * bump kotlin * dedupe
1 parent 59235de commit de83d14

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

Diff for: packages/default-storage/android/config.gradle

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import java.nio.file.Paths
22

3-
def DEFAULT_KOTLIN_VERSION = "1.9.20"
4-
def DEFAULT_ROOM_VERSION = "2.4.3"
3+
def DEFAULT_KOTLIN_VERSION = "1.9.24"
4+
def DEFAULT_ROOM_VERSION = "2.6.1"
55

66
def kotlinVersion = getKotlinVersion(DEFAULT_KOTLIN_VERSION)
77

@@ -19,8 +19,8 @@ project.ext.AsyncStorageConfig = [
1919
]
2020

2121
project.ext.AsyncStorageLibs = [
22-
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3",
23-
testCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3",
22+
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0",
23+
testCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0",
2424
testJunit : "junit:junit:4.13.2",
2525
testRunner : "androidx.test:runner:1.4.0",
2626
testRules : "androidx.test:rules:1.4.0",
@@ -54,6 +54,10 @@ String getKspVersion(String kotlinVersion) {
5454
}
5555
// https://github.com/google/ksp/releases
5656
def kspVersions = [
57+
"1.9.24-1.0.20",
58+
"1.9.23-1.0.20",
59+
"1.9.22-1.0.17",
60+
"1.9.21-1.0.16",
5761
"1.9.20-1.0.14",
5862
"1.9.10-1.0.13",
5963
"1.9.0-1.0.13",

Diff for: packages/default-storage/example/android/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ newArchEnabled=true
5050
#ANDROID_NDK_VERSION=26.1.10909125
5151

5252
# Version of Kotlin to build against.
53-
KOTLIN_VERSION=1.9.20
53+
KOTLIN_VERSION=1.9.24
5454

5555
# This is an example of how you can change default DB size (6MB) to 10MB
5656
#AsyncStorage_db_size_in_MB=10

Diff for: packages/website/docs/advanced/Next.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -47,36 +47,36 @@ AsyncStorage_useNextStorage=true
4747

4848
**Kotlin version**
4949

50-
Next storage is tested against Kotlin version `1.9.20`.
50+
Next storage is tested against Kotlin version `1.9.24`.
5151
You can specify different version, in one of two ways:
5252

5353
- add `kotlinVersion` extension to the `rootProject`:
5454

5555
```groovy
56-
rootProject.ext.kotlinVersion = '1.9.20'
56+
rootProject.ext.kotlinVersion = '1.9.24'
5757
```
5858

5959
- specify `AsyncStorage_kotlinVersion` in `gradle.properties`:
6060

6161
```groovy
62-
AsyncStorage_kotlinVersion=1.9.20
62+
AsyncStorage_kotlinVersion=1.9.24
6363
```
6464

6565
**Room**
6666

6767
Next AsyncStorage uses [Room persistence library](https://developer.android.com/jetpack/androidx/releases/room) to store data.
68-
Currently, tested version is `2.4.3`. You can specify different version, by adding a flag to `gradle.properties`:
68+
Currently, tested version is `2.6.1`. You can specify different version, by adding a flag to `gradle.properties`:
6969

7070
```groovy
71-
AsyncStorage_next_roomVersion=2.4.3
71+
AsyncStorage_next_roomVersion=2.6.1
7272
```
7373

7474
KSP is enabled for symbol processing for the Room library.
7575
KSP version will be selected based on Kotlin version in your project.
7676
If you want to use different KSP version, you can set a property in `gradle.properties`:
7777

7878
```groovy
79-
AsyncStorage_next_kspVersion=1.9.20-1.0.14
79+
AsyncStorage_next_kspVersion=1.9.24-1.0.20
8080
```
8181

8282
### Notable changes

0 commit comments

Comments
 (0)