Azure / Azure/data-api-builder
[Enh]: Time to update the SqlClient driver
- Lingua principale
- C#
- Stelle
- 1.5k
- Fork
- 370
- Merge medio
- 3g 17h
- PR unite (30g)
- 8
Descrizione
## 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Individua il riferimento al pacchetto DAB per Microsoft.Data.SqlClient ed esamina scripts/notice-generation.ps1, che l’issue identifica come punto di aggiornamento downstream. Analizza le breaking changes da 5.x-to-7.0, in particolare il comportamento obbligatorio di crittografia e autenticazione, quindi verifica le connessioni al database interessate e i controlli esistenti. Il lavoro è completato quando il progetto usa SqlClient 7.0.0, la generazione delle notice è aggiornata e i rischi di compatibilità sono stati affrontati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 52/100