Repository navigation
Document SqlClient 6.1.6 dependency size impact in EF Core 10 - #5486
Merged
Merged
Conversation
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
|
|
||
| #### Mitigations | ||
|
|
||
| If your application doesn't need to connect to Azure SQL, explicitly reference Microsoft.Data.SqlClient 7.1.x in your project to override the version used by EF Core. Starting with version 7.0, Microsoft.Data.SqlClient no longer includes Azure/Entra ID authentication dependencies in its core package. |
Member
There was a problem hiding this comment.
@copilot Clarify that it's a required dependency to use Entra ID, not Azure SQL in general
Contributor
Author
There was a problem hiding this comment.
Clarified that Microsoft.Identity.Client.Broker is required for Microsoft Entra ID authentication and changed the mitigation to refer to Entra ID use rather than Azure SQL connectivity. Commit: af2f570.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved issues block approval; the remaining documentation concern is a minor nit.
0 open findings
What changed in this PR
Documents the published-size impact of Microsoft.Data.SqlClient 6.1.6 in EF Core 10.
Changes:
- Adds a low-impact SQL Server breaking-change entry.
- Documents the broker dependency and size impact.
- Recommends SqlClient 7.1.x and links authentication guidance.
| File | Description |
|---|---|
entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md |
Adds SQL Client dependency documentation and mitigation guidance. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
cincuranet
approved these changes
Oct 16, 2026
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.

Microsoft.Data.SqlClient 6.1.6 adds Microsoft.Identity.Client.Broker, which can drastically increase published app size.