Skip to content

Commit 81a5e4b

Browse files
committed
v1.16.3: Release notes without any links caused a ArgumentNullException when retrieving GPU information. See issue #159
1 parent 2e6f71b commit 81a5e4b

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [1.16.3] - 2023-01-26
8+
### Fixed
9+
- Release notes without any links caused a `ArgumentNullException` when retrieving GPU information. See issue #159
10+
711
## [1.16.2] - 2023-01-26
812
### Fixed
9-
- Release notes without an image tag caused a NullReferenceException when retrieving GPU information. See issue #151
13+
- Release notes without an image tag caused a `NullReferenceException` when retrieving GPU information. See issue #151
1014

1115
### Changed
12-
- Changed the URL of the update URL to show all versions because hotfixes updates wont show the full changelog for minor version update.
16+
- Changed the URL of the update URL to show all versions because hotfixes updates wont show the full changelog for minor version update
1317

1418
## [1.16.1] - 2023-01-21
1519
### Fixed

TinyNvidiaUpdateChecker/MainConsole.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,10 @@ private static void Main(string[] args)
174174
}
175175

176176
// Remove all links
177-
var hrefNodes = htmlDocument.DocumentNode.SelectNodes("//a").Where(x => x.Attributes.Contains("href"));
178-
foreach (var child in hrefNodes) child.Remove();
177+
try {
178+
var hrefNodes = htmlDocument.DocumentNode.SelectNodes("//a").Where(x => x.Attributes.Contains("href"));
179+
foreach (var child in hrefNodes) child.Remove();
180+
} catch { }
179181

180182
// Finally set new release description
181183
releaseDesc = htmlDocument.DocumentNode.OuterHtml;

TinyNvidiaUpdateChecker/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
// Minor Version
2020
// Patch
2121
// Following the Semantic Versioning 2.0.0 standard; see http://semver.org/spec/v2.0.0.html.
22-
[assembly: AssemblyVersion("1.16.2")]
23-
[assembly: AssemblyFileVersion("1.16.2")]
22+
[assembly: AssemblyVersion("1.16.3")]
23+
[assembly: AssemblyFileVersion("1.16.3")]

0 commit comments

Comments
 (0)