Skip to content

[release/10.0] Update SQLitePCLRaw package versions#38607

Merged
AndriySvyryd merged 11 commits into
release/10.0from
copilot/update-sqlite-dependencies
Jul 16, 2026
Merged

[release/10.0] Update SQLitePCLRaw package versions#38607
AndriySvyryd merged 11 commits into
release/10.0from
copilot/update-sqlite-dependencies

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Fixes #38257
Backports #36551

Description

Update SQLitePCLRaw.bundle_e_sqlite3 to 2.1.12

Customer impact

Current version had high-severity CVEs.

How found

Reported by multiple customers.

Regression

No.

Testing

Existing coverage.

Risk

Low-to-moderate. This is a major version upgrade. It drops support for uap10.0 and classic Xamarin and requires newer native runtimes.

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Comment thread src/Microsoft.Data.Sqlite.Core/Properties/InternalsVisibleTo.cs
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI changed the title Align SQLitePCLRaw SQLite stack to 3.0.3/3.53.3 and remove obsolete e_sqlite3mc test flavor Align SQLitePCLRaw SQLite stack to 3.0.3/3.53.3 and replace e_sqlcipher with sqlite3mc test flavor Jul 10, 2026
Copilot AI requested a review from AndriySvyryd July 10, 2026 00:37
@AndriySvyryd
AndriySvyryd requested a review from Copilot July 10, 2026 00:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates EF Core’s SQLite-dependent packages and test variants to align on newer SQLitePCLRaw versions (bundle 3.0.3 and native e_sqlite3 3.53.3), removes the obsolete e_sqlcipher test flavor, keeps/renames the SQLite3MC test flavor to sqlite3mc, and skips a known-failing SQLite query test (Issue #32561).

Changes:

  • Align SQLitePCLRaw versions and add an explicit central pin for SQLitePCLRaw.lib.e_sqlite3.
  • Update Sqlite test variants: move sqlite3/winsqlite3 tests from bundle packages to core + provider packages, and rename/update the SQLite3MC test project while removing e_sqlcipher.
  • Skip Parameter_collection_Concat_column_collection on SQLite due to known upstream behavior (Issue #32561).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs Removes E_SQLCIPHER wiring, updates sqlite3mc test assembly name, and adds provider initialization for SQLITE3/WINSQLITE3 tests.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.winsqlite3.Tests.csproj Switches from bundle package reference to SQLitePCLRaw.core + SQLitePCLRaw.provider.winsqlite3.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3.Tests.csproj Switches from bundle package reference to SQLitePCLRaw.core + SQLitePCLRaw.provider.sqlite3.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3mc.Tests.csproj Updates SQLite3MC flavor to use SQLite3MC.PCLRaw.bundle.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.e_sqlcipher.Tests.csproj Removes the obsolete e_sqlcipher test project.
test/EFCore.Sqlite.FunctionalTests/Query/PrimitiveCollectionsQuerySqliteTest.cs Replaces a failing-assert override with an explicit skip for Issue #32561.
test/Directory.Packages.props Adds central version for SQLite3MC.PCLRaw.bundle and pins provider packages for sqlite3/winsqlite3 in tests.
src/Microsoft.Data.Sqlite.Core/Properties/InternalsVisibleTo.cs Updates friend assembly list to reflect removal/rename of test assemblies.
Microsoft.Data.Sqlite.slnf Removes e_sqlcipher and updates sqlite3mc test project entry.
eng/Versions.props Bumps SQLitePCLRaw to 3.0.3 and introduces SQLitePCLRawLibeSqlite3Version=3.53.3.
EFCore.sln Removes e_sqlcipher project and renames e_sqlite3mc project entry to sqlite3mc.
Directory.Packages.props Adds central pin for SQLitePCLRaw.lib.e_sqlite3 and removes SQLitePCLRaw.bundle_sqlite3.

Comment thread test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs Outdated
Comment thread test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3.Tests.csproj Outdated
…icit lib.e_sqlite3 in EFCore.Design.Tests

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Comment thread test/Directory.Packages.props Outdated
Comment thread test/EFCore.Design.Tests/EFCore.Design.Tests.csproj Outdated
Comment thread test/EFCore.Sqlite.FunctionalTests/Query/PrimitiveCollectionsQuerySqliteTest.cs Outdated
…and test skip

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Comment thread eng/Versions.props Outdated
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (2)

test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3mc.Tests.csproj:16

  • Use the centralized SQLitePCLRaw core version property (added in eng/Versions.props) instead of hard-coding 3.0.3 here, so that sqlite3mc test dependency updates happen in one place.
    test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3mc.Tests.csproj:16
  • The PR description says it updates only SQLitePCLRaw.bundle_e_sqlite3 to 2.1.12, but this change also switches the sqlite3mc test project to a different bundle (SQLite3MC.PCLRaw.bundle) and introduces a SQLitePCLRaw.core 3.x override. Please reflect these additional changes in the PR description/risk notes so reviewers and release notes capture the full scope.

Comment thread Microsoft.Data.Sqlite.slnf
Comment thread eng/Versions.props
Comment thread eng/Versions.props Outdated
Comment thread test/Directory.Packages.props
Comment thread test/Directory.Packages.props Outdated
Comment thread Microsoft.Data.Sqlite.slnf
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot July 15, 2026 20:48
Copilot AI requested a review from AndriySvyryd July 15, 2026 20:49
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot July 15, 2026 22:03
Copilot AI requested a review from AndriySvyryd July 15, 2026 22:04
@AndriySvyryd AndriySvyryd added this to the 10.0.11 milestone Jul 15, 2026
@AndriySvyryd
AndriySvyryd merged commit 1028c1f into release/10.0 Jul 16, 2026
7 checks passed
@AndriySvyryd
AndriySvyryd deleted the copilot/update-sqlite-dependencies branch July 16, 2026 01:17
@dotnet-milestone-bot dotnet-milestone-bot Bot removed this from the 10.0.11 milestone Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants