DbUp / dbup-sqlserver

Microsoft SQL Server provider for DbUp
MIT License
4 stars 3 forks source link

Update Azure SQL Authentication to use Azure.Identity #14

Open evochriso opened 4 months ago

evochriso commented 4 months ago

Checklist

Description

Replace deprecated package Microsoft.Azure.Services.AppAuthentication with Azure.Identity Resolves #12

droyad commented 4 months ago

Thanks I'll pull this in when we drop support System.Data.SqlClient (a breaking change).

Bartleby2718 commented 4 months ago

@droyad If you don't mind educating a fellow engineer, would you be willing to explain why it'd be better to wait for another major version bump?

My understanding is that:

(Hope I didn't miss anything obvious.)

evochriso commented 4 months ago

Thanks I'll pull this in when we drop support System.Data.SqlClient (a breaking change).

@droyad this update shouldn't be a breaking change since it doesn't change behavior or API surface, just swaps a deprecated dependency for its replacement, and has no dependency on System.Data.SqlClient. Perhaps a minor version bump instead of wait for the next major release? As mentioned by @Bartleby2718 - the usage of the deprecated package is causing dbup-sqlserver to be flagged by security scanners and a higher priority issue than removing the System.Data.SqlClient package which is not yet deprecated (just needs version bump to resolve security vulnerability).