Skip to content

Commit

Permalink
Bumped version to 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Nov 11, 2023
1 parent 64fa857 commit b111bdd
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 50 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>4.2.0</VersionPrefix>
<VersionPrefix>4.3.0</VersionPrefix>
<Authors>Jeffrey Stedfast</Authors>
<LangVersion>9</LangVersion>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;net6.0</TargetFrameworks>
Expand Down
2 changes: 1 addition & 1 deletion MailKit/MailKitLite.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>4.2.0</VersionPrefix>
<VersionPrefix>4.3.0</VersionPrefix>
<Authors>Jeffrey Stedfast</Authors>
<LangVersion>9</LangVersion>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;net6.0</TargetFrameworks>
Expand Down
9 changes: 3 additions & 6 deletions MailKit/MailService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
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 ("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")]
11 changes: 11 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -17,6 +27,7 @@
* Improved initial `List<IMessageSummary>` capacity estimation for `Fetch (IList<UniqueId>, ...)`.
* 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)

Expand Down
32 changes: 15 additions & 17 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>4.2.0</version>
<version>4.3.0</version>
<title>MailKit</title>
<authors>Jeffrey Stedfast</authors>
<owners>Jeffrey Stedfast</owners>
Expand All @@ -26,16 +26,11 @@ 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>
* 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&lt;IMessageSummary&gt; capacity estimation for Fetch(IList&lt;UniqueId&gt;, ...).
* 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.
</releaseNotes>
<copyright>.NET Foundation and Contributors</copyright>
<language>en-US</language>
Expand Down Expand Up @@ -63,33 +58,36 @@ Features include:
<group targetFramework="net462">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.2.0" />
<dependency id="MimeKit" version="4.3.0" />
</group>
<group targetFramework="net47">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.2.0" />
<dependency id="MimeKit" version="4.3.0" />
</group>
<group targetFramework="net48">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.2.0" />
<dependency id="MimeKit" version="4.3.0" />
</group>
<group targetFramework="net6.0">
<dependency id="MimeKit" version="4.2.0" />
<dependency id="MimeKit" version="4.3.0" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.2.0" />
<dependency id="MimeKit" version="4.3.0" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="MimeKit" version="4.2.0" />
<dependency id="MimeKit" version="4.3.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\FAQ.md" target="docs\FAQ.md" />
<file src="..\README.md" target="docs\README.md" />
<file src="..\ExchangeOAuth2.md" target="docs\ExchangeOAuth2.md" />
<file src="..\GMailOAuth2.md" target="docs\GMailOAuth2.md" />
<file src="..\MailKit\bin\Release\netstandard2.0\MailKit.dll" target="lib\netstandard2.0\MailKit.dll" />
<file src="..\MailKit\bin\Release\netstandard2.0\MailKit.pdb" target="lib\netstandard2.0\MailKit.pdb" />
<file src="..\MailKit\bin\Release\netstandard2.0\MailKit.xml" target="lib\netstandard2.0\MailKit.xml" />
Expand Down
32 changes: 15 additions & 17 deletions nuget/MailKitLite.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>MailKitLite</id>
<version>4.2.0</version>
<version>4.3.0</version>
<title>MailKit</title>
<authors>Jeffrey Stedfast</authors>
<owners>Jeffrey Stedfast</owners>
Expand All @@ -26,16 +26,11 @@ 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>
* 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&lt;IMessageSummary&gt; capacity estimation for Fetch(IList&lt;UniqueId&gt;, ...).
* 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.
</releaseNotes>
<copyright>.NET Foundation and Contributors</copyright>
<language>en-US</language>
Expand All @@ -59,34 +54,37 @@ Features include:
<group targetFramework="net462">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKitLite" version="4.2.0" />
<dependency id="MimeKitLite" version="4.3.0" />
</group>
<group targetFramework="net47">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKitLite" version="4.2.0" />
<dependency id="MimeKitLite" version="4.3.0" />
</group>
<group targetFramework="net48">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKitLite" version="4.2.0" />
<dependency id="MimeKitLite" version="4.3.0" />
</group>
<group targetFramework="net6.0">
<dependency id="MimeKitLite" version="4.2.0" />
<dependency id="MimeKitLite" version="4.3.0" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKitLite" version="4.2.0" />
<dependency id="MimeKitLite" version="4.3.0" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="System.Formats.Asn1" version="7.0.0" />
<dependency id="MimeKitLite" version="4.2.0" />
<dependency id="MimeKitLite" version="4.3.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\FAQ.md" target="docs\FAQ.md" />
<file src="..\README.md" target="docs\README.md" />
<file src="..\ExchangeOAuth2.md" target="docs\ExchangeOAuth2.md" />
<file src="..\GMailOAuth2.md" target="docs\GMailOAuth2.md" />
<file src="..\MailKit\bin\Release\netstandard2.0\MailKitLite.dll" target="lib\netstandard2.0\MailKitLite.dll" />
<file src="..\MailKit\bin\Release\netstandard2.0\MailKitLite.pdb" target="lib\netstandard2.0\MailKitLite.pdb" />
<file src="..\MailKit\bin\Release\netstandard2.0\MailKitLite.xml" target="lib\netstandard2.0\MailKitLite.xml" />
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="4.2.0" />
<PackageReference Include="MailKit" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<Reference Include="MonoTouch.Dialog-1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit" Version="4.2.0" />
<PackageReference Include="MailKit" Version="4.3.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 @@ -48,7 +48,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MailKit" Version="4.2.0" />
<PackageReference Include="MailKit" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="AuthenticationFailedEventArgs.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 @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MailKit" Version="4.2.0" />
<PackageReference Include="MailKit" Version="4.3.0" />
</ItemGroup>

</Project>

0 comments on commit b111bdd

Please sign in to comment.