Skip to content

Commit

Permalink
Update to sqlite 3.45.3
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Apr 23, 2024
1 parent 72bd8d3 commit 8e23589
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions integration_tests/flutter_libs/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 32
compileSdkVersion 34

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -39,7 +39,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.flutter_libs"
minSdkVersion 19
minSdkVersion 21
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
4 changes: 2 additions & 2 deletions sqlite3/assets/wasm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
FetchContent_Declare(
sqlite3
# NOTE: When changing this, also update `test/wasm/sqlite3_test.dart`
URL https://sqlite.org/2024/sqlite-autoconf-3450100.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP NEW
)
else()
FetchContent_Declare(
sqlite3
# NOTE: When changing this, also update `test/wasm/sqlite3_test.dart`
URL https://sqlite.org/2024/sqlite-autoconf-3450100.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
)
endif()

Expand Down
4 changes: 4 additions & 0 deletions sqlite3_flutter_libs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.21

- Upgrade sqlite to version `3.45.3`.

## 0.5.20

- Upgrade sqlite to version `3.45.1`.
Expand Down
2 changes: 1 addition & 1 deletion sqlite3_flutter_libs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ android {
}

dependencies {
implementation 'eu.simonbinder:sqlite3-native-library:3.45.1'
implementation 'eu.simonbinder:sqlite3-native-library:3.45.3+1'
}
2 changes: 1 addition & 1 deletion sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A new flutter plugin project.
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'

s.dependency 'sqlite3', '~> 3.45.1'
s.dependency 'sqlite3', '~> 3.45.3+1'
s.dependency 'sqlite3/fts5'
s.dependency 'sqlite3/perf-threadsafe'
s.dependency 'sqlite3/rtree'
Expand Down
4 changes: 2 additions & 2 deletions sqlite3_flutter_libs/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
# We can't really ask users to use a cmake that recent, so there's this if here.
FetchContent_Declare(
sqlite3
URL https://sqlite.org/2024/sqlite-autoconf-3450100.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP NEW
)
else()
FetchContent_Declare(
sqlite3
URL https://sqlite.org/2024/sqlite-autoconf-3450100.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
)
endif()
FetchContent_MakeAvailable(sqlite3)
Expand Down
2 changes: 1 addition & 1 deletion sqlite3_flutter_libs/macos/sqlite3_flutter_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.public_header_files = 'Classes/**/*.h'
s.dependency 'FlutterMacOS'

s.dependency 'sqlite3', '~> 3.45.1'
s.dependency 'sqlite3', '~> 3.45.3+1'
s.dependency 'sqlite3/fts5'
s.dependency 'sqlite3/perf-threadsafe'
s.dependency 'sqlite3/rtree'
Expand Down
2 changes: 1 addition & 1 deletion sqlite3_flutter_libs/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sqlite3_flutter_libs
description: Flutter plugin to include native sqlite3 libraries with your app
version: 0.5.20
version: 0.5.21
homepage: https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3_flutter_libs
issue_tracker: https://github.com/simolus3/sqlite3.dart/issues

Expand Down
4 changes: 2 additions & 2 deletions sqlite3_flutter_libs/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
# We can't really ask users to use a cmake that recent, so there's this if here.
FetchContent_Declare(
sqlite3
URL https://sqlite.org/2024/sqlite-autoconf-3450100.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP NEW
)
else()
FetchContent_Declare(
sqlite3
URL https://sqlite.org/2024/sqlite-autoconf-3450100.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
)
endif()
FetchContent_MakeAvailable(sqlite3)
Expand Down

0 comments on commit 8e23589

Please sign in to comment.