I maintain a number of nuget packages that uses JSON and/or SQL server.
Currently, they have dependencies on Newtonsoft.Json
and System.Data.SqlClient
but I got requests for supporting System.Text.Json
and Microsoft.Data.SqlClient
. Updating the code is trivial but what should I do with the nuget packages?
- Release new major versions of existing packages
- Create new packages
With new major versions, I don't need to update all dependent packages but updates might be confusing for users (e.g. Newtonsoft.Json
users must not update major version).
New packages make it more clear but I'm not sure how to name them. Especially if a package is dependent on both JSON and SQL server (i.e. 3 new packages)
I tried to search nuget.org for example but didn't find anything.
Are there recommendations or best practices for situations like this?