Skip to content

Commit

Permalink
Upgrade sqlite3 to 3.39.4
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Nov 8, 2022
1 parent 028f85e commit dd15b2a
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
7 changes: 7 additions & 0 deletions sqlite3_flutter_libs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
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 @@ -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'
}
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.39.3'
s.dependency 'sqlite3', '~> 3.39.4'
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/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)
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.39.3'
s.dependency 'sqlite3', '~> 3.39.4'
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.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

Expand Down
6 changes: 3 additions & 3 deletions sqlite3_flutter_libs/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ 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)

add_library(sqlite3 SHARED "sqlite3_flutter.c")

target_include_directories(sqlite3 PRIVATE "${sqlite3_SOURCE_DIR}")
target_compile_options(sqlite3 PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>" "/w")
target_compile_options(sqlite3 PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-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
Expand Down

0 comments on commit dd15b2a

Please sign in to comment.