Skip to content

[release/9.0] Update SQLitePCLRaw package versions - #38606

Merged
AndriySvyryd merged 15 commits into
release/9.0from
copilot/fix-sqlite-test-projects
Jul 16, 2026
Merged

[release/9.0] Update SQLitePCLRaw package versions#38606
AndriySvyryd merged 15 commits into
release/9.0from
copilot/fix-sqlite-test-projects

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>

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 EFCore’s SQLite package graph to consistently resolve to SQLitePCLRaw 3.0.3 (with SQLitePCLRaw.lib.e_sqlite3 pinned to 3.53.3), migrates SQLite test projects from bundle packages to provider packages, and removes the obsolete e_sqlite3mc test target while skipping a known-failing SQLite query test for Issue #32561.

Changes:

  • Bump SQLitePCLRawVersion to 3.0.3 and centrally pin SQLitePCLRaw.lib.e_sqlite3 to 3.53.3; remove bundle_sqlite3 from central package wiring.
  • Update Microsoft.Data.Sqlite.sqlite3.Tests / winsqlite3.Tests to reference SQLitePCLRaw.core + provider packages and add provider initialization shims in the test framework.
  • Retire Microsoft.Data.Sqlite.e_sqlite3mc.Tests from project/solution wiring and skip Parameter_collection_Concat_column_collection on SQLite due to Issue #32561.

Reviewed changes

Copilot reviewed 11 out of 11 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 Adds provider initialization shims for SQLITE3/WINSQLITE3 test runs.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.winsqlite3.Tests.csproj Switches from bundle_winsqlite3 to SQLitePCLRaw.core + provider.winsqlite3.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3.Tests.csproj Switches from bundle_sqlite3 to SQLitePCLRaw.core + provider.sqlite3.
test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.e_sqlite3mc.Tests.csproj Deletes the obsolete e_sqlite3mc test project.
test/EFCore.Sqlite.FunctionalTests/Query/PrimitiveCollectionsQuerySqliteTest.cs Changes a known failing test to an explicit skip for Issue #32561.
test/Directory.Packages.props Replaces bundle package pins with provider package pins for tests.
src/Microsoft.Data.Sqlite.Core/Properties/InternalsVisibleTo.cs Removes InternalsVisibleTo for the deleted e_sqlite3mc test assembly.
Microsoft.Data.Sqlite.slnf Removes the deleted e_sqlite3mc test project from the solution filter.
eng/Versions.props Updates SQLitePCLRawVersion to 3.0.3.
EFCore.sln Removes the deleted e_sqlite3mc test project from the solution and build configs.
Directory.Packages.props Removes bundle_sqlite3 version and pins SQLitePCLRaw.lib.e_sqlite3 to 3.53.3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/Microsoft.Data.Sqlite.Tests/TestUtilities/SqliteTestFramework.cs Outdated
Comment thread src/Microsoft.Data.Sqlite.Core/Properties/InternalsVisibleTo.cs
AndriySvyryd and others added 2 commits July 9, 2026 17:32
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI changed the title Align SQLite package graph to SQLitePCLRaw 3.0.3/3.53.3 and retire e_sqlite3mc test target Align SQLite package graph to SQLitePCLRaw 3.0.3/3.53.3, migrate sqlite3mc to SQLite3MC.PCLRaw.bundle, and retire e_sqlcipher test target Jul 10, 2026
Copilot AI requested a review from AndriySvyryd July 10, 2026 00:37
Comment thread test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3.Tests.csproj Outdated
…-amd64

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

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Comment thread test/Microsoft.Data.Sqlite.Tests/Microsoft.Data.Sqlite.sqlite3mc.Tests.csproj Outdated
This was referenced Aug 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