diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6facc61..65dfe57 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,9 +10,11 @@ jobs: uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: linux_build_command: "swift build" - linux_exclude_swift_versions: '[{"swift_version": "5.8"}]' + linux_exclude_swift_versions: '[{"swift_version": "5.8"}, {"swift_version": "5.9"}, {"swift_version": "5.10"}]' windows_build_command: "swift build" + windows_exclude_swift_versions: '[{"swift_version": "5.9"}]' macos_build_command: "xcrun swift build" + macos_exclude_xcode_versions: '[{"xcode_version": "16.0"}, {"xcode_version": "16.1"}]' enable_macos_checks: true soundness: diff --git a/Package.swift b/Package.swift index 0ab9216..cf7e3e7 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.9 +// swift-tools-version: 6.0 import PackageDescription let package = Package( @@ -29,7 +29,8 @@ let package = Package( .linkedLibrary("wasi-emulated-signal", .when(platforms: [.wasi])), .linkedLibrary("wasi-emulated-process-clocks", .when(platforms: [.wasi])), .linkedLibrary("wasi-emulated-getpid", .when(platforms: [.wasi])), - .linkedLibrary("m", .when(platforms: [.linux])), + .linkedLibrary("m", .when(platforms: [.linux, .android])), + .linkedLibrary("pthread", .when(platforms: [.custom("freebsd")])), ] ), .target( diff --git a/README.md b/README.md index daca43b..82ac56f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ The [SQLite Amalgamation](https://sqlite.org/amalgamation.html) from sqlite.org This is intended as a common infrastructure package for components of the Swift toolchain which depend on SQLite. It is not intended as a general-purpose SQLite package, nor does it aim to provide Swift wrapper APIs. -This package has been tested on macOS, iOS, tvOS, watchOS, visionOS, Mac Catalyst, Linux, Windows, and WebAssembly. +This build of this package has been validated for macOS, iOS, tvOS, watchOS, visionOS, Mac Catalyst, Linux, Android, Windows, WebAssembly, and FreeBSD. +On most platforms, the Swift toolchain uses a copy of SQLite provided by the platform SDK or package manager instead of this package. Contributing to /swift-toolchain-sqlite @@ -19,7 +20,7 @@ Before submitting the pull request, please make sure you have [tested your changes](https://github.com/swiftlang/swift/blob/main/docs/ContinuousIntegration.md) and that they follow the Swift project [guidelines for contributing code](https://swift.org/contributing/#contributing-code). Bug reports should be - filed in [the issue tracker](https://github.com/swiftlang/swift-toolchain-sqlite/issues) of + filed in [the issue tracker](https://github.com/swiftlang/swift-toolchain-sqlite/issues) of `swift-toolchain-sqlite` repository on GitHub. To be a truly great community, [Swift.org](https://swift.org/) needs to welcome diff --git a/Sources/CSQLite/include/sqlite3.h b/Sources/CSQLite/include/sqlite3.h index f61a148..f56dd8d 100644 --- a/Sources/CSQLite/include/sqlite3.h +++ b/Sources/CSQLite/include/sqlite3.h @@ -146,9 +146,9 @@ extern "C" { ** [sqlite3_libversion_number()], [sqlite3_sourceid()], ** [sqlite_version()] and [sqlite_source_id()]. */ -#define SQLITE_VERSION "3.50.0" -#define SQLITE_VERSION_NUMBER 3050000 -#define SQLITE_SOURCE_ID "2025-05-29 14:26:00 dfc790f998f450d9c35e3ba1c8c89c17466cb559f87b0239e4aab9d34e28f742" +#define SQLITE_VERSION "3.50.2" +#define SQLITE_VERSION_NUMBER 3050002 +#define SQLITE_SOURCE_ID "2025-06-28 14:00:48 2af157d77fb1304a74176eaee7fbc7c7e932d946bf25325e9c26c91db19e3079" /* ** CAPI3REF: Run-Time Library Version Numbers @@ -4079,7 +4079,7 @@ SQLITE_API sqlite3_file *sqlite3_database_file_object(const char*); ** ** The sqlite3_create_filename(D,J,W,N,P) allocates memory to hold a version of ** database filename D with corresponding journal file J and WAL file W and -** with N URI parameters key/values pairs in the array P. The result from +** an array P of N URI Key/Value pairs. The result from ** sqlite3_create_filename(D,J,W,N,P) is a pointer to a database filename that ** is safe to pass to routines like: **