Skip to content

Commit 5224202

Browse files
committedJan 28, 2023
Bumped version to 3.5.0
1 parent 4e5fb41 commit 5224202

File tree

11 files changed

+54
-37
lines changed

11 files changed

+54
-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.4.3</VersionPrefix>
6+
<VersionPrefix>3.5.0</VersionPrefix>
77
<Authors>Jeffrey Stedfast</Authors>
88
<LangVersion>8</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>3.4.3</VersionPrefix>
6+
<VersionPrefix>3.5.0</VersionPrefix>
77
<Authors>Jeffrey Stedfast</Authors>
88
<LangVersion>8</LangVersion>
99
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;net6.0</TargetFrameworks>

‎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.4.3.0")]
83-
[assembly: AssemblyFileVersion ("3.4.3.0")]
84-
[assembly: AssemblyVersion ("3.4.0.0")]
82+
[assembly: AssemblyInformationalVersion ("3.5.0.0")]
83+
[assembly: AssemblyFileVersion ("3.5.0.0")]
84+
[assembly: AssemblyVersion ("3.5.0.0")]

‎ReleaseNotes.md

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

3+
### MailKit 3.5.0 (2023-01-27)
4+
5+
* Fixed bitmasking logic in SmtpClient.cs for deciding whether to use the BDAT command.
6+
* Fixed HttpProxyClient to call GetConnectCommand() *before* connecting a socket to prevent memory leaks when
7+
connecting fails.
8+
* Improved the IMAP BODYSTRUCTURE parser to better handle broken responses.
9+
* Fixed bug in Envelope.Parse/TryParse when given `(NIL NIL "" "localhost")`
10+
(issue [#1471](https://github.com/jstedfast/MailKit/issues/1471))
11+
* Fixed SMTP client logic to calculate the needed bytes before converting commands into into the output buffer.
12+
(issue [#1498](https://github.com/jstedfast/MailKit/issues/1498))
13+
* Fixed SmtpClient to replace _'s with -'s in the default LocalDomain string (used in HELO/EHLO commands).
14+
(issue [#1501](https://github.com/jstedfast/MailKit/issues/1501))
15+
316
### MailKit 3.4.3 (2022-11-25)
417

518
* Fixed potential memory leaks in Pop3Client.

‎UnitTests/Net/Pop3/Pop3ClientTests.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -3484,7 +3484,7 @@ void TestGMailPop3Client (List<Pop3ReplayCommand> commands, bool disablePipelini
34843484
attachment.Content.DecodeTo (jpeg);
34853485
jpeg.Position = 0;
34863486

3487-
using (var md5 = new MD5CryptoServiceProvider ()) {
3487+
using (var md5 = MD5.Create ()) {
34883488
var md5sum = HexEncode (md5.ComputeHash (jpeg));
34893489

34903490
Assert.AreEqual ("5b1b8b2c9300c9cd01099f44e1155e2b", md5sum, "MD5 checksums do not match.");
@@ -3505,7 +3505,7 @@ void TestGMailPop3Client (List<Pop3ReplayCommand> commands, bool disablePipelini
35053505
attachment.Content.DecodeTo (jpeg);
35063506
jpeg.Position = 0;
35073507

3508-
using (var md5 = new MD5CryptoServiceProvider ()) {
3508+
using (var md5 = MD5.Create ()) {
35093509
var md5sum = HexEncode (md5.ComputeHash (jpeg));
35103510

35113511
Assert.AreEqual ("5b1b8b2c9300c9cd01099f44e1155e2b", md5sum, "MD5 checksums do not match.");
@@ -3528,7 +3528,7 @@ void TestGMailPop3Client (List<Pop3ReplayCommand> commands, bool disablePipelini
35283528
attachment.Content.DecodeTo (jpeg);
35293529
jpeg.Position = 0;
35303530

3531-
using (var md5 = new MD5CryptoServiceProvider ()) {
3531+
using (var md5 = MD5.Create ()) {
35323532
var md5sum = HexEncode (md5.ComputeHash (jpeg));
35333533

35343534
Assert.AreEqual ("5b1b8b2c9300c9cd01099f44e1155e2b", md5sum, "MD5 checksums do not match.");
@@ -3730,7 +3730,7 @@ async Task TestGMailPop3ClientAsync (List<Pop3ReplayCommand> commands, bool disa
37303730
attachment.Content.DecodeTo (jpeg);
37313731
jpeg.Position = 0;
37323732

3733-
using (var md5 = new MD5CryptoServiceProvider ()) {
3733+
using (var md5 = MD5.Create ()) {
37343734
var md5sum = HexEncode (md5.ComputeHash (jpeg));
37353735

37363736
Assert.AreEqual ("5b1b8b2c9300c9cd01099f44e1155e2b", md5sum, "MD5 checksums do not match.");
@@ -3750,7 +3750,7 @@ async Task TestGMailPop3ClientAsync (List<Pop3ReplayCommand> commands, bool disa
37503750
attachment.Content.DecodeTo (jpeg);
37513751
jpeg.Position = 0;
37523752

3753-
using (var md5 = new MD5CryptoServiceProvider ()) {
3753+
using (var md5 = MD5.Create ()) {
37543754
var md5sum = HexEncode (md5.ComputeHash (jpeg));
37553755

37563756
Assert.AreEqual ("5b1b8b2c9300c9cd01099f44e1155e2b", md5sum, "MD5 checksums do not match.");
@@ -3773,7 +3773,7 @@ async Task TestGMailPop3ClientAsync (List<Pop3ReplayCommand> commands, bool disa
37733773
attachment.Content.DecodeTo (jpeg);
37743774
jpeg.Position = 0;
37753775

3776-
using (var md5 = new MD5CryptoServiceProvider ()) {
3776+
using (var md5 = MD5.Create ()) {
37773777
var md5sum = HexEncode (md5.ComputeHash (jpeg));
37783778

37793779
Assert.AreEqual ("5b1b8b2c9300c9cd01099f44e1155e2b", md5sum, "MD5 checksums do not match.");

‎nuget/MailKit.nuspec

+13-11
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.4.3</version>
5+
<version>3.5.0</version>
66
<title>MailKit</title>
77
<authors>Jeffrey Stedfast</authors>
88
<owners>Jeffrey Stedfast</owners>
@@ -26,10 +26,12 @@ 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 potential memory leaks in Pop3Client.
30-
* Reverted SMTP pipelining of the DATA command. (issue #1459)
31-
* Fixed ImapFolder.Rename() to disallow renaming a folder to be a child of itself.
32-
* Fixed SmtpStream.ReadResponse/Async() to handle buffers that do not contain a complete line. (issue #1467)
29+
* Fixed bitmasking logic in SmtpClient.cs for deciding whether to use the BDAT command.
30+
* Fixed HttpProxyClient to call GetConnectCommand() *before* connecting a socket to prevent memory leaks when connecting fails.
31+
* Improved the IMAP BODYSTRUCTURE parser to better handle broken responses.
32+
* Fixed bug in Envelope.Parse/TryParse when given `(NIL NIL "" "localhost")` (issue #1471)
33+
* Fixed SMTP client logic to calculate the needed bytes before converting commands into into the output buffer. (issue #1498)
34+
* Fixed SmtpClient to replace _'s with -'s in the default LocalDomain string (used in HELO/EHLO commands). (issue #1501)
3335
</releaseNotes>
3436
<copyright>.NET Foundation and Contributors</copyright>
3537
<language>en-US</language>
@@ -63,25 +65,25 @@ Features include:
6365
<dependencies>
6466
<group targetFramework="net462">
6567
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
66-
<dependency id="MimeKit" version="3.4.3" />
68+
<dependency id="MimeKit" version="3.5.0" />
6769
</group>
6870
<group targetFramework="net47">
6971
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
70-
<dependency id="MimeKit" version="3.4.3" />
72+
<dependency id="MimeKit" version="3.5.0" />
7173
</group>
7274
<group targetFramework="net48">
7375
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
74-
<dependency id="MimeKit" version="3.4.3" />
76+
<dependency id="MimeKit" version="3.5.0" />
7577
</group>
7678
<group targetFramework="net6.0">
77-
<dependency id="MimeKit" version="3.4.3" />
79+
<dependency id="MimeKit" version="3.5.0" />
7880
</group>
7981
<group targetFramework="netstandard2.0">
8082
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
81-
<dependency id="MimeKit" version="3.4.3" />
83+
<dependency id="MimeKit" version="3.5.0" />
8284
</group>
8385
<group targetFramework="netstandard2.1">
84-
<dependency id="MimeKit" version="3.4.3" />
86+
<dependency id="MimeKit" version="3.5.0" />
8587
</group>
8688
</dependencies>
8789
</metadata>

‎nuget/MailKitLite.nuspec

+13-11
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.4.3</version>
5+
<version>3.5.0</version>
66
<title>MailKit</title>
77
<authors>Jeffrey Stedfast</authors>
88
<owners>Jeffrey Stedfast</owners>
@@ -26,10 +26,12 @@ 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 potential memory leaks in Pop3Client.
30-
* Reverted SMTP pipelining of the DATA command. (issue #1459)
31-
* Fixed ImapFolder.Rename() to disallow renaming a folder to be a child of itself.
32-
* Fixed SmtpStream.ReadResponse/Async() to handle buffers that do not contain a complete line. (issue #1467)
29+
* Fixed bitmasking logic in SmtpClient.cs for deciding whether to use the BDAT command.
30+
* Fixed HttpProxyClient to call GetConnectCommand() *before* connecting a socket to prevent memory leaks when connecting fails.
31+
* Improved the IMAP BODYSTRUCTURE parser to better handle broken responses.
32+
* Fixed bug in Envelope.Parse/TryParse when given `(NIL NIL "" "localhost")` (issue #1471)
33+
* Fixed SMTP client logic to calculate the needed bytes before converting commands into into the output buffer. (issue #1498)
34+
* Fixed SmtpClient to replace _'s with -'s in the default LocalDomain string (used in HELO/EHLO commands). (issue #1501)
3335
</releaseNotes>
3436
<copyright>.NET Foundation and Contributors</copyright>
3537
<language>en-US</language>
@@ -59,25 +61,25 @@ Features include:
5961
<dependencies>
6062
<group targetFramework="net462">
6163
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
62-
<dependency id="MimeKitLite" version="3.4.3" />
64+
<dependency id="MimeKitLite" version="3.5.0" />
6365
</group>
6466
<group targetFramework="net47">
6567
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
66-
<dependency id="MimeKitLite" version="3.4.3" />
68+
<dependency id="MimeKitLite" version="3.5.0" />
6769
</group>
6870
<group targetFramework="net48">
6971
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
70-
<dependency id="MimeKitLite" version="3.4.3" />
72+
<dependency id="MimeKitLite" version="3.5.0" />
7173
</group>
7274
<group targetFramework="net6.0">
73-
<dependency id="MimeKitLite" version="3.4.3" />
75+
<dependency id="MimeKitLite" version="3.5.0" />
7476
</group>
7577
<group targetFramework="netstandard2.0">
7678
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
77-
<dependency id="MimeKitLite" version="3.4.3" />
79+
<dependency id="MimeKitLite" version="3.5.0" />
7880
</group>
7981
<group targetFramework="netstandard2.1">
80-
<dependency id="MimeKitLite" version="3.4.3" />
82+
<dependency id="MimeKitLite" version="3.5.0" />
8183
</group>
8284
</dependencies>
8385
</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.4.3" />
51+
<PackageReference Include="MailKit" Version="3.5.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.4.3" />
75+
<PackageReference Include="MailKit" Version="3.5.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
@@ -48,7 +48,7 @@
4848
<Reference Include="System.Xml" />
4949
</ItemGroup>
5050
<ItemGroup>
51-
<PackageReference Include="MailKit" Version="3.4.3" />
51+
<PackageReference Include="MailKit" Version="3.5.0" />
5252
</ItemGroup>
5353
<ItemGroup>
5454
<Compile Include="CustomTaskScheduler.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="3.4.3" />
11+
<PackageReference Include="MailKit" Version="3.5.0" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)
Please sign in to comment.