Skip to content

Commit b111bdd

Browse files
committedNov 11, 2023
Bumped version to 4.3.0
1 parent 64fa857 commit b111bdd

File tree

12 files changed

+54
-50
lines changed

12 files changed

+54
-50
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>4.2.0</VersionPrefix>
6+
<VersionPrefix>4.3.0</VersionPrefix>
77
<Authors>Jeffrey Stedfast</Authors>
88
<LangVersion>9</LangVersion>
99
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;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>4.2.0</VersionPrefix>
6+
<VersionPrefix>4.3.0</VersionPrefix>
77
<Authors>Jeffrey Stedfast</Authors>
88
<LangVersion>9</LangVersion>
99
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;net6.0</TargetFrameworks>

‎MailKit/MailService.cs

+3-6
Original file line numberDiff line numberDiff line change
@@ -434,24 +434,21 @@ internal static bool IsKnownMailServerCertificate (X509Certificate2 certificate)
434434
case "imap.gmail.com":
435435
switch (issuer) {
436436
case GMailCertificateIssuer:
437-
return (serial == "00AACA8053B1E1DA7E1232B1671B4FD91B" && fingerprint == "B38FBCB30C6171797ED247F55B590CA093A569C7") // Expires 11/6/2023 3:22:08 AM
438-
|| (serial == "7659DEB20394714710429A1027216CEA" && fingerprint == "4BE1F9D70579875497D0BBD426A2716FED7FF982"); // Expires 1/8/2024 3:09:50 AM
437+
return (serial == "7659DEB20394714710429A1027216CEA" && fingerprint == "4BE1F9D70579875497D0BBD426A2716FED7FF982"); // Expires 1/8/2024 3:09:50 AM
439438
default:
440439
return false;
441440
}
442441
case "pop.gmail.com":
443442
switch (issuer) {
444443
case GMailCertificateIssuer:
445-
return (serial == "5E13719816521A710957F5BBA464F597" && fingerprint == "35B11783CF884D4C72D62FB0A9FCADE83615D94A") // Expires 11/6/2023 3:22:17 AM
446-
|| (serial == "00D5604DF47DE692141031D79A675A1DBA" && fingerprint == "C9D5128A41DA89A72ED5793487A6411109E1C832"); // Expires 1/8/2024 3:09:45 AM
444+
return (serial == "00D5604DF47DE692141031D79A675A1DBA" && fingerprint == "C9D5128A41DA89A72ED5793487A6411109E1C832"); // Expires 1/8/2024 3:09:45 AM
447445
default:
448446
return false;
449447
}
450448
case "smtp.gmail.com":
451449
switch (issuer) {
452450
case GMailCertificateIssuer:
453-
return (serial == "70C326C520C0D13912E1BA1BDD4540D4" && fingerprint == "015DDACF755167E5E22BE147B118D4C4B5E95005") // Expires 11/6/2023 3:22:11 AM
454-
|| (serial == "78F52E9140007CB71059FE898EAC8ECC" && fingerprint == "0EA97794262EF5C1162C43EDBF8D4094A1880761"); // Expires 1/8/2024 3:09:50 AM
451+
return (serial == "78F52E9140007CB71059FE898EAC8ECC" && fingerprint == "0EA97794262EF5C1162C43EDBF8D4094A1880761"); // Expires 1/8/2024 3:09:50 AM
455452
default:
456453
return false;
457454
}

‎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 ("4.2.0.0")]
83-
[assembly: AssemblyFileVersion ("4.2.0.0")]
84-
[assembly: AssemblyVersion ("4.2.0.0")]
82+
[assembly: AssemblyInformationalVersion ("4.3.0.0")]
83+
[assembly: AssemblyFileVersion ("4.3.0.0")]
84+
[assembly: AssemblyVersion ("4.3.0.0")]

‎ReleaseNotes.md

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

3+
## MailKit 4.3.0 (2023-11-11)
4+
5+
* Fixed an ArgumentOutOfRangeException error in Fetch(int min, int max, ...) where min and max were greater
6+
than folder.Count. (issue [#1640](https://github.com/jstedfast/MailKit/issues/1640))
7+
* Fixed parsing of IMAP FETCH (message/stream) responses with unsolicited FLAGS.
8+
* Fixed support for the IMAP FILTERS extension. Previously this extension was not properly detected.
9+
* When parsing IMAP CAPABILITIES, treat lone '+' tokens as atoms.
10+
(issue [#1654](https://github.com/jstedfast/MailKit/issues/1654))
11+
* Bumped MimeKit dependency to 4.3.0.
12+
313
## MailKit 4.2.0 (2023-09-02)
414

515
* Fixed a bug where the HttpProxyClient and HttpsProxyClient could end up reading the mail server greeting,
@@ -17,6 +27,7 @@
1727
* Improved initial `List<IMessageSummary>` capacity estimation for `Fetch (IList<UniqueId>, ...)`.
1828
* Fixed ByteArrayBuilder.TrimNewLine() to check array bounds properly.
1929
(issue [#1634](https://github.com/jstedfast/MailKit/issues/1634))
30+
* Bumped MimeKit dependency to 4.2.0.
2031

2132
## MailKit 4.1.0 (2023-06-17)
2233

‎nuget/MailKit.nuspec

+15-17
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>4.2.0</version>
5+
<version>4.3.0</version>
66
<title>MailKit</title>
77
<authors>Jeffrey Stedfast</authors>
88
<owners>Jeffrey Stedfast</owners>
@@ -26,16 +26,11 @@ 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-
* Fixed a bug where the HttpProxyClient and HttpsProxyClient could end up reading the mail server greeting, causing a connection failure for the ImapClient/Pop3Client/SmtpClient. (issue #1603)
30-
* Parse IMAP quota values as ulongs instead of uints for GMail compatibility. (issue #1602)
31-
* Added support for decoding SMTP DATA to the SmtpDataFilter. (issue #1607)
32-
* Added a Pop3Client.Size property. (issue #1623)
33-
* Refactored more ImapClient commands to split sync/async implementations in order to improve performance and reduce GC pressure. (issue #1335)
34-
* Added new IMailFolder.GetStream() methods that just take a uid/index and a BodyPart.
35-
* Added IMailFolder.GetStream/Async() methods that just take a uid or index.
36-
* Improved initial List&lt;IMessageSummary&gt; capacity estimation for Fetch(IList&lt;UniqueId&gt;, ...).
37-
* Fixed ByteArrayBuilder.TrimNewLine() to check array bounds properly. (issue #1634)
38-
* Bumped MimeKit dependency to 4.2.0.
29+
* Fixed an ArgumentOutOfRangeException error in Fetch(int min, int max, ...) where min and max were greater than folder.Count. (issue #1640)
30+
* Fixed parsing of IMAP FETCH (message/stream) responses with unsolicited FLAGS.
31+
* Fixed support for the IMAP FILTERS extension. Previously this extension was not properly detected.
32+
* When parsing IMAP CAPABILITIES, treat lone '+' tokens as atoms. (issue #1654)
33+
* Bumped MimeKit dependency to 4.3.0.
3934
</releaseNotes>
4035
<copyright>.NET Foundation and Contributors</copyright>
4136
<language>en-US</language>
@@ -63,33 +58,36 @@ Features include:
6358
<group targetFramework="net462">
6459
<dependency id="System.Formats.Asn1" version="7.0.0" />
6560
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
66-
<dependency id="MimeKit" version="4.2.0" />
61+
<dependency id="MimeKit" version="4.3.0" />
6762
</group>
6863
<group targetFramework="net47">
6964
<dependency id="System.Formats.Asn1" version="7.0.0" />
7065
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
71-
<dependency id="MimeKit" version="4.2.0" />
66+
<dependency id="MimeKit" version="4.3.0" />
7267
</group>
7368
<group targetFramework="net48">
7469
<dependency id="System.Formats.Asn1" version="7.0.0" />
7570
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
76-
<dependency id="MimeKit" version="4.2.0" />
71+
<dependency id="MimeKit" version="4.3.0" />
7772
</group>
7873
<group targetFramework="net6.0">
79-
<dependency id="MimeKit" version="4.2.0" />
74+
<dependency id="MimeKit" version="4.3.0" />
8075
</group>
8176
<group targetFramework="netstandard2.0">
8277
<dependency id="System.Formats.Asn1" version="7.0.0" />
8378
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
84-
<dependency id="MimeKit" version="4.2.0" />
79+
<dependency id="MimeKit" version="4.3.0" />
8580
</group>
8681
<group targetFramework="netstandard2.1">
87-
<dependency id="MimeKit" version="4.2.0" />
82+
<dependency id="MimeKit" version="4.3.0" />
8883
</group>
8984
</dependencies>
9085
</metadata>
9186
<files>
87+
<file src="..\FAQ.md" target="docs\FAQ.md" />
9288
<file src="..\README.md" target="docs\README.md" />
89+
<file src="..\ExchangeOAuth2.md" target="docs\ExchangeOAuth2.md" />
90+
<file src="..\GMailOAuth2.md" target="docs\GMailOAuth2.md" />
9391
<file src="..\MailKit\bin\Release\netstandard2.0\MailKit.dll" target="lib\netstandard2.0\MailKit.dll" />
9492
<file src="..\MailKit\bin\Release\netstandard2.0\MailKit.pdb" target="lib\netstandard2.0\MailKit.pdb" />
9593
<file src="..\MailKit\bin\Release\netstandard2.0\MailKit.xml" target="lib\netstandard2.0\MailKit.xml" />

‎nuget/MailKitLite.nuspec

+15-17
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>4.2.0</version>
5+
<version>4.3.0</version>
66
<title>MailKit</title>
77
<authors>Jeffrey Stedfast</authors>
88
<owners>Jeffrey Stedfast</owners>
@@ -26,16 +26,11 @@ 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-
* Fixed a bug where the HttpProxyClient and HttpsProxyClient could end up reading the mail server greeting, causing a connection failure for the ImapClient/Pop3Client/SmtpClient. (issue #1603)
30-
* Parse IMAP quota values as ulongs instead of uints for GMail compatibility. (issue #1602)
31-
* Added support for decoding SMTP DATA to the SmtpDataFilter. (issue #1607)
32-
* Added a Pop3Client.Size property. (issue #1623)
33-
* Refactored more ImapClient commands to split sync/async implementations in order to improve performance and reduce GC pressure. (issue #1335)
34-
* Added new IMailFolder.GetStream() methods that just take a uid/index and a BodyPart.
35-
* Added IMailFolder.GetStream/Async() methods that just take a uid or index.
36-
* Improved initial List&lt;IMessageSummary&gt; capacity estimation for Fetch(IList&lt;UniqueId&gt;, ...).
37-
* Fixed ByteArrayBuilder.TrimNewLine() to check array bounds properly. (issue #1634)
38-
* Bumped MimeKit dependency to 4.2.0.
29+
* Fixed an ArgumentOutOfRangeException error in Fetch(int min, int max, ...) where min and max were greater than folder.Count. (issue #1640)
30+
* Fixed parsing of IMAP FETCH (message/stream) responses with unsolicited FLAGS.
31+
* Fixed support for the IMAP FILTERS extension. Previously this extension was not properly detected.
32+
* When parsing IMAP CAPABILITIES, treat lone '+' tokens as atoms. (issue #1654)
33+
* Bumped MimeKit dependency to 4.3.0.
3934
</releaseNotes>
4035
<copyright>.NET Foundation and Contributors</copyright>
4136
<language>en-US</language>
@@ -59,34 +54,37 @@ Features include:
5954
<group targetFramework="net462">
6055
<dependency id="System.Formats.Asn1" version="7.0.0" />
6156
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
62-
<dependency id="MimeKitLite" version="4.2.0" />
57+
<dependency id="MimeKitLite" version="4.3.0" />
6358
</group>
6459
<group targetFramework="net47">
6560
<dependency id="System.Formats.Asn1" version="7.0.0" />
6661
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
67-
<dependency id="MimeKitLite" version="4.2.0" />
62+
<dependency id="MimeKitLite" version="4.3.0" />
6863
</group>
6964
<group targetFramework="net48">
7065
<dependency id="System.Formats.Asn1" version="7.0.0" />
7166
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
72-
<dependency id="MimeKitLite" version="4.2.0" />
67+
<dependency id="MimeKitLite" version="4.3.0" />
7368
</group>
7469
<group targetFramework="net6.0">
75-
<dependency id="MimeKitLite" version="4.2.0" />
70+
<dependency id="MimeKitLite" version="4.3.0" />
7671
</group>
7772
<group targetFramework="netstandard2.0">
7873
<dependency id="System.Formats.Asn1" version="7.0.0" />
7974
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
80-
<dependency id="MimeKitLite" version="4.2.0" />
75+
<dependency id="MimeKitLite" version="4.3.0" />
8176
</group>
8277
<group targetFramework="netstandard2.1">
8378
<dependency id="System.Formats.Asn1" version="7.0.0" />
84-
<dependency id="MimeKitLite" version="4.2.0" />
79+
<dependency id="MimeKitLite" version="4.3.0" />
8580
</group>
8681
</dependencies>
8782
</metadata>
8883
<files>
84+
<file src="..\FAQ.md" target="docs\FAQ.md" />
8985
<file src="..\README.md" target="docs\README.md" />
86+
<file src="..\ExchangeOAuth2.md" target="docs\ExchangeOAuth2.md" />
87+
<file src="..\GMailOAuth2.md" target="docs\GMailOAuth2.md" />
9088
<file src="..\MailKit\bin\Release\netstandard2.0\MailKitLite.dll" target="lib\netstandard2.0\MailKitLite.dll" />
9189
<file src="..\MailKit\bin\Release\netstandard2.0\MailKitLite.pdb" target="lib\netstandard2.0\MailKitLite.pdb" />
9290
<file src="..\MailKit\bin\Release\netstandard2.0\MailKitLite.xml" target="lib\netstandard2.0\MailKitLite.xml" />

‎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="4.2.0" />
51+
<PackageReference Include="MailKit" Version="4.3.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
@@ -73,7 +73,7 @@
7373
<Reference Include="MonoTouch.Dialog-1" />
7474
</ItemGroup>
7575
<ItemGroup>
76-
<PackageReference Include="MailKit" Version="4.2.0" />
76+
<PackageReference Include="MailKit" Version="4.3.0" />
7777
</ItemGroup>
7878
<ItemGroup>
7979
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json">

‎samples/ImapClientDemo/ImapClientDemo/ImapClientDemo.csproj

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

‎samples/ImapIdle/ImapIdle/ImapIdle.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="MailKit" Version="4.2.0" />
11+
<PackageReference Include="MailKit" Version="4.3.0" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)
Please sign in to comment.