diff --git a/MailKit/MailKit.csproj b/MailKit/MailKit.csproj index 6baf675156..c3f29dc9ab 100644 --- a/MailKit/MailKit.csproj +++ b/MailKit/MailKit.csproj @@ -3,7 +3,7 @@ An Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices. MailKit - 4.2.0 + 4.3.0 Jeffrey Stedfast 9 netstandard2.0;netstandard2.1;net462;net47;net48;net6.0 diff --git a/MailKit/MailKitLite.csproj b/MailKit/MailKitLite.csproj index 96364016c7..e3d2ce7dc2 100644 --- a/MailKit/MailKitLite.csproj +++ b/MailKit/MailKitLite.csproj @@ -3,7 +3,7 @@ An Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices. MailKit - 4.2.0 + 4.3.0 Jeffrey Stedfast 9 netstandard2.0;netstandard2.1;net462;net47;net48;net6.0 diff --git a/MailKit/MailService.cs b/MailKit/MailService.cs index 5a99e39fa0..a6e2257a7c 100644 --- a/MailKit/MailService.cs +++ b/MailKit/MailService.cs @@ -434,24 +434,21 @@ internal static bool IsKnownMailServerCertificate (X509Certificate2 certificate) case "imap.gmail.com": switch (issuer) { case GMailCertificateIssuer: - return (serial == "00AACA8053B1E1DA7E1232B1671B4FD91B" && fingerprint == "B38FBCB30C6171797ED247F55B590CA093A569C7") // Expires 11/6/2023 3:22:08 AM - || (serial == "7659DEB20394714710429A1027216CEA" && fingerprint == "4BE1F9D70579875497D0BBD426A2716FED7FF982"); // Expires 1/8/2024 3:09:50 AM + return (serial == "7659DEB20394714710429A1027216CEA" && fingerprint == "4BE1F9D70579875497D0BBD426A2716FED7FF982"); // Expires 1/8/2024 3:09:50 AM default: return false; } case "pop.gmail.com": switch (issuer) { case GMailCertificateIssuer: - return (serial == "5E13719816521A710957F5BBA464F597" && fingerprint == "35B11783CF884D4C72D62FB0A9FCADE83615D94A") // Expires 11/6/2023 3:22:17 AM - || (serial == "00D5604DF47DE692141031D79A675A1DBA" && fingerprint == "C9D5128A41DA89A72ED5793487A6411109E1C832"); // Expires 1/8/2024 3:09:45 AM + return (serial == "00D5604DF47DE692141031D79A675A1DBA" && fingerprint == "C9D5128A41DA89A72ED5793487A6411109E1C832"); // Expires 1/8/2024 3:09:45 AM default: return false; } case "smtp.gmail.com": switch (issuer) { case GMailCertificateIssuer: - return (serial == "70C326C520C0D13912E1BA1BDD4540D4" && fingerprint == "015DDACF755167E5E22BE147B118D4C4B5E95005") // Expires 11/6/2023 3:22:11 AM - || (serial == "78F52E9140007CB71059FE898EAC8ECC" && fingerprint == "0EA97794262EF5C1162C43EDBF8D4094A1880761"); // Expires 1/8/2024 3:09:50 AM + return (serial == "78F52E9140007CB71059FE898EAC8ECC" && fingerprint == "0EA97794262EF5C1162C43EDBF8D4094A1880761"); // Expires 1/8/2024 3:09:50 AM default: return false; } diff --git a/MailKit/Properties/AssemblyInfo.cs b/MailKit/Properties/AssemblyInfo.cs index 43b395e2cf..998601e0e9 100644 --- a/MailKit/Properties/AssemblyInfo.cs +++ b/MailKit/Properties/AssemblyInfo.cs @@ -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 ("4.2.0.0")] -[assembly: AssemblyFileVersion ("4.2.0.0")] -[assembly: AssemblyVersion ("4.2.0.0")] +[assembly: AssemblyInformationalVersion ("4.3.0.0")] +[assembly: AssemblyFileVersion ("4.3.0.0")] +[assembly: AssemblyVersion ("4.3.0.0")] diff --git a/ReleaseNotes.md b/ReleaseNotes.md index eb575617c9..d26821705f 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,15 @@ # Release Notes +## MailKit 4.3.0 (2023-11-11) + +* Fixed an ArgumentOutOfRangeException error in Fetch(int min, int max, ...) where min and max were greater + than folder.Count. (issue [#1640](https://github.com/jstedfast/MailKit/issues/1640)) +* Fixed parsing of IMAP FETCH (message/stream) responses with unsolicited FLAGS. +* Fixed support for the IMAP FILTERS extension. Previously this extension was not properly detected. +* When parsing IMAP CAPABILITIES, treat lone '+' tokens as atoms. + (issue [#1654](https://github.com/jstedfast/MailKit/issues/1654)) +* Bumped MimeKit dependency to 4.3.0. + ## MailKit 4.2.0 (2023-09-02) * Fixed a bug where the HttpProxyClient and HttpsProxyClient could end up reading the mail server greeting, @@ -17,6 +27,7 @@ * Improved initial `List` capacity estimation for `Fetch (IList, ...)`. * Fixed ByteArrayBuilder.TrimNewLine() to check array bounds properly. (issue [#1634](https://github.com/jstedfast/MailKit/issues/1634)) +* Bumped MimeKit dependency to 4.2.0. ## MailKit 4.1.0 (2023-06-17) diff --git a/nuget/MailKit.nuspec b/nuget/MailKit.nuspec index fe55a6d13b..d1a1ca0b60 100644 --- a/nuget/MailKit.nuspec +++ b/nuget/MailKit.nuspec @@ -2,7 +2,7 @@ MailKit - 4.2.0 + 4.3.0 MailKit Jeffrey Stedfast Jeffrey Stedfast @@ -26,16 +26,11 @@ Features include: An Open Source .NET mail-client library for Windows, Mac, Linux, and mobile platforms such as iOS and Android. -* 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) -* Parse IMAP quota values as ulongs instead of uints for GMail compatibility. (issue #1602) -* Added support for decoding SMTP DATA to the SmtpDataFilter. (issue #1607) -* Added a Pop3Client.Size property. (issue #1623) -* Refactored more ImapClient commands to split sync/async implementations in order to improve performance and reduce GC pressure. (issue #1335) -* Added new IMailFolder.GetStream() methods that just take a uid/index and a BodyPart. -* Added IMailFolder.GetStream/Async() methods that just take a uid or index. -* Improved initial List<IMessageSummary> capacity estimation for Fetch(IList<UniqueId>, ...). -* Fixed ByteArrayBuilder.TrimNewLine() to check array bounds properly. (issue #1634) -* Bumped MimeKit dependency to 4.2.0. +* Fixed an ArgumentOutOfRangeException error in Fetch(int min, int max, ...) where min and max were greater than folder.Count. (issue #1640) +* Fixed parsing of IMAP FETCH (message/stream) responses with unsolicited FLAGS. +* Fixed support for the IMAP FILTERS extension. Previously this extension was not properly detected. +* When parsing IMAP CAPABILITIES, treat lone '+' tokens as atoms. (issue #1654) +* Bumped MimeKit dependency to 4.3.0. .NET Foundation and Contributors en-US @@ -63,33 +58,36 @@ Features include: - + - + - + - + - + - + + + + diff --git a/nuget/MailKitLite.nuspec b/nuget/MailKitLite.nuspec index ea569a161b..d0b4dfb5f5 100644 --- a/nuget/MailKitLite.nuspec +++ b/nuget/MailKitLite.nuspec @@ -2,7 +2,7 @@ MailKitLite - 4.2.0 + 4.3.0 MailKit Jeffrey Stedfast Jeffrey Stedfast @@ -26,16 +26,11 @@ Features include: An Open Source .NET mail-client library for Windows, Mac, Linux, and mobile platforms such as iOS and Android. -* 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) -* Parse IMAP quota values as ulongs instead of uints for GMail compatibility. (issue #1602) -* Added support for decoding SMTP DATA to the SmtpDataFilter. (issue #1607) -* Added a Pop3Client.Size property. (issue #1623) -* Refactored more ImapClient commands to split sync/async implementations in order to improve performance and reduce GC pressure. (issue #1335) -* Added new IMailFolder.GetStream() methods that just take a uid/index and a BodyPart. -* Added IMailFolder.GetStream/Async() methods that just take a uid or index. -* Improved initial List<IMessageSummary> capacity estimation for Fetch(IList<UniqueId>, ...). -* Fixed ByteArrayBuilder.TrimNewLine() to check array bounds properly. (issue #1634) -* Bumped MimeKit dependency to 4.2.0. +* Fixed an ArgumentOutOfRangeException error in Fetch(int min, int max, ...) where min and max were greater than folder.Count. (issue #1640) +* Fixed parsing of IMAP FETCH (message/stream) responses with unsolicited FLAGS. +* Fixed support for the IMAP FILTERS extension. Previously this extension was not properly detected. +* When parsing IMAP CAPABILITIES, treat lone '+' tokens as atoms. (issue #1654) +* Bumped MimeKit dependency to 4.3.0. .NET Foundation and Contributors en-US @@ -59,34 +54,37 @@ Features include: - + - + - + - + - + - + + + + diff --git a/samples/ImapClientDemo.Android/ImapClientDemo.Android/ImapClientDemo.Android.csproj b/samples/ImapClientDemo.Android/ImapClientDemo.Android/ImapClientDemo.Android.csproj index 03cc7cb50e..3bbe25a1ab 100644 --- a/samples/ImapClientDemo.Android/ImapClientDemo.Android/ImapClientDemo.Android.csproj +++ b/samples/ImapClientDemo.Android/ImapClientDemo.Android/ImapClientDemo.Android.csproj @@ -48,7 +48,7 @@ - + diff --git a/samples/ImapClientDemo.iOS/ImapClientDemo.iOS/ImapClientDemo.iOS.csproj b/samples/ImapClientDemo.iOS/ImapClientDemo.iOS/ImapClientDemo.iOS.csproj index 4bfc97a209..d16f94d1e3 100644 --- a/samples/ImapClientDemo.iOS/ImapClientDemo.iOS/ImapClientDemo.iOS.csproj +++ b/samples/ImapClientDemo.iOS/ImapClientDemo.iOS/ImapClientDemo.iOS.csproj @@ -73,7 +73,7 @@ - + diff --git a/samples/ImapClientDemo/ImapClientDemo/ImapClientDemo.csproj b/samples/ImapClientDemo/ImapClientDemo/ImapClientDemo.csproj index b5fce3176d..823e504e80 100644 --- a/samples/ImapClientDemo/ImapClientDemo/ImapClientDemo.csproj +++ b/samples/ImapClientDemo/ImapClientDemo/ImapClientDemo.csproj @@ -48,7 +48,7 @@ - + diff --git a/samples/ImapIdle/ImapIdle/ImapIdle.csproj b/samples/ImapIdle/ImapIdle/ImapIdle.csproj index b58bc4e3d0..d266217400 100644 --- a/samples/ImapIdle/ImapIdle/ImapIdle.csproj +++ b/samples/ImapIdle/ImapIdle/ImapIdle.csproj @@ -8,7 +8,7 @@ - + diff --git a/submodules/MimeKit b/submodules/MimeKit index a8d6aa2351..760b4ee500 160000 --- a/submodules/MimeKit +++ b/submodules/MimeKit @@ -1 +1 @@ -Subproject commit a8d6aa23518521fd3ba071d8f1d21f24771181ac +Subproject commit 760b4ee5001aac3676636a03d7d30b32f15622a8