Skip to content

Commit ce139b0

Browse files
authored
Merge pull request #217 from EasyPost/v2.8.2
chore: prepare v2.8.2 for release
2 parents a1bcc7a + e3e76c0 commit ce139b0

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## v2.8.2 (2022-02-25)
4+
5+
* Fixes a bug where failure to retrieve Assembly information to populate the `User-Agent` header on some platforms/versions would result in the inability to make HTTP requests
6+
37
## v2.8.1 (2022-02-17)
48

59
* Repackaged the project which contains all the changes made from `2.6.0` - `2.8.0`

EasyPost.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>EasyPost-Official</id>
55
<title>EasyPost (Official)</title>
6-
<version>2.8.1</version>
6+
<version>2.8.2</version>
77
<authors>EasyPost</authors>
88
<owners>EasyPost</owners>
99
<projectUrl>http://www.easypost.com</projectUrl>

EasyPost/Client.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ public Client(ClientConfiguration clientConfiguration)
5252
{
5353
// ref Example 1: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assemblyname.version?view=netframework-4.8#examples
5454
_libraryVersion = typeof(Client).Assembly.GetName().Version.ToString();
55-
} catch (Exception)
55+
}
56+
catch (Exception)
5657
{
5758
_libraryVersion = "Unknown";
5859
}
5960

60-
6161
string dotNetVersion = Environment.Version.ToString();
6262
if (dotNetVersion == "4.0.30319.42000")
6363
{

EasyPost/VersionInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Reflection;
22

33
// Version information for an assembly must follow semantic versioning
4-
[assembly: AssemblyVersion("2.8.1")]
5-
[assembly: AssemblyFileVersion("2.8.1")]
6-
[assembly: AssemblyInformationalVersion("2.8.1")]
4+
[assembly: AssemblyVersion("2.8.2")]
5+
[assembly: AssemblyFileVersion("2.8.2")]
6+
[assembly: AssemblyInformationalVersion("2.8.2")]

0 commit comments

Comments
 (0)