Skip to content

Commit

Permalink
Update to sqlite 3.45.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Jan 16, 2024
1 parent c872276 commit 30d6d1d
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 9 deletions.
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/2023/sqlite-autoconf-3440000.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450000.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/2023/sqlite-autoconf-3440000.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450000.tar.gz
)
endif()

Expand Down
1 change: 1 addition & 0 deletions sqlite3/assets/wasm/sqlite_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define SQLITE_DEFAULT_MEMSTATUS 0
#define SQLITE_DEFAULT_WAL_SYNCHRONOUS 1
#define SQLITE_LIKE_DOESNT_MATCH_BLOBS 1
#define SQLITE_STRICT_SUBTYPE 1
#define SQLITE_MAX_EXPR_DEPTH 0
#define SQLITE_OMIT_DECLTYPE 1
#define SQLITE_USE_ALLOCA 1
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.19

- Upgrade sqlite to version `3.45.0`.

## 0.5.18

- Upgrade sqlite to version `3.44.0`.
Expand Down
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.44.0'
s.dependency 'sqlite3', '~> 3.45.0'
s.dependency 'sqlite3/fts5'
s.dependency 'sqlite3/perf-threadsafe'
s.dependency 'sqlite3/rtree'
Expand Down
5 changes: 3 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/2023/sqlite-autoconf-3440000.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450000.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP NEW
)
else()
FetchContent_Declare(
sqlite3
URL https://sqlite.org/2023/sqlite-autoconf-3440000.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450000.tar.gz
)
endif()
FetchContent_MakeAvailable(sqlite3)
Expand Down Expand Up @@ -49,6 +49,7 @@ target_compile_definitions(${PLUGIN_NAME} PRIVATE
SQLITE_DEFAULT_MEMSTATUS=0
SQLITE_TEMP_STORE=2
SQLITE_MAX_EXPR_DEPTH=0
SQLITE_STRICT_SUBTYPE=1
SQLITE_OMIT_AUTHORIZATION
SQLITE_OMIT_DECLTYPE
SQLITE_OMIT_DEPRECATED
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.44.0'
s.dependency 'sqlite3', '~> 3.45.0'
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.18
version: 0.5.19
homepage: https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3_flutter_libs
issue_tracker: https://github.com/simolus3/sqlite3.dart/issues

Expand Down
5 changes: 3 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/2023/sqlite-autoconf-3440000.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450000.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP NEW
)
else()
FetchContent_Declare(
sqlite3
URL https://sqlite.org/2023/sqlite-autoconf-3440000.tar.gz
URL https://sqlite.org/2024/sqlite-autoconf-3450000.tar.gz
)
endif()
FetchContent_MakeAvailable(sqlite3)
Expand All @@ -53,6 +53,7 @@ target_compile_definitions(sqlite3 PRIVATE
SQLITE_DEFAULT_MEMSTATUS=0
SQLITE_TEMP_STORE=2
SQLITE_MAX_EXPR_DEPTH=0
SQLITE_STRICT_SUBTYPE=1
SQLITE_OMIT_AUTHORIZATION
SQLITE_OMIT_DECLTYPE
SQLITE_OMIT_DEPRECATED
Expand Down

0 comments on commit 30d6d1d

Please sign in to comment.