Skip to content

Commit

Permalink
Merge pull request #217 from EasyPost/v2.8.2
Browse files Browse the repository at this point in the history
chore: prepare v2.8.2 for release
  • Loading branch information
Justintime50 authored Feb 25, 2022
2 parents a1bcc7a + e3e76c0 commit ce139b0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v2.8.2 (2022-02-25)

* 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

## v2.8.1 (2022-02-17)

* Repackaged the project which contains all the changes made from `2.6.0` - `2.8.0`
Expand Down
2 changes: 1 addition & 1 deletion EasyPost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>EasyPost-Official</id>
<title>EasyPost (Official)</title>
<version>2.8.1</version>
<version>2.8.2</version>
<authors>EasyPost</authors>
<owners>EasyPost</owners>
<projectUrl>http://www.easypost.com</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions EasyPost/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ public Client(ClientConfiguration clientConfiguration)
{
// ref Example 1: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assemblyname.version?view=netframework-4.8#examples
_libraryVersion = typeof(Client).Assembly.GetName().Version.ToString();
} catch (Exception)
}
catch (Exception)
{
_libraryVersion = "Unknown";
}


string dotNetVersion = Environment.Version.ToString();
if (dotNetVersion == "4.0.30319.42000")
{
Expand Down
6 changes: 3 additions & 3 deletions EasyPost/VersionInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Reflection;

// Version information for an assembly must follow semantic versioning
[assembly: AssemblyVersion("2.8.1")]
[assembly: AssemblyFileVersion("2.8.1")]
[assembly: AssemblyInformationalVersion("2.8.1")]
[assembly: AssemblyVersion("2.8.2")]
[assembly: AssemblyFileVersion("2.8.2")]
[assembly: AssemblyInformationalVersion("2.8.2")]

0 comments on commit ce139b0

Please sign in to comment.