Update Microsoft.Data.Sqlite to 10.0.11 - #304
Merged
Michael Jolley (michaeljolley) merged 3 commits intoSep 8, 2026
Merged
Michael Jolley (michaeljolley) merged 3 commits into
Michael Jolley (michaeljolley) merged 3 commits into
Conversation
Add an explicit bundle reference so Microsoft.Data.Sqlite resolves the updated native SQLite library. Add a runtime-version regression test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 29358262-0349-4b94-92cd-209de73b0420
Copilot started reviewing on behalf of
Gordon Lam (yeelam-gordon)
September 8, 2026 01:17
View session
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The change is small and low-risk, and the added test directly validates the native SQLite runtime version requirement.
Pull request overview
This PR updates the SQLite native bundle used by the extension to ensure the runtime loads a SQLite version that meets the security advisory minimum, independent of the broader .NET 10 migration work.
Changes:
- Add an explicit
SQLitePCLRaw.bundle_e_sqlite32.1.12 package reference to override the transitive 2.1.11 selection. - Add a unit test that opens an in-memory SQLite connection and asserts
sqlite_version()is at least 3.50.2.
File summaries
| File | Description |
|---|---|
| GitHubExtension/GitHubExtension.csproj | Pins SQLitePCLRaw bundle to 2.1.12 to ensure the updated native SQLite is used. |
| GitHubExtension.Test/DataStoreTests/DataObjectTests.cs | Adds a regression test validating the loaded native SQLite version meets the minimum required version. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 29358262-0349-4b94-92cd-209de73b0420
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 29358262-0349-4b94-92cd-209de73b0420
Gordon Lam (yeelam-gordon)
requested a review
from Michael Jolley (michaeljolley)
September 8, 2026 01:50
Michael Jolley (michaeljolley)
approved these changes
Sep 8, 2026
Michael Jolley (michaeljolley)
merged commit Sep 8, 2026
16906fe
into
microsoft:main
3 checks passed
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.
Summary
Update the existing direct dependency
Microsoft.Data.Sqlitefrom 10.0.10 to 10.0.11. This is the only code change in this PR.Why this version
Microsoft.Data.Sqlite 10.0.10selects SQLitePCLRaw 2.1.11, including the old native SQLite package. The 10.0.11 package declares dependencies on SQLitePCLRaw bundle/core 2.1.12, so updating the higher-level dependency brings in the updated native library without an explicit transitive-package override.Resolved dependency chain:
No additional package references, version-assertion tests, database schema changes, or save-behavior changes. The existing
PowerToysPublicDependenciesNuGet configuration is unchanged.Validation