Switch Microsoft.Data.Sqlite and EFCore.Sqlite to SQLite3MC.PCLRaw.bundle#38402
Merged
Conversation
Co-authored-by: AndriySvyryd <[email protected]>
Copilot created this pull request from a session on behalf of
AndriySvyryd
June 10, 2026 20:43
View session
There was a problem hiding this comment.
Pull request overview
Updates the Microsoft.Data.Sqlite meta-package to depend on the SQLite3 Multiple Ciphers (SQLite3MC) bundle by default, and moves the corresponding central package version to the repo root so the product project can resolve it.
Changes:
- Switched
src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csprojfromSQLitePCLRaw.bundle_e_sqlite3toSQLite3MC.PCLRaw.bundle. - Moved the central
PackageVersionforSQLite3MC.PCLRaw.bundlefromtest/Directory.Packages.propsto the rootDirectory.Packages.propsand removed the duplicate test-only entry.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test/Directory.Packages.props | Removes the test-local central version entry now that the version is defined at the repo root. |
| src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csproj | Changes the meta-package dependency to SQLite3MC.PCLRaw.bundle so consumers get SQLite3MC by default. |
| Directory.Packages.props | Adds the central version entry for SQLite3MC.PCLRaw.bundle to support product builds. |
Member
Co-authored-by: AndriySvyryd <[email protected]>
Co-authored-by: AndriySvyryd <[email protected]>
Copilot
AI
changed the title
Switch Microsoft.Data.Sqlite to SQLite3MC.PCLRaw.bundle
Switch Microsoft.Data.Sqlite and EFCore.Sqlite to SQLite3MC.PCLRaw.bundle
Jun 12, 2026
wtgodbe
approved these changes
Jun 15, 2026
Closed
2 tasks
This was referenced Jun 22, 2026
Aaronontheweb
added a commit
to Aaronontheweb/akka.net
that referenced
this pull request
Jun 22, 2026
Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402
Aaronontheweb
added a commit
to akkadotnet/akka.net
that referenced
this pull request
Jun 22, 2026
…8278) * fix: suppress GHSA-2m69-gcr7-jv3q in SQLite-backed example projects Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402 * fix: move NuGetAuditSuppress into ItemGroup (MSBuild syntax) <NuGetAuditSuppress> requires an ItemGroup wrapper, not PropertyGroup. This was causing build failures for both SQLite-backed example projects. * fix: add NuGetAuditSuppress to Akka.Persistence.Custom.Tests The full solution build revealed a third SQLite-backed project that also needs the GHSA-2m69-gcr7-jv3q suppress: Akka.Persistence.Custom.Tests.
Aaronontheweb
added a commit
to Aaronontheweb/akka.net
that referenced
this pull request
Jun 22, 2026
Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402
Aaronontheweb
added a commit
to akkadotnet/akka.net
that referenced
this pull request
Jun 22, 2026
* fix: add NuGetAuditSuppress to Akka.Persistence.Custom.Tests The full solution build revealed a third SQLite-backed project that also needs the GHSA-2m69-gcr7-jv3q suppress: Akka.Persistence.Custom.Tests. * fix: move NuGetAuditSuppress into ItemGroup (MSBuild syntax) <NuGetAuditSuppress> requires an ItemGroup wrapper, not PropertyGroup. This was causing build failures for both SQLite-backed example projects. * fix: suppress GHSA-2m69-gcr7-jv3q in SQLite-backed example projects Pin SQLitePCLRaw.lib.e_sqlite3 to 3.50.3 was rejected because it's an unlisted version. Instead, add NuGetAuditSuppress for GHSA-2m69-gcr7-jv3q (CVE-2025-6965) to the affected example projects, matching the approach used in netclaw-dev/netclaw#1444. Upstream fix tracking: - dotnet/efcore#38402 * fix: remove duplicate NuGetAuditSuppress from PropertyGroup <NuGetAuditSuppress> must only be in <ItemGroup>, not <PropertyGroup>. This was causing MSBuild errors for Akka.Persistence.Custom and ClusterSharding.Node example projects.
Closed
ViveliDuCh
added a commit
to ViveliDuCh/efcore
that referenced
this pull request
Jun 27, 2026
ViveliDuCh
added a commit
to ViveliDuCh/efcore
that referenced
this pull request
Jun 27, 2026
ViveliDuCh
added a commit
to ViveliDuCh/efcore
that referenced
this pull request
Jun 27, 2026
This was referenced Jun 30, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes the
Microsoft.Data.SqliteandMicrosoft.EntityFrameworkCore.Sqlitepackages to bundleSQLite3MC.PCLRaw.bundleinstead ofSQLitePCLRaw.bundle_e_sqlite3, giving shipped consumers a native SQLite build with encryption (SQLite3 Multiple Ciphers) by default, and updates the SQLite benchmarks to use the same bundle.Changes
src/Microsoft.Data.Sqlite/Microsoft.Data.Sqlite.csprojandsrc/EFCore.Sqlite/EFCore.Sqlite.csprojnow referenceSQLite3MC.PCLRaw.bundle.benchmark/EFCore.Sqlite.Benchmarks/EFCore.Sqlite.Benchmarks.csprojnow referencesSQLite3MC.PCLRaw.bundle.SQLite3MC.PCLRaw.bundlePackageVersionfromtest/Directory.Packages.propsup to the rootDirectory.Packages.propsso non-test product projects resolve it, removed the duplicate test entry, and updated$(SQLite3MCPCLRawBundleVersion)to2.3.5ineng/Versions.props.Test coverage
No structural test change required — the existing Microsoft.Data.Sqlite provider matrix still exercises both bundles via separate projects and
DefineConstants:Microsoft.Data.Sqlite.Tests→E_SQLITE3/SQLitePCLRaw.bundle_e_sqlite3Microsoft.Data.Sqlite.sqlite3mc.Tests→SQLITE3MC/SQLite3MC.PCLRaw.bundleTargeted validation also restores and builds the updated
EFCore.SqliteandEFCore.Sqlite.Benchmarksprojects against the new bundle.Notes
Microsoft.Data.SqliteandMicrosoft.EntityFrameworkCore.Sqlitepackages, plus the SQLite benchmark project, to use SQLite3MC by default.bundle_e_sqlite3to preserve existing provider coverage.