ShipEngine / shipengine-dotnet

The official ShipEngine SDK for C# and the .NET Framework
https://www.shipengine.com/docs/
Apache License 2.0
11 stars 11 forks source link

Add analyzer to track public API changes #83

Closed joshuaflanagan closed 6 months ago

joshuaflanagan commented 6 months ago

The Microsoft.CodeAnalysis.PublicApiAnalyzers will track changes to the published public API. It provides warnings/code fixes to update the PublicAPI.Unshipped.txt files when a change is detected. When make a release, move the changes from the .Unshipped to .Shipped and update the CHANGELOG accordingly.

This should help prevent accidental breaking changes and help manage APIs we plan to deprecate.

Also update the .NET Framework version from 4.6.1 to 4.6.2, as 4.6.1 developer pack is no longer available.