Azure / Azure/data-api-builder
[Enh]: Time to update the SqlClient driver
- Vorherrschende Sprache
- C#
- Sterne
- 1.5k
- Forks
- 370
- Ø Merge
- 3 T. 22 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
## What?
The latest stable SqlClient is `7.0.0`.
DAB is using `5.2.3` which is 2 major versions behind.
## Why?
1. Leaner, modular architecture. 7.0 was rewritten to be more lightweight with reduced dependencies
2. Improved OpenIdConnect/Entra ID authentication support which will matter to MCP soon!
3. Enhanced connection resiliency and retry logic. Just makes it all better.
4. TDS 8.0 protocol support for stricter encryption
5. Performance improvements across connection pooling and query execution
6. Security patches accumulated over two major versions
## Potential risks
1. Major version bumps (5 → 6 → 7) typically include breaking changes in API surface, connection string behavior, and default encryption settings. It should be okay, but this will require some testing and research to be sure.
2. SqlClient 6.0+ changed default encryption to `Mandatory`, which might break connections, but we can account for it
3. DAB's codebase has a note reminding devs to update scripts/notice-generation.ps1 when changing this package, suggesting there are known downstream impacts
Beitragsleitfaden
Rechercherichtung
Ermitteln Sie die DAB-Paketreferenz für Microsoft.Data.SqlClient und prüfen Sie scripts/notice-generation.ps1, das im Issue als nachgelagerter Aktualisierungspunkt genannt wird. Recherchieren Sie die Breaking Changes von 5.x-to-7.0, insbesondere das obligatorische Verschlüsselungs- und Authentifizierungsverhalten, und überprüfen Sie anschließend die betroffenen Datenbankverbindungen und vorhandenen Prüfungen. Die Aufgabe ist abgeschlossen, wenn das Projekt SqlClient 7.0.0 verwendet, die Notice-Generierung aktuell ist und Kompatibilitätsrisiken berücksichtigt sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- databases
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100