Releases: basicx-StrgV/WGet.NET
WGet.NET 2.0.0
Info
Version 2.0 comes with a bunch of changes, improvements and new features.
Please read this changelog before updating.
If you are currently using an older version of this library in your project, be aware that you can not update from it to version 2.x.x without changing the imlementation in your project.
Changelog
Changes
Structural changes
In versions older than 2.0 the library provided one class called “WinGetConnector” for all its functionalities. This was changed in version 2.0. The content of the “WinGetConnector” was split to two classes and a third one was added for the new functions. This was done to provide an overall better strukture. The new classes are:
- WinGetInfo
- WinGetPackageManager
- WinGetSourceManager
The new “WinGetInfo” class can be used to check if WinGet is installed and to get the version number of the current WinGet installation, while the “WinGetPackageManager” and “WinGetSourceManager” classes can be used to manage packages and sources with WinGet.
Other changes
All asynchronous methods got removed for now, because of poor implementation.
They where added again, with better implementation, in version 2.3.0.
Improvements
The XML code documentation was improved and now shows better information about the action, parameters, return type and the possible exceptions of a method.
Some internal processes have also been improved and redundancies were eliminated to achieve better performance.
Using this library should now, hopefully, be a better experience.
New features
- Added the function to add sources to WinGet
- Added the function to get a list of installed sourced
- Added the function to update sources
- Added the function to remove sources from WinGet
- Added the function to reset sources
- Added the function to export sources
- Added a new exception for failed actions
- Actions that need administrator privileges will throw a security exception if the privilege is missing
Known Issues
- Packages with a longer name or id might not be processed
Package
WGet.NET 1.2.0
Changelog:
Added the function to get a list of installed packages
Added the option to export and import packages
Known Issues:
- Packages with a longer name or id might not be processed
Package:
WGet.NET 1.1.0
Changelog:
Added support for package upgrades
Known Issues:
- Packages with a longer name or id might not be processed
Package:
WGet.NET 1.0.1
Added a property to get the installation status
Added a property to get the installed winget version