From fccb9d78b9617c449a6fc4ac707324b4d2cdd024 Mon Sep 17 00:00:00 2001 From: Elmer Thomas Date: Tue, 22 Aug 2017 12:16:23 -0700 Subject: [PATCH] Version Bump v9.9.0: #509 Transient Fault Handling (dependency free) --- CHANGELOG.md | 7 +++++++ USE_CASES.md | 4 ++-- nuspec/{Sendgrid.9.8.0.nuspec => Sendgrid.9.9.0.nuspec} | 9 +++++---- src/SendGrid/Properties/AssemblyInfo.cs | 2 +- src/SendGrid/SendGrid.csproj | 2 +- 5 files changed, 16 insertions(+), 8 deletions(-) rename nuspec/{Sendgrid.9.8.0.nuspec => Sendgrid.9.9.0.nuspec} (82%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96ec6ecdd..08ad8e12c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log All notable changes to this project will be documented in this file. +## [9.9.0] - 2017-08=22 +## Added +- #509 Transient Fault Handling (dependency free) +- Implements retry behaviour for transient faults when using HttpClient to send the request. +- Please see #509 and [USE_CASES.md](https://github.com/sendgrid/sendgrid-csharp/blob/master/USE_CASES.md#transient_faults) for details. +- Thanks to [Dylan Morley](https://github.com/dylan-asos) for the PR! + ## [9.8.0] - 2017-08-15 ## Added - Single email to multiple recipients - Toggle display of recipients #508 diff --git a/USE_CASES.md b/USE_CASES.md index b86e7cc93..a5e2b6ecf 100644 --- a/USE_CASES.md +++ b/USE_CASES.md @@ -616,7 +616,7 @@ In this example we are setting RetryCount to 2, with a mimimum wait time of 1 se var options = new SendGridClientOptions { - ApiKey = "Your-Api-Key", + ApiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY"), ReliabilitySettings = new ReliabilitySettings(2, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(3)) }; @@ -630,7 +630,7 @@ The SendGridClientOptions object defines all the settings that can be set for th var options = new SendGridClientOptions { - ApiKey = "Your-Api-Key", + ApiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY"), ReliabilitySettings = new ReliabilitySettings(2, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(3)), Host = "Your-Host", UrlPath = "Url-Path", diff --git a/nuspec/Sendgrid.9.8.0.nuspec b/nuspec/Sendgrid.9.9.0.nuspec similarity index 82% rename from nuspec/Sendgrid.9.8.0.nuspec rename to nuspec/Sendgrid.9.9.0.nuspec index d02bae3e2..8dd2f9359 100644 --- a/nuspec/Sendgrid.9.8.0.nuspec +++ b/nuspec/Sendgrid.9.9.0.nuspec @@ -2,7 +2,7 @@ Sendgrid - 9.8.0 + 9.9.0 SendGrid Elmer Thomas,SendGrid DX Team https://github.com/sendgrid/sendgrid-csharp/blob/master/MIT.LICENSE @@ -12,9 +12,10 @@ 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 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. ## Added -- Single email to multiple recipients - Toggle display of recipients #508 -- The method `CreateSingleEmailToMultipleRecipients` now has an additional optional paramter to control whether the email recipients can see each others email addresses. Please see [USE_CASES.md](https://github.com/sendgrid/sendgrid-csharp/blob/master/USE_CASES.md#singleemailmultiplerecipients) for details. -- Thanks to [Niladri Dutta](Niladri24dutta) for the PR! +- #509 Transient Fault Handling (dependency free) +- Implements retry behaviour for transient faults when using HttpClient to send the request. +- Please see #509 and [USE_CASES.md](https://github.com/sendgrid/sendgrid-csharp/blob/master/USE_CASES.md#transient_faults) for details. +- Thanks to [Dylan Morley](https://github.com/dylan-asos) for the PR! SendGrid, Inc. 2017 SendGrid Email Mail Microsoft Azure Transactional .NET Core diff --git a/src/SendGrid/Properties/AssemblyInfo.cs b/src/SendGrid/Properties/AssemblyInfo.cs index 5eb4106a4..316218cf8 100644 --- a/src/SendGrid/Properties/AssemblyInfo.cs +++ b/src/SendGrid/Properties/AssemblyInfo.cs @@ -22,4 +22,4 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("377c20e4-2297-488f-933b-fb635c56d8fc")] -[assembly: AssemblyInformationalVersion("9.8.0")] +[assembly: AssemblyInformationalVersion("9.9.0")] diff --git a/src/SendGrid/SendGrid.csproj b/src/SendGrid/SendGrid.csproj index 5d92d9405..fd8cab6c1 100644 --- a/src/SendGrid/SendGrid.csproj +++ b/src/SendGrid/SendGrid.csproj @@ -1,7 +1,7 @@  - 9.8.0 + 9.9.0 netstandard1.3;net452 anycpu true