Skip to content

Commit 77eb925

Browse files
committedMar 26, 2022
Bumped version to 3.2.0
1 parent 1af5110 commit 77eb925

File tree

12 files changed

+78
-37
lines changed

12 files changed

+78
-37
lines changed
 

‎MailKit/MailKit.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>An Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices.</Description>
55
<AssemblyTitle>MailKit</AssemblyTitle>
6-
<VersionPrefix>3.1.1</VersionPrefix>
6+
<VersionPrefix>3.2.0</VersionPrefix>
77
<Authors>Jeffrey Stedfast</Authors>
88
<LangVersion>8</LangVersion>
99
<TargetFrameworks>netstandard2.0;netstandard2.1;net452;net461;net47;net48;net5.0;net6.0</TargetFrameworks>

‎MailKit/MailKitLite.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>An Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices.</Description>
55
<AssemblyTitle>MailKit</AssemblyTitle>
6-
<VersionPrefix>3.1.1</VersionPrefix>
6+
<VersionPrefix>3.2.0</VersionPrefix>
77
<Authors>Jeffrey Stedfast</Authors>
88
<LangVersion>8</LangVersion>
99
<TargetFrameworks>netstandard2.0;netstandard2.1;net452;net461;net47;net48;net5.0;net6.0</TargetFrameworks>

‎MailKit/MailService.cs

+6-3
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ internal static bool IsKnownMailServerCertificate (X509Certificate2 certificate)
438438
|| (serial == "68D51349AC1318C30A000000012F9258" && fingerprint == "26C56B1B8BAF1DD0CD79B121E91C83F41C35F66B") // Expires 4/10/2022 11:06:02 PM
439439
|| (serial == "00820A16614E8DFB400A0000000133FA85" && fingerprint == "3D66900B34DA07C9A59D5A0003FAC2A49A87165F") // Expires 5/1/2022 11:05:35 PM
440440
|| (serial == "00A1FAC873319939451200000000036E34" && fingerprint == "EED4B1F452091841FFF0101B3CD761F7047E92C2") // Expires 5/12/2022 7:05:44 AM
441-
|| (serial == "00C471BACE52383A8C0A0000000138EFCA" && fingerprint == "4EBB0BBB6B0EDB1260EF5E2F3CF17327395E7D71"); // Expires 5/22/2022 11:05:57 PM
441+
|| (serial == "00C471BACE52383A8C0A0000000138EFCA" && fingerprint == "4EBB0BBB6B0EDB1260EF5E2F3CF17327395E7D71") // Expires 5/22/2022 11:05:57 PM
442+
|| (serial == "00C4CD3ED3DB3658210A000000013B07A9" && fingerprint == "8022737C26B4EC810A7A7762D92B9DFAE4220294"); // Expires 6/9/2022 7:17:51 AM
442443
default:
443444
return false;
444445
}
@@ -449,7 +450,8 @@ internal static bool IsKnownMailServerCertificate (X509Certificate2 certificate)
449450
|| (serial == "7B9C3FD9595DB8FE0A000000012F9265" && fingerprint == "D6767B51E288B4521BA148C057D6872D74ABCCC6") // Expires 4/10/2022 11:06:17 PM
450451
|| (serial == "690FA8ABF8944DE70A0000000133FA87" && fingerprint == "3B5911EB64E63E7038D105696E0CACABCABA3CE4") // Expires 5/1/2022 11:05:50 PM
451452
|| (serial == "5BF3FD133D8AD8AA0A000000013788F1" && fingerprint == "E877F730265E3C8BBC7264754682A69244E3A8BC") // Expires 5/12/2022 7:05:58 AM
452-
|| (serial == "00E0296234B551A4761200000000044EEF" && fingerprint == "09F02450794512E784EEAFB7849668A24411CB11"); // Expires 5/22/2022 11:06:12 PM
453+
|| (serial == "00E0296234B551A4761200000000044EEF" && fingerprint == "09F02450794512E784EEAFB7849668A24411CB11") // Expires 5/22/2022 11:06:12 PM
454+
|| (serial == "009890C37A3AB544BA0A000000013B07AB" && fingerprint == "A59153D0D8F42BADB27D8E794B8DE588504CAF1B"); // Expires 6/9/2022 7:18:07 AM
453455
default:
454456
return false;
455457
}
@@ -460,7 +462,8 @@ internal static bool IsKnownMailServerCertificate (X509Certificate2 certificate)
460462
|| (serial == "6AA71CAC662B12330A000000012F927C" && fingerprint == "71F149282CF0497750FDE4FA9B0593ADFC5BFA6A") // Expires 4/10/2022 11:07:35 PM
461463
|| (serial == "00B8395DF841DD3C131200000000006058" && fingerprint == "621652D48C9F3E0FBB173A6BFEF20A8FAC5B689C") // Expires 5/1/2022 11:07:04 PM
462464
|| (serial == "00F8654A0FD5B01E3A0A000000013788F7" && fingerprint == "9CE34FAB10006D87F5584E713033AD7A1F151C9A") // Expires 5/12/2022 7:07:12 AM
463-
|| (serial == "380477AB88A384430A0000000138EFD2" && fingerprint == "7C7A0F996AA1125D8326E0128CCDF3F02A6E8A80"); // Expires 5/22/2022 11:07:40 PM
465+
|| (serial == "380477AB88A384430A0000000138EFD2" && fingerprint == "7C7A0F996AA1125D8326E0128CCDF3F02A6E8A80") // Expires 5/22/2022 11:07:40 PM
466+
|| (serial == "43616C5D100EC6840A000000013B07B3" && fingerprint == "87AB1BDBEA912DB95B9A5F8B55F6FCFFF7939082"); // Expires 6/9/2022 7:19:37 AM
464467
default:
465468
return false;
466469
}

‎MailKit/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@
7979
//
8080
// If there have only been bug fixes, bump the Micro Version and/or the Build Number
8181
// in the AssemblyFileVersion attribute.
82-
[assembly: AssemblyInformationalVersion ("3.1.1.0")]
83-
[assembly: AssemblyFileVersion ("3.1.1.0")]
84-
[assembly: AssemblyVersion ("3.1.0.0")]
82+
[assembly: AssemblyInformationalVersion ("3.2.0.0")]
83+
[assembly: AssemblyFileVersion ("3.2.0.0")]
84+
[assembly: AssemblyVersion ("3.2.0.0")]

‎ReleaseNotes.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Release Notes
22

3+
### MailKit 3.2.0 (2022-03-26)
4+
5+
* Do not use ApplicationProtocols with SSL. (issue [#1352](https://github.com/jstedfast/MailKit/issues/1352))
6+
* Updated GMail, Yahoo, and Outlook.com certificates.
7+
* Lazy-initialize MessageSummary.Keywords. This reduces memory usage when the client isn't requesting Flags/Keywords.
8+
* Hard-cache some IMAP FETCH-related tokens in order to relieve GC pressure for commands like FETCH where there can
9+
be a LOT of responses containing the same tokens over and over again.
10+
* Converted some IMAP async Task methods to use ValueTask to reduce GC pressure.
11+
* Reduced string allocations in the IMAP logic by avoiding use of ToUpperInvariant().
12+
* Added non-async implementations for ImapStream APIs to be used by the synchronous public APIs to avoid some async overhead.
13+
* Reduce MemoryStream (and thus byte[]) allocations by using a new ByteArrayBuilder.
14+
* Rewrote the IMAP CAPABILITY parser to avoid allocating strings.
15+
* Fixed some cases where IMAP NIL tokens were not compared case insensitively.
16+
* Always include the VERSION block in NTLM messages. (issue [#1340](https://github.com/jstedfast/MailKit/issues/1340))
17+
* Target .NET Framework v4.6.1 instead of v4.6 to match the changes in MimeKit.
18+
* Capture the Socket timeout value in Read/WriteAsync() to have it in case of exceptions.
19+
(issue [#1327](https://github.com/jstedfast/MailKit/issues/1327))
20+
321
### MailKit 3.1.1 (2022-01-30)
422

523
* Reduced string allocations in Pop3Engine's capability parser.

‎nuget/MailKit.nuspec

+22-12
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata minClientVersion="2.12">
44
<id>MailKit</id>
5-
<version>3.1.1</version>
5+
<version>3.2.0</version>
66
<title>MailKit</title>
77
<authors>Jeffrey Stedfast</authors>
88
<owners>Jeffrey Stedfast</owners>
@@ -26,9 +26,19 @@ Features include:
2626
</description>
2727
<summary>An Open Source .NET mail-client library for Windows, Mac, Linux, and mobile platforms such as iOS and Android.</summary>
2828
<releaseNotes>
29-
* Reduced string allocations in Pop3Engine's capability parser.
30-
* Updated GMail and Outlook.com SSL certificates.
31-
* Modified SmtpClient to try and use the system hostname in EHLO/HELO commands. (issue #1314)
29+
* Do not use ApplicationProtocols with SSL. (issue #1352)
30+
* Updated GMail, Yahoo, and Outlook.com certificates.
31+
* Lazy-initialize MessageSummary.Keywords. This reduces memory usage when the client isn't requesting Flags/Keywords.
32+
* Hard-cache some IMAP FETCH-related tokens in order to relieve GC pressure for commands like FETCH where there can be a LOT of responses containing the same tokens over and over again.
33+
* Converted some IMAP async Task methods to use ValueTask to reduce GC pressure.
34+
* Reduced string allocations in the IMAP logic by avoiding use of ToUpperInvariant().
35+
* Added non-async implementations for ImapStream APIs to be used by the synchronous public APIs to avoid some async overhead.
36+
* Reduce MemoryStream (and thus byte[]) allocations by using a new ByteArrayBuilder.
37+
* Rewrote the IMAP CAPABILITY parser to avoid allocating strings.
38+
* Fixed some cases where IMAP NIL tokens were not compared case insensitively.
39+
* Always include the VERSION block in NTLM messages. (issue #1340)
40+
* Target .NET Framework v4.6.1 instead of v4.6 to match the changes in MimeKit.
41+
* Capture the Socket timeout value in Read/WriteAsync() to have it in case of exceptions. (issue #1327)
3242
</releaseNotes>
3343
<copyright>.NET Foundation and Contributors</copyright>
3444
<language>en-US</language>
@@ -62,32 +72,32 @@ Features include:
6272
<dependencies>
6373
<group targetFramework="net452">
6474
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
65-
<dependency id="MimeKit" version="3.1.1" />
75+
<dependency id="MimeKit" version="3.2.0" />
6676
</group>
6777
<group targetFramework="net461">
6878
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
69-
<dependency id="MimeKit" version="3.1.1" />
79+
<dependency id="MimeKit" version="3.2.0" />
7080
</group>
7181
<group targetFramework="net47">
7282
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
73-
<dependency id="MimeKit" version="3.1.1" />
83+
<dependency id="MimeKit" version="3.2.0" />
7484
</group>
7585
<group targetFramework="net48">
7686
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
77-
<dependency id="MimeKit" version="3.1.1" />
87+
<dependency id="MimeKit" version="3.2.0" />
7888
</group>
7989
<group targetFramework="net5.0">
80-
<dependency id="MimeKit" version="3.1.1" />
90+
<dependency id="MimeKit" version="3.2.0" />
8191
</group>
8292
<group targetFramework="net6.0">
83-
<dependency id="MimeKit" version="3.1.1" />
93+
<dependency id="MimeKit" version="3.2.0" />
8494
</group>
8595
<group targetFramework="netstandard2.0">
8696
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
87-
<dependency id="MimeKit" version="3.1.1" />
97+
<dependency id="MimeKit" version="3.2.0" />
8898
</group>
8999
<group targetFramework="netstandard2.1">
90-
<dependency id="MimeKit" version="3.1.1" />
100+
<dependency id="MimeKit" version="3.2.0" />
91101
</group>
92102
</dependencies>
93103
</metadata>

‎nuget/MailKitLite.nuspec

+22-12
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata minClientVersion="2.12">
44
<id>MailKitLite</id>
5-
<version>3.1.1</version>
5+
<version>3.2.0</version>
66
<title>MailKit</title>
77
<authors>Jeffrey Stedfast</authors>
88
<owners>Jeffrey Stedfast</owners>
@@ -26,9 +26,19 @@ Features include:
2626
</description>
2727
<summary>An Open Source .NET mail-client library for Windows, Mac, Linux, and mobile platforms such as iOS and Android.</summary>
2828
<releaseNotes>
29-
* Reduced string allocations in Pop3Engine's capability parser.
30-
* Updated GMail and Outlook.com SSL certificates.
31-
* Modified SmtpClient to try and use the system hostname in EHLO/HELO commands. (issue #1314)
29+
* Do not use ApplicationProtocols with SSL. (issue #1352)
30+
* Updated GMail, Yahoo, and Outlook.com certificates.
31+
* Lazy-initialize MessageSummary.Keywords. This reduces memory usage when the client isn't requesting Flags/Keywords.
32+
* Hard-cache some IMAP FETCH-related tokens in order to relieve GC pressure for commands like FETCH where there can be a LOT of responses containing the same tokens over and over again.
33+
* Converted some IMAP async Task methods to use ValueTask to reduce GC pressure.
34+
* Reduced string allocations in the IMAP logic by avoiding use of ToUpperInvariant().
35+
* Added non-async implementations for ImapStream APIs to be used by the synchronous public APIs to avoid some async overhead.
36+
* Reduce MemoryStream (and thus byte[]) allocations by using a new ByteArrayBuilder.
37+
* Rewrote the IMAP CAPABILITY parser to avoid allocating strings.
38+
* Fixed some cases where IMAP NIL tokens were not compared case insensitively.
39+
* Always include the VERSION block in NTLM messages. (issue #1340)
40+
* Target .NET Framework v4.6.1 instead of v4.6 to match the changes in MimeKit.
41+
* Capture the Socket timeout value in Read/WriteAsync() to have it in case of exceptions. (issue #1327)
3242
</releaseNotes>
3343
<copyright>.NET Foundation and Contributors</copyright>
3444
<language>en-US</language>
@@ -62,32 +72,32 @@ Features include:
6272
<dependencies>
6373
<group targetFramework="net452">
6474
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
65-
<dependency id="MimeKitLite" version="3.1.1" />
75+
<dependency id="MimeKitLite" version="3.2.0" />
6676
</group>
6777
<group targetFramework="net461">
6878
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
69-
<dependency id="MimeKitLite" version="3.1.1" />
79+
<dependency id="MimeKitLite" version="3.2.0" />
7080
</group>
7181
<group targetFramework="net47">
7282
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
73-
<dependency id="MimeKitLite" version="3.1.1" />
83+
<dependency id="MimeKitLite" version="3.2.0" />
7484
</group>
7585
<group targetFramework="net48">
7686
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
77-
<dependency id="MimeKitLite" version="3.1.1" />
87+
<dependency id="MimeKitLite" version="3.2.0" />
7888
</group>
7989
<group targetFramework="net5.0">
80-
<dependency id="MimeKitLite" version="3.1.1" />
90+
<dependency id="MimeKitLite" version="3.2.0" />
8191
</group>
8292
<group targetFramework="net6.0">
83-
<dependency id="MimeKitLite" version="3.1.1" />
93+
<dependency id="MimeKitLite" version="3.2.0" />
8494
</group>
8595
<group targetFramework="netstandard2.0">
8696
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
87-
<dependency id="MimeKitLite" version="3.1.1" />
97+
<dependency id="MimeKitLite" version="3.2.0" />
8898
</group>
8999
<group targetFramework="netstandard2.1">
90-
<dependency id="MimeKitLite" version="3.1.1" />
100+
<dependency id="MimeKitLite" version="3.2.0" />
91101
</group>
92102
</dependencies>
93103
</metadata>

‎samples/ImapClientDemo.Android/ImapClientDemo.Android/ImapClientDemo.Android.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<Reference Include="System.Data" />
4949
</ItemGroup>
5050
<ItemGroup>
51-
<PackageReference Include="MailKit" Version="3.1.1" />
51+
<PackageReference Include="MailKit" Version="3.2.0" />
5252
</ItemGroup>
5353
<ItemGroup>
5454
<Compile Include="MainActivity.cs" />

‎samples/ImapClientDemo.iOS/ImapClientDemo.iOS/ImapClientDemo.iOS.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<Reference Include="MonoTouch.Dialog-1" />
7373
</ItemGroup>
7474
<ItemGroup>
75-
<PackageReference Include="MailKit" Version="3.1.1" />
75+
<PackageReference Include="MailKit" Version="3.2.0" />
7676
</ItemGroup>
7777
<ItemGroup>
7878
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json">

‎samples/ImapClientDemo/ImapClientDemo/ImapClientDemo.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<Reference Include="System.Xml" />
4848
</ItemGroup>
4949
<ItemGroup>
50-
<PackageReference Include="MailKit" Version="3.1.1" />
50+
<PackageReference Include="MailKit" Version="3.2.0" />
5151
</ItemGroup>
5252
<ItemGroup>
5353
<Compile Include="FolderSelectedEventArgs.cs" />

‎samples/ImapIdle/ImapIdle/ImapIdle.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<Reference Include="System.Security" />
3131
</ItemGroup>
3232
<ItemGroup>
33-
<PackageReference Include="MailKit" Version="3.1.1" />
33+
<PackageReference Include="MailKit" Version="3.2.0" />
3434
</ItemGroup>
3535
<ItemGroup>
3636
<Compile Include="Program.cs" />

0 commit comments

Comments
 (0)
Please sign in to comment.