From 8e2358914b44f8da3affe4469e11b8c53caad34b Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Tue, 23 Apr 2024 16:58:05 +0200 Subject: [PATCH] Update to sqlite 3.45.3 --- integration_tests/flutter_libs/android/app/build.gradle | 4 ++-- sqlite3/assets/wasm/CMakeLists.txt | 4 ++-- sqlite3_flutter_libs/CHANGELOG.md | 4 ++++ sqlite3_flutter_libs/android/build.gradle | 2 +- sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec | 2 +- sqlite3_flutter_libs/linux/CMakeLists.txt | 4 ++-- sqlite3_flutter_libs/macos/sqlite3_flutter_libs.podspec | 2 +- sqlite3_flutter_libs/pubspec.yaml | 2 +- sqlite3_flutter_libs/windows/CMakeLists.txt | 4 ++-- 9 files changed, 16 insertions(+), 12 deletions(-) diff --git a/integration_tests/flutter_libs/android/app/build.gradle b/integration_tests/flutter_libs/android/app/build.gradle index b56d17fc..57448529 100644 --- a/integration_tests/flutter_libs/android/app/build.gradle +++ b/integration_tests/flutter_libs/android/app/build.gradle @@ -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' @@ -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 diff --git a/sqlite3/assets/wasm/CMakeLists.txt b/sqlite3/assets/wasm/CMakeLists.txt index 8bcefc36..905b18d4 100644 --- a/sqlite3/assets/wasm/CMakeLists.txt +++ b/sqlite3/assets/wasm/CMakeLists.txt @@ -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() diff --git a/sqlite3_flutter_libs/CHANGELOG.md b/sqlite3_flutter_libs/CHANGELOG.md index dca35c4d..09bf56cf 100644 --- a/sqlite3_flutter_libs/CHANGELOG.md +++ b/sqlite3_flutter_libs/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.21 + +- Upgrade sqlite to version `3.45.3`. + ## 0.5.20 - Upgrade sqlite to version `3.45.1`. diff --git a/sqlite3_flutter_libs/android/build.gradle b/sqlite3_flutter_libs/android/build.gradle index 668d534a..91207346 100644 --- a/sqlite3_flutter_libs/android/build.gradle +++ b/sqlite3_flutter_libs/android/build.gradle @@ -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' } diff --git a/sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec b/sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec index af1b6208..79baab02 100644 --- a/sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec +++ b/sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec @@ -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' diff --git a/sqlite3_flutter_libs/linux/CMakeLists.txt b/sqlite3_flutter_libs/linux/CMakeLists.txt index 37f51d0f..af28f921 100644 --- a/sqlite3_flutter_libs/linux/CMakeLists.txt +++ b/sqlite3_flutter_libs/linux/CMakeLists.txt @@ -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) diff --git a/sqlite3_flutter_libs/macos/sqlite3_flutter_libs.podspec b/sqlite3_flutter_libs/macos/sqlite3_flutter_libs.podspec index a9eeb139..fee2ffc3 100644 --- a/sqlite3_flutter_libs/macos/sqlite3_flutter_libs.podspec +++ b/sqlite3_flutter_libs/macos/sqlite3_flutter_libs.podspec @@ -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' diff --git a/sqlite3_flutter_libs/pubspec.yaml b/sqlite3_flutter_libs/pubspec.yaml index 46d8f18e..51e261bf 100644 --- a/sqlite3_flutter_libs/pubspec.yaml +++ b/sqlite3_flutter_libs/pubspec.yaml @@ -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 diff --git a/sqlite3_flutter_libs/windows/CMakeLists.txt b/sqlite3_flutter_libs/windows/CMakeLists.txt index ef2d3e49..cee7bc23 100644 --- a/sqlite3_flutter_libs/windows/CMakeLists.txt +++ b/sqlite3_flutter_libs/windows/CMakeLists.txt @@ -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)