Skip to content

Commit

Permalink
Bumped version to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Mar 26, 2022
1 parent 15e5de8 commit 4de3405
Show file tree
Hide file tree
Showing 10 changed files with 89 additions and 30 deletions.
2 changes: 1 addition & 1 deletion MimeKit/MimeKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>An Open Source library for creating and parsing MIME, S/MIME, PGP messages on desktop and mobile platforms.</Description>
<AssemblyTitle>MimeKit</AssemblyTitle>
<VersionPrefix>3.1.1</VersionPrefix>
<VersionPrefix>3.2.0</VersionPrefix>
<LangVersion>8</LangVersion>
<Authors>Jeffrey Stedfast</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net452;net461;net47;net48;net5.0;net6.0</TargetFrameworks>
Expand Down
2 changes: 1 addition & 1 deletion MimeKit/MimeKitLite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>An Open Source library for creating and parsing MIME, S/MIME, PGP messages on desktop and mobile platforms.</Description>
<AssemblyTitle>MimeKit Lite</AssemblyTitle>
<VersionPrefix>3.1.1</VersionPrefix>
<VersionPrefix>3.2.0</VersionPrefix>
<Authors>Jeffrey Stedfast</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net452;net461;net47;net48;net5.0;net6.0</TargetFrameworks>
<LangVersion>8</LangVersion>
Expand Down
6 changes: 3 additions & 3 deletions MimeKit/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@
//
// If there have only been bug fixes, bump the Micro Version and/or the Build Number
// in the AssemblyFileVersion attribute.
[assembly: AssemblyInformationalVersion ("3.1.1.0")]
[assembly: AssemblyFileVersion ("3.1.1.0")]
[assembly: AssemblyVersion ("3.1.0.0")]
[assembly: AssemblyInformationalVersion ("3.2.0.0")]
[assembly: AssemblyFileVersion ("3.2.0.0")]
[assembly: AssemblyVersion ("3.2.0.0")]
29 changes: 29 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release Notes

### MimeKit 3.2.0 (2022-03-26)

* Rewrote QuotedPrintableEncoder to more strictly fold at the specified line length.
(issue [#781](https://github.com/jstedfast/MimeKit/issues/781))
* Change the default maxLineLength for quoted-printable/base64 encoders to 76 to match the recommendation
in the specification (was previously 72).
* Use cached Task instances (e.g. Task.CompletedTask) when possible to improve performance.
* Make use of ReadOnlySpan&lt;T&gt; instead of String.Substring() wherever possible to improve performance.
* Reduced string allocations in other ways.
* Provide MailboxAddress accessors for LocalPart and Domain.
(issue [#766](https://github.com/jstedfast/MimeKit/issues/766))
* Replaced support for .NET Framework v4.6 with 4.6.1 and added a System.Text.Encoding.CodePages dependency
to solve various cases where MimeKit would fail to initialize properly on ASP.NET systems using net461
when system character encodings were not available.
* Fixed MessagePartial to use invariant culture when setting number/total param values.
* Make sure all int.TryParse() calls use the correct NumberStyles.
* Make use of a ValueStringBuilder to construct strings without needing to allocate a StringBuilder.
* Fixed InternetAddressList.TryParse() to fail on invalid input.
(issue [#762](https://github.com/jstedfast/MimeKit/issues/762))
* Added dispose handling to MimeMessage.CreateFromMailMessage().
* Improved MIME structure returned by TnefPart.ConvertToMessage().
* Rewrote header folding logic to avoid string allocations.
* Implemented IEquatable&lt;T&gt; on TnefNameId.
* If iso-8859-1 isn't available, fall back to ASCII instead of Windows-1252.
(issue [#751](https://github.com/jstedfast/MimeKit/issues/751))

Special Thanks to Jason Nelson for taking the lead on many of the listed (and unlisted) performance
improvements and helping me make MimeKit even more awesome!

### MimeKit 3.1.1 (2022-01-30)

* When initializing character encodings for netstandard and net50/net60, wrap the Reflection logic
Expand Down
39 changes: 27 additions & 12 deletions nuget/MimeKit.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>MimeKit</id>
<version>3.1.1</version>
<version>3.2.0</version>
<title>MimeKit</title>
<authors>Jeffrey Stedfast</authors>
<owners>Jeffrey Stedfast</owners>
Expand All @@ -26,27 +26,42 @@
</description>
<summary>An Open Source library for creating and parsing MIME, S/MIME and PGP messages on desktop and mobile platforms.</summary>
<releaseNotes>
* When initializing character encodings for netstandard and net50/net60, wrap the Reflection logic to invoke System.Text.Encoding.RegisterProvider() in a try/catch to prevents exceptions when using the netstandard version of MimeKit in a .NET Framework app. (issue #751)
* Added a work-around for Office365 `message/delivery-status` parts where all status groups after the first are base64 encoded. This seems to be a bug in Office365 where it treats the first status group as MIME entity and the following status groups as the content. (issue #250)
* Fixed the MimeMessage .ctor that takes object parameters to first check that a Message-Id header was not supplied before generating one for the message. (issue #747)
* Fixed the BestEncodingFilter logic such that if any line in binary content is > 998 and it contains nul bytes, it should recommend base64 (not quoted-printable).
* Rewrote QuotedPrintableEncoder to more strictly fold at the specified line length. (issue #781)
* Change the default maxLineLength for quoted-printable/base64 encoders to 76 to match the recommendation in the specification (was previously 72).
* Use cached Task instances (e.g. Task.CompletedTask) when possible to improve performance.
* Make use of ReadOnlySpan&lt;T&gt; instead of String.Substring() wherever possible to improve performance.
* Reduced string allocations in other ways.
* Provide MailboxAddress accessors for LocalPart and Domain. (issue #766)
* Replaced support for .NET Framework v4.6 with 4.6.1 and added a System.Text.Encoding.CodePages dependency to solve various cases where MimeKit would fail to initialize properly on ASP.NET systems using net461 when system character encodings were not available.
* Fixed MessagePartial to use invariant culture when setting number/total param values.
* Make sure all int.TryParse() calls use the correct NumberStyles.
* Make use of a ValueStringBuilder to construct strings without needing to allocate a StringBuilder.
* Fixed InternetAddressList.TryParse() to fail on invalid input. (issue #762)
* Added dispose handling to MimeMessage.CreateFromMailMessage().
* Improved MIME structure returned by TnefPart.ConvertToMessage().
* Rewrote header folding logic to avoid string allocations.
* Implemented IEquatable&lt;T&gt; on TnefNameId.
* If iso-8859-1 isn't available, fall back to ASCII instead of Windows-1252. (issue #751)

Special Thanks to Jason Nelson for taking the lead on many of the listed (and unlisted) performance
improvements and helping me make MimeKit even more awesome!
</releaseNotes>
<copyright>.NET Foundation and Contributors</copyright>
<language>en-US</language>
<tags>mime encryption arc dkim security smime s/mime openpgp pgp mbox mail email parser tnef net452 net46 net47 net48 net5.0 net6.0 netstandard netstandard2.0 netstandard2.1</tags>
<tags>mime encryption arc dkim security smime s/mime openpgp pgp mbox mail email parser tnef net452 net461 net47 net48 net5.0 net6.0 netstandard netstandard2.0 netstandard2.1</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Data" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Data.DataSetExtensions" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Data" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Data.DataSetExtensions" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Data" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Data.DataSetExtensions" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.7" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.7" />
<frameworkAssembly assemblyName="System.Data" targetFramework=".NETFramework4.7" />
Expand Down
33 changes: 24 additions & 9 deletions nuget/MimeKitLite.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>MimeKitLite</id>
<version>3.1.1</version>
<version>3.2.0</version>
<title>MimeKit Lite</title>
<authors>Jeffrey Stedfast</authors>
<owners>Jeffrey Stedfast</owners>
Expand All @@ -26,21 +26,36 @@
</description>
<summary>An Open Source library for creating and parsing MIME messages.</summary>
<releaseNotes>
* When initializing character encodings for netstandard and net50/net60, wrap the Reflection logic to invoke System.Text.Encoding.RegisterProvider() in a try/catch to prevents exceptions when using the netstandard version of MimeKit in a .NET Framework app. (issue #751)
* Added a work-around for Office365 `message/delivery-status` parts where all status groups after the first are base64 encoded. This seems to be a bug in Office365 where it treats the first status group as MIME entity and the following status groups as the content. (issue #250)
* Fixed the MimeMessage .ctor that takes object parameters to first check that a Message-Id header was not supplied before generating one for the message. (issue #747)
* Fixed the BestEncodingFilter logic such that if any line in binary content is > 998 and it contains nul bytes, it should recommend base64 (not quoted-printable).
* Rewrote QuotedPrintableEncoder to more strictly fold at the specified line length. (issue #781)
* Change the default maxLineLength for quoted-printable/base64 encoders to 76 to match the recommendation in the specification (was previously 72).
* Use cached Task instances (e.g. Task.CompletedTask) when possible to improve performance.
* Make use of ReadOnlySpan&lt;T&gt; instead of String.Substring() wherever possible to improve performance.
* Reduced string allocations in other ways.
* Provide MailboxAddress accessors for LocalPart and Domain. (issue #766)
* Replaced support for .NET Framework v4.6 with 4.6.1 and added a System.Text.Encoding.CodePages dependency to solve various cases where MimeKit would fail to initialize properly on ASP.NET systems using net461 when system character encodings were not available.
* Fixed MessagePartial to use invariant culture when setting number/total param values.
* Make sure all int.TryParse() calls use the correct NumberStyles.
* Make use of a ValueStringBuilder to construct strings without needing to allocate a StringBuilder.
* Fixed InternetAddressList.TryParse() to fail on invalid input. (issue #762)
* Added dispose handling to MimeMessage.CreateFromMailMessage().
* Improved MIME structure returned by TnefPart.ConvertToMessage().
* Rewrote header folding logic to avoid string allocations.
* Implemented IEquatable&lt;T&gt; on TnefNameId.
* If iso-8859-1 isn't available, fall back to ASCII instead of Windows-1252. (issue #751)

Special Thanks to Jason Nelson for taking the lead on many of the listed (and unlisted) performance
improvements and helping me make MimeKit even more awesome!
</releaseNotes>
<copyright>.NET Foundation and Contributors</copyright>
<language>en-US</language>
<tags>mime mbox mail email parser tnef net452 net46 net47 net48 net5.0 net6.0 netstandard netstandard2.0 netstandard2.1</tags>
<tags>mime mbox mail email parser tnef net452 net461 net47 net48 net5.0 net6.0 netstandard netstandard2.0 netstandard2.1</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.5.2" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.6" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.6.1" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.7" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.7" />
<frameworkAssembly assemblyName="System.Security" targetFramework=".NETFramework4.7" />
Expand Down
2 changes: 1 addition & 1 deletion samples/DkimVerifier/DkimVerifier/DkimVerifier.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Heijden.Dns" version="2.0.0" />
<PackageReference Include="MimeKit" version="3.1.1" />
<PackageReference Include="MimeKit" version="3.2.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<PackageReference Include="Xamarin.AndroidX.AppCompat" Version="1.2.0.5" />
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.0.0.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
<PackageReference Include="MimeKit" Version="3.1.1" />
<PackageReference Include="MimeKit" Version="3.2.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MimeKit" Version="3.1.1" />
<PackageReference Include="MimeKit" Version="3.2.0" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Default-568h%402x.png" />
Expand Down
2 changes: 1 addition & 1 deletion samples/MessageReader/MessageReader/MessageReader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MimeKit" Version="3.1.1" />
<PackageReference Include="MimeKit" Version="3.2.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="MessageViewWindow.cs">
Expand Down

0 comments on commit 4de3405

Please sign in to comment.