Skip to content

Releases: meokullu/NuGetVersionChecker

v1.4.0 File path of .csproj

15 Mar 14:09
7e2b0d7

Choose a tag to compare

Github releases (by release)

Compare with previous
On this release;

Properties
CurrentDirectory, StartupPath and AppName properties are added under ParseFile.cs
You can easily comine those when needed.
GetFilePath() is also provides combined path to direct access of entry assembly's .csproj file.

  • CurrentDirectory gets data from Directory.GetCurrentDirectory()

  • StartupPath gets data from Directory.GetParent(CurrentDirectory).Parent.Parent.FullName. (Assuming two level of file layer)

  • AppName gets data from Assembly.GetEntryAssembly().GetName().Name

When needed, instead of GetEntryAssembly() can be replaced with GetCallingAssembly() or GetExecutingAssembly().

v1.3.0 Network availability

24 Nov 18:51
421c0e0

Choose a tag to compare

Github releases (by release)

Compare with previous
On this release;

Network availability
Before API calls to NuGet, using of NetworkInterface.GetIsNetworkAvailable() and try-catch mechanism is added on GetPackageFromNuGetAsync(string packageName, bool includePrerelease) and GetPackagesFromNuGetAsync(List<string> packageNameList, bool includePrerelease) methods.

Return data null check
Null data check are added to CheckVersionAsync(string path, bool includePrerelease) and CheckVersionAsync(List<string> pathList, bool includePrerelease). If return data is null, it returns empty Package and list of empty Package.

v1.2.0 Optional prerelease versions

08 Jul 00:51
4121141

Choose a tag to compare

Github releases (by release)

Compare with previous
On this release;

  • PackageEqualityComparer class is added into Package. It has Equal(Package x, Package y) and GetHashCode(Package obj) interface methods of IEqualityComparer<Package>.
  • CheckVersionAsync(List<string> pathList, bool includePrerelease) method is added. This method uses distinction before call GetPackagesFromNuGet(List<string> packageNameList) to get packages to compare their versions.
  • GetPackageFromNuGetAsync(string packageName) method now has optional parameter of includePrerelease which is set to false to indicate if prerelease is included for search.
  • GetPackagesFromNuGetAsync(List<string> packageNameList) method now has optional parameter of includePrerelease which is set to false to indicate if prerelease is included for search.
  • CheckVersionAsync(string path) method now has optional parameter of includePrerelease which is set to false to indicate if prerelease is included for search.

1.1.0 Request data checkings

24 Jun 01:58
ec4baaf

Choose a tag to compare

Github releases (by release)

Compare with previous

On this release;
GetPackageFromNuGetAsync(string packageName) and GetPackagesFromNugetAsync(list<string> packageNameList) were using requested package name in order to fill Package Name data as return. With this version, it uses package.Identity.Id from IPackageSearchMetadata as Package Name.

GetPackages(string path) method is now checking if path is null or empty before parsing with XmlDocument.Load() and returns empty list of Package data.

CheckVersionAsync(string path) method is now checking if path is null or empty and returns empty list of Package data.

Override ToString() method is added into Package class.

v1.0.0 Initial release

22 Jun 23:26
958d30d

Choose a tag to compare

Release Candiate

20 Jun 13:02
c2b2c37

Choose a tag to compare

Release Candiate Pre-release
Pre-release

This is release candidate version of NuGetVersionTracker.

  • GetPackageFromNuGetAsync(string packageName)
  • GetPackagesFromNuGetAsync(List<string> packageNameList)
  • GetPackages(string path)
  • CheckVersionAsync(string path)
    methods are funcational and available to use individually.

CheckVersionAsync(string path) returns list of packages where Package has Name, SemanticVersion and UpdateAvailable data which can be used to notify, log and more.

Thank you for using NuGetVersionTracker.