Skip to content

Commit 56f7098

Browse files
Version Bump v9.4.0: PR #458: Add a StringToEmailAddress helper function
1 parent 1712500 commit 56f7098

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [9.4.0] - 2017-5-17
5+
## Update
6+
- PR #458: Add a StringToEmailAddress helper function
7+
- Thanks to [Jef Statham](https://github.com/JefStat) for the PR!
8+
49
## [9.3.0] - 2017-5-16
510
## Update
611
- PR #456: Fixed #403 Implements an interface for mocking and DI

nuspec/Sendgrid.9.3.0.nuspec renamed to nuspec/Sendgrid.9.4.0.nuspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>Sendgrid</id>
5-
<version>9.3.0</version>
5+
<version>9.4.0</version>
66
<title>SendGrid</title>
77
<authors>Elmer Thomas,SendGrid DX Team</authors>
88
<licenseUrl>https://github.com/sendgrid/sendgrid-csharp/blob/master/MIT.LICENSE</licenseUrl>
99
<projectUrl>https://github.com/sendgrid/sendgrid-csharp</projectUrl>
10-
<iconUrl>https://sendgrid.com/wp-content/themes/sgdotcom/pages/brand/2016/SendGrid-Logomark.png</iconUrl>
10+
<iconUrl>https://sendgrid.com/wp-content/themes/sgdotcom/pages/resource/brand//2016/SendGrid-Logomark.png</iconUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>C# client library and examples for using SendGrid API's to send mail and access Web API v3 endpoints with .NET Standard 1.3 and .NET Core support. Github repo located at : https://github.com/sendgrid/sendgrid-csharp</description>
1313
<summary>C# client library and examples for using SendGrid API's to send mail and access Web API v3 endpoints with .NET Standard 1.3 and .NET Core support.</summary>
1414
<releaseNotes>## Update
15-
- PR #456: Fixed #403 Implements an interface for mocking and DI
16-
- Thanks to [Nate](https://github.com/nate-fr) for the PR!</releaseNotes>
15+
- PR #458: Add a StringToEmailAddress helper function
16+
- Thanks to [Jef Statham](https://github.com/JefStat) for the PR!</releaseNotes>
1717
<copyright>SendGrid, Inc. 2017</copyright>
1818
<tags>SendGrid Email Mail Microsoft Azure Transactional .NET Core</tags>
1919
<dependencies>

src/SendGrid/Helpers/Mail/MailHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ public static EmailAddress StringToEmailAddress(string rfc2822Email)
147147
return new EmailAddress(email, name);
148148
}
149149
}
150-
}
150+
}

src/SendGrid/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
// The following GUID is for the ID of the typelib if this project is exposed to COM
2323
[assembly: Guid("377c20e4-2297-488f-933b-fb635c56d8fc")]
2424

25-
[assembly: AssemblyInformationalVersion("9.3.0")]
25+
[assembly: AssemblyInformationalVersion("9.4.0")]

src/SendGrid/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
}
4949
}
5050
},
51-
"version": "9.3.0"
51+
"version": "9.4.0"
5252
}

tests/SendGrid.Tests/Integration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6044,7 +6044,7 @@ public class MailHelperTests
60446044
[InlineData("Name Of A Person+", "[email protected]", "Name Of A Person+ < [email protected] > ")]
60456045
[InlineData("", "[email protected]", " [email protected] ")]
60466046
[InlineData(null, "notAValidEmail", "notAValidEmail")]
6047-
public void StringToEmail(string expectedName, string expectedEmail, string rf2822Email)
6047+
public void TestStringToEmail(string expectedName, string expectedEmail, string rf2822Email)
60486048
{
60496049
var address = MailHelper.StringToEmailAddress(rf2822Email);
60506050
Assert.Equal(expectedEmail, address.Email);

0 commit comments

Comments
 (0)