Skip to content

Document sqlite3mc glibc requirement and SQLite fallback paths in EF Core 11 breaking changes - #5407

Merged
cincuranet merged 5 commits into
preview.6from
copilot/update-sqlite-dependency-breaking-change
Jul 1, 2026
Merged

Document sqlite3mc glibc requirement and SQLite fallback paths in EF Core 11 breaking changes#5407
cincuranet merged 5 commits into
preview.6from
copilot/update-sqlite-dependency-breaking-change

Conversation

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The EF Core 11 SQLite breaking-change notes did not call out that the bundled sqlite3mc native library requires glibc 2.33+ on Linux, which can cause runtime load failures on older environments. This update adds that compatibility detail and documents the supported fallback paths for macOS and Linux.

  • Compatibility note

    • Adds the glibc 2.33+ requirement for the bundled e_sqlite3mc native library.
    • Calls out the expected runtime symptom on older Linux distributions (GLIBC_2.33 not found).
  • Fallback guidance

    • Documents how to opt out of the bundled sqlite3mc library by switching to .Core packages.
    • Covers two supported alternatives:
      • use the standard e_sqlite3 bundle
      • use SQLitePCLRaw.provider.sqlite3 with a system-installed or self-built SQLite library
  • Package examples

    • Adds package reference examples for both Microsoft.Data.Sqlite and EF Core consumers.
    • Includes the explicit provider initialization required when using SQLitePCLRaw.provider.sqlite3.
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="11.0.0" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="3.x.x" />
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());

Comment thread entity-framework/core/what-is-new/ef-core-11.0/breaking-changes.md Outdated
Comment thread entity-framework/core/what-is-new/ef-core-11.0/breaking-changes.md Outdated
Comment thread entity-framework/core/what-is-new/ef-core-11.0/breaking-changes.md Outdated
@AndriySvyryd
AndriySvyryd marked this pull request as ready for review June 30, 2026 21:17
@AndriySvyryd
AndriySvyryd requested a review from cincuranet June 30, 2026 21:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Comment thread entity-framework/core/what-is-new/ef-core-11.0/breaking-changes.md Outdated
Copilot AI requested a review from AndriySvyryd July 1, 2026 01:31
@cincuranet
cincuranet merged commit 7669a35 into preview.6 Jul 1, 2026
3 checks passed
@cincuranet
cincuranet deleted the copilot/update-sqlite-dependency-breaking-change branch July 1, 2026 09:37
AndriySvyryd added a commit that referenced this pull request Jul 13, 2026
Document EF Core 11 FullJoin support (#5374)
Document EF Core 11 indexing enhancements (#5380)
Document runtime migration creation (`--add` option for `database update`) (#5384)
Document obsoletion of owned JSON collections without an explicit key (EF11) (#5383)
Document Microsoft.Data.Sqlite SQLite3MC breaking change (#5385)
Document sqlite3mc glibc requirement and SQLite fallback paths in EF Core 11 breaking changes (#5407)

Document PR #38440 provider-facing breaking change
Add xUnit v3 upgrade as a test change in provider-facing changes
Add PR #38192 (complex-type keys/indexes) as a provider-facing change (#5392)

Fixes #5246
Fixes #5238

Co-authored-by: Andriy Svyryd <AndriySvyryd@users.noreply.github.com>
Co-authored-by: Shay Rojansky <roji@roji.org>
Co-authored-by: Jiri Cincura ↹ <jiri@cincura.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants