Skip to content

Commit

Permalink
Bumped version to 2.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Jul 28, 2021
1 parent ca0751c commit 1e34019
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 24 deletions.
2 changes: 1 addition & 1 deletion MailKit/MailKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>An Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices.</Description>
<AssemblyTitle>MailKit</AssemblyTitle>
<VersionPrefix>2.13.0</VersionPrefix>
<VersionPrefix>2.14.0</VersionPrefix>
<Authors>Jeffrey Stedfast</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net45;net46;net47;net48;net50</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
6 changes: 3 additions & 3 deletions MailKit/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
//
// If there have only been bug fixes, bump the Micro Version and/or the Build Number
// in the AssemblyFileVersion attribute.
[assembly: AssemblyInformationalVersion ("2.13.0.0")]
[assembly: AssemblyFileVersion ("2.13.0.0")]
[assembly: AssemblyVersion ("2.13.0.0")]
[assembly: AssemblyInformationalVersion ("2.14.0.0")]
[assembly: AssemblyFileVersion ("2.14.0.0")]
[assembly: AssemblyVersion ("2.14.0.0")]
8 changes: 4 additions & 4 deletions MailKit/Security/SslHandshakeException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ internal static SslHandshakeException Create (MailService client, Exception ex,
try {
int rootIndex = validationInfo.ChainElements.Count - 1;
if (rootIndex > 0)
root = validationInfo.ChainElements[rootIndex].Certificate;
certificate = validationInfo.Certificate;
root = new X509Certificate2 (validationInfo.ChainElements[rootIndex].Certificate.RawData);
certificate = new X509Certificate2 (validationInfo.Certificate.RawData);

if ((validationInfo.SslPolicyErrors & SslPolicyErrors.RemoteCertificateNotAvailable) != 0) {
message.AppendLine ("The SSL certificate for the server was not available.");
Expand Down Expand Up @@ -280,7 +280,7 @@ internal static SslHandshakeException Create (MailService client, Exception ex,

sealed class SslChainElement : IDisposable
{
public readonly X509Certificate Certificate;
public readonly X509Certificate2 Certificate;
public readonly X509ChainStatus[] ChainElementStatus;
public readonly string Information;

Expand All @@ -304,7 +304,7 @@ sealed class SslCertificateValidationInfo : IDisposable
public readonly List<SslChainElement> ChainElements;
public readonly X509ChainStatus[] ChainStatus;
public readonly SslPolicyErrors SslPolicyErrors;
public readonly X509Certificate Certificate;
public readonly X509Certificate2 Certificate;
public readonly string Host;

public SslCertificateValidationInfo (object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
Expand Down
17 changes: 16 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
# Release Notes

### MailKit 2.14.0 (2021-07-28)

* Added support for logging timestamps in the `ProtocolLogger` (see the `LogTimestamps` and `TimestampFormat`
properties on `ProtocolLogger`).
* Added support for automatically redacting user credentials in protocol logs. To enable this, set the
`ProtocolLogger.RedactSecrets` property to `true`. (issue [#1174](https://github.com/jstedfast/MailKit/issues/1174))
* Added the GetMessageSizeAsync() method to the IMailSpool interface.
(issue [#1233](https://github.com/jstedfast/MailKit/issues/1233))
* Added a work-around to the IMAP INTERNALDATE parser to handle invalid dates such as "00-Jan-0000 00:00:00 +0000"
which appears in Domino IMAP server responses, likely when the INTERNALDATE value is uninitialized in the database.
(issue [#1236](https://github.com/jstedfast/MailKit/issues/1236))
* Make sure to dispose X509Certificates in .NET >= 4.6.
* Re-added NTLM as one of the default supported SASL mechanisms.
* Updated GMail SSL certificate serial numbers and fingerprints.

### MailKit 2.13.0 (2021-06-12)

* Added new properties to all clients to get SSL cipher/hash/protocol/key-exchange info.
(issue [#1175](https://github.com/jstedfast/MailKit/issues/1175))
* Added support for GMail's WEBALERT resp-code.
(issue [#1214](https://github.com/jstedfast/MailKit/issues/1175))
(issue [#1214](https://github.com/jstedfast/MailKit/issues/1214))
* Updated GMail SSL certificate serial numbers and fingerprints.

### MailKit 2.12.0 (2021-05-12)
Expand Down
24 changes: 14 additions & 10 deletions nuget/MailKit.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>MailKit</id>
<version>2.13.0</version>
<version>2.14.0</version>
<title>MailKit</title>
<authors>Jeffrey Stedfast</authors>
<owners>Jeffrey Stedfast</owners>
Expand All @@ -26,8 +26,12 @@ Features include:
</description>
<summary>An Open Source .NET mail-client library for Windows, Mac, Linux, and mobile platforms such as iOS and Android.</summary>
<releaseNotes>
* Added new properties to all clients to get SSL cipher/hash/protocol/key-exchange info. (issue #1175)
* Added support for GMail's WEBALERT resp-code. (issue #1214)
* Added support for logging timestamps in the ProtocolLogger (see the LogTimestamps and TimestampFormat properties on ProtocolLogger).
* Added support for automatically redacting user credentials in protocol logs. To enable this, set the ProtocolLogger.RedactSecrets property to true. (issue #1174)
* Added the GetMessageSizeAsync() method to the IMailSpool interface. (issue #1233)
* Added a work-around to the IMAP INTERNALDATE parser to handle invalid dates such as "00-Jan-0000 00:00:00 +0000" which appears in Domino IMAP server responses, likely when the INTERNALDATE value is uninitialized in the database. (issue #1236)
* Make sure to dispose X509Certificates in .NET >= 4.6.
* Re-added NTLM as one of the default supported SASL mechanisms.
* Updated GMail SSL certificate serial numbers and fingerprints.

API Changes Since 2.0.x:
Expand Down Expand Up @@ -75,25 +79,25 @@ client.Authenticate (new SaslMechanismOAuth2 (username, auth_token));
</frameworkAssemblies>
<dependencies>
<group targetFramework="net45">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
<group targetFramework="net46">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
<group targetFramework="net47">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
<group targetFramework="net48">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
<group targetFramework="net50">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="MimeKit" version="2.13.0" />
<dependency id="MimeKit" version="2.14.0" />
</group>
</dependencies>
</metadata>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit" Version="2.13.0" />
<PackageReference Include="MailKit" Version="2.14.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<Reference Include="MonoTouch.Dialog-1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit" Version="2.13.0" />
<PackageReference Include="MailKit" Version="2.14.0" />
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit" Version="2.13.0" />
<PackageReference Include="MailKit" Version="2.14.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="FolderSelectedEventArgs.cs" />
Expand Down
2 changes: 1 addition & 1 deletion samples/ImapIdle/ImapIdle/ImapIdle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<Reference Include="System.Security" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit" Version="2.13.0" />
<PackageReference Include="MailKit" Version="2.14.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
Expand Down

0 comments on commit 1e34019

Please sign in to comment.