Skip to content

chore(default-storage): Bump versions #1094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions packages/default-storage/android/config.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import java.nio.file.Paths

def DEFAULT_KOTLIN_VERSION = "1.9.20"
def DEFAULT_ROOM_VERSION = "2.4.3"
def DEFAULT_KOTLIN_VERSION = "1.9.24"
def DEFAULT_ROOM_VERSION = "2.6.1"

def kotlinVersion = getKotlinVersion(DEFAULT_KOTLIN_VERSION)

Expand All @@ -19,8 +19,8 @@ project.ext.AsyncStorageConfig = [
]

project.ext.AsyncStorageLibs = [
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3",
testCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3",
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0",
testCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0",
testJunit : "junit:junit:4.13.2",
testRunner : "androidx.test:runner:1.4.0",
testRules : "androidx.test:rules:1.4.0",
Expand Down Expand Up @@ -54,6 +54,10 @@ String getKspVersion(String kotlinVersion) {
}
// https://github.com/google/ksp/releases
def kspVersions = [
"1.9.24-1.0.20",
"1.9.23-1.0.20",
"1.9.22-1.0.17",
"1.9.21-1.0.16",
"1.9.20-1.0.14",
"1.9.10-1.0.13",
"1.9.0-1.0.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ newArchEnabled=true
#ANDROID_NDK_VERSION=26.1.10909125

# Version of Kotlin to build against.
KOTLIN_VERSION=1.9.20
KOTLIN_VERSION=1.9.23

# This is an example of how you can change default DB size (6MB) to 10MB
#AsyncStorage_db_size_in_MB=10
Expand Down
12 changes: 6 additions & 6 deletions packages/website/docs/advanced/Next.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,36 +47,36 @@ AsyncStorage_useNextStorage=true

**Kotlin version**

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

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

```groovy
rootProject.ext.kotlinVersion = '1.9.20'
rootProject.ext.kotlinVersion = '1.9.24'
```

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

```groovy
AsyncStorage_kotlinVersion=1.9.20
AsyncStorage_kotlinVersion=1.9.24
```

**Room**

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

```groovy
AsyncStorage_next_roomVersion=2.4.3
AsyncStorage_next_roomVersion=2.6.1
```

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

```groovy
AsyncStorage_next_kspVersion=1.9.20-1.0.14
AsyncStorage_next_kspVersion=1.9.24-1.0.20
```

### Notable changes
Expand Down
54 changes: 50 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10878,7 +10878,7 @@ __metadata:
languageName: node
linkType: hard

"envinfo@npm:^7.10.0, envinfo@npm:^7.5.0, envinfo@npm:^7.8.1":
"envinfo@npm:^7.10.0":
version: 7.13.0
resolution: "envinfo@npm:7.13.0"
bin:
Expand All @@ -10887,6 +10887,15 @@ __metadata:
languageName: node
linkType: hard

"envinfo@npm:^7.5.0, envinfo@npm:^7.8.1":
version: 7.8.1
resolution: "envinfo@npm:7.8.1"
bin:
envinfo: dist/cli.js
checksum: 10c0/01efe7fcf55d4b84a146bc638ef89a89a70b610957db64636ac7cc4247d627eeb1c808ed79d3cfbe3d4fed5e8ba3d61db79c1ca1a3fea9f38639561eefd68733
languageName: node
linkType: hard

"eol@npm:^0.9.1":
version: 0.9.1
resolution: "eol@npm:0.9.1"
Expand Down Expand Up @@ -21149,7 +21158,20 @@ __metadata:
languageName: node
linkType: hard

"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.13.1, resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2":
"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.13.1, resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.3.2":
version: 1.22.4
resolution: "resolve@npm:1.22.4"
dependencies:
is-core-module: "npm:^2.13.0"
path-parse: "npm:^1.0.7"
supports-preserve-symlinks-flag: "npm:^1.0.0"
bin:
resolve: bin/resolve
checksum: 10c0/b1adb7885a05e31fc2be19e85e338b8d48d9e442b568d91e9c925990ed1c3bff66683ccea03b9e9893b857ec25dee0f7951a0d0630be49e4e1f5c1150ddc35dc
languageName: node
linkType: hard

"resolve@npm:^1.22.1":
version: 1.22.8
resolution: "resolve@npm:1.22.8"
dependencies:
Expand Down Expand Up @@ -21184,7 +21206,20 @@ __metadata:
languageName: node
linkType: hard

"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.13.1#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.3.2#optional!builtin<compat/resolve>":
"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.13.1#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.3.2#optional!builtin<compat/resolve>":
version: 1.22.4
resolution: "resolve@patch:resolve@npm%3A1.22.4#optional!builtin<compat/resolve>::version=1.22.4&hash=c3c19d"
dependencies:
is-core-module: "npm:^2.13.0"
path-parse: "npm:^1.0.7"
supports-preserve-symlinks-flag: "npm:^1.0.0"
bin:
resolve: bin/resolve
checksum: 10c0/60ca179599acf8b1bb17b850280a7081781b457d235d48197dc893b82d75741f191c5fe2d93e5729292234d0b0d88e9add273df4b9e04755eeed4fd7d23f1c79
languageName: node
linkType: hard

"resolve@patch:resolve@npm%3A^1.22.1#optional!builtin<compat/resolve>":
version: 1.22.8
resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin<compat/resolve>::version=1.22.8&hash=c3c19d"
dependencies:
Expand Down Expand Up @@ -21674,7 +21709,18 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.1, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4":
"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4":
version: 7.6.0
resolution: "semver@npm:7.6.0"
dependencies:
lru-cache: "npm:^6.0.0"
bin:
semver: bin/semver.js
checksum: 10c0/fbfe717094ace0aa8d6332d7ef5ce727259815bd8d8815700853f4faf23aacbd7192522f0dc5af6df52ef4fa85a355ebd2f5d39f554bd028200d6cf481ab9b53
languageName: node
linkType: hard

"semver@npm:^7.5.1":
version: 7.6.2
resolution: "semver@npm:7.6.2"
bin:
Expand Down
Loading