From dd15b2a53647ad2b57e89c88343aaa14f14d2407 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Tue, 8 Nov 2022 12:46:56 +0100 Subject: [PATCH] Upgrade sqlite3 to 3.39.4 --- sqlite3_flutter_libs/CHANGELOG.md | 7 +++++++ 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 | 6 +++--- 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/sqlite3_flutter_libs/CHANGELOG.md b/sqlite3_flutter_libs/CHANGELOG.md index 5959e7ac..49ba13c8 100644 --- a/sqlite3_flutter_libs/CHANGELOG.md +++ b/sqlite3_flutter_libs/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.5.11 + +- Upgrade sqlite3 to version `3.39.4`. +- Fix a compilation warning on Windows. +- Stop bundling `spellfix1` on platforms where that was still the case by + default. + ## 0.5.10 - Upgrade sqlite to version `3.39.3`. diff --git a/sqlite3_flutter_libs/android/build.gradle b/sqlite3_flutter_libs/android/build.gradle index 6168e743..e3082a27 100644 --- a/sqlite3_flutter_libs/android/build.gradle +++ b/sqlite3_flutter_libs/android/build.gradle @@ -27,5 +27,5 @@ android { } dependencies { - implementation 'eu.simonbinder:sqlite3-native-library:3.39.3+1' + implementation 'eu.simonbinder:sqlite3-native-library:3.39.4' } diff --git a/sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec b/sqlite3_flutter_libs/ios/sqlite3_flutter_libs.podspec index db82246d..08e03c37 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.39.3' + s.dependency 'sqlite3', '~> 3.39.4' 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 3d02cfc5..355fb8ea 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/2022/sqlite-autoconf-3390300.tar.gz + URL https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz DOWNLOAD_EXTRACT_TIMESTAMP NEW ) else() FetchContent_Declare( sqlite3 - URL https://sqlite.org/2022/sqlite-autoconf-3390300.tar.gz + URL https://sqlite.org/2022/sqlite-autoconf-3390400.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 d2415a64..ba65fd96 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.39.3' + s.dependency 'sqlite3', '~> 3.39.4' 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 3df0fb26..0062510e 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.10 +version: 0.5.11 homepage: https://github.com/simolus3/sqlite3.dart/tree/master/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 ff2d19ad..1c873351 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/2022/sqlite-autoconf-3390300.tar.gz + URL https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz DOWNLOAD_EXTRACT_TIMESTAMP NEW ) else() FetchContent_Declare( sqlite3 - URL https://sqlite.org/2022/sqlite-autoconf-3390300.tar.gz + URL https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz ) endif() FetchContent_MakeAvailable(sqlite3) @@ -43,7 +43,7 @@ FetchContent_MakeAvailable(sqlite3) add_library(sqlite3 SHARED "sqlite3_flutter.c") target_include_directories(sqlite3 PRIVATE "${sqlite3_SOURCE_DIR}") -target_compile_options(sqlite3 PRIVATE "$<$>:-O3>" "/w") +target_compile_options(sqlite3 PRIVATE "$<$>:-O2>" "/w") # Note: Keep in sync with https://github.com/simolus3/sqlite-native-libraries/blob/master/sqlite3-native-library/cpp/CMakeLists.txt target_compile_definitions(sqlite3 PRIVATE