Skip to content

Commit 12e9161

Browse files
authored
Update SQLite to v3.45.0 (#189)
1 parent 4fb4458 commit 12e9161

File tree

6 files changed

+53
-31
lines changed

6 files changed

+53
-31
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Change Log
22
==========
33

4+
## 3.45.0
5+
- [SQLite 3.45.0](https://www.sqlite.org/releaselog/3_45_0.html)
6+
- [SQLite 3.44.2](https://www.sqlite.org/releaselog/3_44_2.html)
7+
- [SQLite 3.44.1](https://www.sqlite.org/releaselog/3_44_1.html)
8+
- [SQLite 3.44.0](https://www.sqlite.org/releaselog/3_44_0.html)
9+
- [SQLite 3.43.2](https://www.sqlite.org/releaselog/3_43_2.html)
10+
- [SQLite 3.43.1](https://www.sqlite.org/releaselog/3_43_1.html)
11+
412
## 3.43.0
513
- [SQLite 3.43.0](https://www.sqlite.org/releaselog/3_43_0.html)
614

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Use new SQLite features:
2525
- **[JSON1 extension](https://www.sqlite.org/json1.html)**
2626
- **[Common Table expressions](https://www.sqlite.org/lang_with.html)**
2727
- **[Indexes on expressions](https://www.sqlite.org/expridx.html)**
28-
- **[Full Text Search 5](https://www.sqlite.org/fts5.html)**
28+
- **[Full-Text Search 5](https://www.sqlite.org/fts5.html)**
2929
- **[Generated Columns](https://www.sqlite.org/gencol.html)**
3030
- **[DROP COLUMN support](https://www.sqlite.org/lang_altertable.html#altertabdropcol)**
3131

@@ -51,7 +51,7 @@ Then add the sqlite-android artifact from this repository as a dependency:
5151

5252
```gradle
5353
dependencies {
54-
implementation 'com.github.requery:sqlite-android:3.43.0'
54+
implementation 'com.github.requery:sqlite-android:3.45.0'
5555
}
5656
```
5757
Then change usages of `android.database.sqlite.SQLiteDatabase` to
@@ -115,7 +115,7 @@ Versioning
115115
----------
116116

117117
The library is versioned after the version of SQLite it contains. For changes specific to just the
118-
wrapper API, a revision number is added e.g. 3.43.0-X, where X is the revision number.
118+
wrapper API, a revision number is added e.g., 3.45.0-X, where X is the revision number.
119119

120120
Acknowledgements
121121
----------------
@@ -134,12 +134,12 @@ Changes
134134
CursorWindow.
135135
- Reuse of android.database.sqlite.*, the original SQLite bindings replicated the entire
136136
android.database.sqlite API structure including exceptions & interfaces. This project does not
137-
do that, instead it reuses the original classes/interfaces when possible in order to simplify
137+
do that, instead it reuses the original classes/interfaces when possible to simplify
138138
migration and/or use with existing code.
139139
- Unit tests added
140140
- Compile with [clang](http://clang.llvm.org/) toolchain
141141
- Compile with FTS3, FTS4, & JSON1 extension
142-
- Migrate to gradle build
142+
- Migrate to Gradle build
143143
- buildscript dynamically fetches and builds the latest sqlite source from sqlite.org
144144
- Added consumer proguard rules
145145
- Use androidx-core version of `CancellationSignal`
@@ -153,7 +153,7 @@ Changes
153153
License
154154
-------
155155

156-
Copyright (C) 2017-2023 requery.io
156+
Copyright (C) 2017-2024 requery.io
157157
Copyright (C) 2005-2012 The Android Open Source Project
158158

159159
Licensed under the Apache License, Version 2.0 (the "License");

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
plugins {
2-
id "com.android.library" version "8.1.1" apply false
3-
id "de.undercouch.download" version "5.4.0" apply false
2+
id "com.android.library" version "8.2.1" apply false
3+
id "de.undercouch.download" version "5.5.0" apply false
44
}

gradle.properties

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
1+
## For more details on how to configure your build environment visit
2+
# http://www.gradle.org/docs/current/userguide/build_environment.html
3+
#
4+
# Specifies the JVM arguments used for the daemon process.
5+
# The setting is particularly useful for tweaking memory settings.
6+
# Default value: -Xmx1024m -XX:MaxPermSize=256m
7+
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
8+
#
9+
# When configured, Gradle will run in incubating parallel mode.
10+
# This option should only be used with decoupled projects. For more details, visit
11+
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
12+
# org.gradle.parallel=true
13+
#Fri Jan 19 20:33:06 EET 2024
14+
#
15+
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
116
android.useAndroidX=true
2-
3-
# Disabling unused build features
17+
#
18+
GROUP=io.requery
19+
VERSION_NAME=3.45.0-SNAPSHOT
20+
#
21+
POM_DEVELOPER_ID=TODO
22+
POM_DEVELOPER_NAME=TODO
23+
POM_DEVELOPER_URL=TODO
24+
POM_INCEPTION_YEAR=TODO
25+
POM_LICENCE_DIST=repo
26+
POM_LICENCE_NAME=The Apache Software License, Version 2.0
27+
POM_LICENCE_URL=http\://www.apache.org/licenses/LICENSE-2.0.txt
28+
POM_SCM_CONNECTION=scm\:git\:git\://github.com/requery/sqlite-android.git
29+
POM_SCM_DEV_CONNECTION=scm\:git\:ssh\://git@github.com/requery/sqlite-android.git
30+
POM_SCM_URL=https\://github.com/requery/sqlite-android/
31+
POM_URL=https\://github.com/requery/sqlite-android/
32+
#
433
android.defaults.buildfeatures.aidl=false
534
android.defaults.buildfeatures.buildconfig=false
635
android.defaults.buildfeatures.databinding=false
@@ -9,18 +38,3 @@ android.defaults.buildfeatures.resvalues=false
938
android.defaults.buildfeatures.shaders=false
1039
android.defaults.buildfeatures.viewbinding=false
1140
android.library.defaults.buildfeatures.androidresources=false
12-
13-
# Publishing bits
14-
GROUP=io.requery
15-
POM_URL=https://github.com/requery/sqlite-android/
16-
POM_SCM_URL=https://github.com/requery/sqlite-android/
17-
POM_SCM_CONNECTION=scm:git:git://github.com/requery/sqlite-android.git
18-
POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/requery/sqlite-android.git
19-
POM_LICENCE_NAME=The Apache Software License, Version 2.0
20-
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
21-
POM_LICENCE_DIST=repo
22-
POM_DEVELOPER_ID=TODO
23-
POM_DEVELOPER_NAME=TODO
24-
POM_DEVELOPER_URL=TODO
25-
POM_INCEPTION_YEAR=TODO
26-
VERSION_NAME=3.43.0-SNAPSHOT
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

sqlite-android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import com.vanniktech.maven.publish.SonatypeHost
33
plugins {
44
id "de.undercouch.download"
55
id "com.android.library"
6-
id "com.vanniktech.maven.publish" version "0.25.3"
6+
id "com.vanniktech.maven.publish" version "0.27.0"
77
}
88

99
android {
1010
buildToolsVersion = "34.0.0"
11-
ndkVersion "25.2.9519653"
11+
ndkVersion "26.1.10909125"
1212

1313
compileSdk 34
1414

@@ -48,8 +48,8 @@ android {
4848
}
4949

5050
dependencies {
51-
api("androidx.core:core:1.10.1")
52-
api("androidx.sqlite:sqlite:2.3.1")
51+
api("androidx.core:core:1.12.0")
52+
api("androidx.sqlite:sqlite:2.4.0")
5353
testImplementation("junit:junit:4.13.2")
5454
androidTestImplementation("androidx.test:core:1.5.0")
5555
androidTestImplementation("androidx.test:runner:1.5.2")
@@ -58,7 +58,7 @@ dependencies {
5858
}
5959

6060
ext {
61-
sqliteDistributionUrl = "https://www.sqlite.org/2023/sqlite-amalgamation-3430000.zip"
61+
sqliteDistributionUrl = "https://www.sqlite.org/2024/sqlite-amalgamation-3450000.zip"
6262
}
6363

6464
tasks.register("downloadSqlite", Download) {

0 commit comments

Comments
 (0)