jstedfast/MailKit (MailKit)
### [`v2.15.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2150-2021-08-18)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.14.0...2.15.0)
- Use DebugType=full for .NET Framework v4.x. (issue [#1239](https://togithub.com/jstedfast/MailKit/issues/1239))
- Updated GMail SSL certificate serial numbers and fingerprints.
- Small NTLM code improvements.
### [`v2.14.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2140-2021-07-28)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.13.0...2.14.0)
- Added support for logging timestamps in the `ProtocolLogger` (see the `LogTimestamps` and `TimestampFormat`
properties on `ProtocolLogger`).
- Added support for automatically redacting user credentials in protocol logs. To enable this, set the
`ProtocolLogger.RedactSecrets` property to `true`. (issue [#1174](https://togithub.com/jstedfast/MailKit/issues/1174))
- Added the GetMessageSizeAsync() method to the IMailSpool interface.
(issue [#1233](https://togithub.com/jstedfast/MailKit/issues/1233))
- Added a work-around to the IMAP INTERNALDATE parser to handle invalid dates such as "00-Jan-0000 00:00:00 +0000"
which appears in Domino IMAP server responses, likely when the INTERNALDATE value is uninitialized in the database.
(issue [#1236](https://togithub.com/jstedfast/MailKit/issues/1236))
- Make sure to dispose X509Certificates in .NET >= 4.6.
- Re-added NTLM as one of the default supported SASL mechanisms.
- Updated GMail SSL certificate serial numbers and fingerprints.
### [`v2.13.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2130-2021-06-12)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.12.0...2.13.0)
- Added new properties to all clients to get SSL cipher/hash/protocol/key-exchange info.
(issue [#1175](https://togithub.com/jstedfast/MailKit/issues/1175))
- Added support for GMail's WEBALERT resp-code.
(issue [#1214](https://togithub.com/jstedfast/MailKit/issues/1214))
- Updated GMail SSL certificate serial numbers and fingerprints.
### [`v2.12.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2120-2021-05-12)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.11.1...2.12.0)
- Fixed the .NET 5.0 build to include .NET 5.0-specific features. Previous releases incorrectly used
\#if NET50 instead of #if NET5\_0. (issue [#1140](https://togithub.com/jstedfast/MailKit/issues/1140))
- Added support for NETStandard 2.1. (issue [#1181](https://togithub.com/jstedfast/MailKit/issues/1181))
- .NETStandard 2.1 and .NET 5.0 versions of MailKit now use the newer SslStream.AuthenticateAsClientAsync()
methods that take SslClientAuthenticationOptions and CancellationToken arguments. In theory, this should
make upgrading a TCP/IP connection to SSL/TLS cancellable. Older .NET frameworks remain uncancellable for
this operation.
- Fixed a NullReferenceException bug in the NTLM SASL mechanism logic.
- Updated hard-coded SSL certificate serial numbers and fingerprints for common mail servers.
### [`v2.11.1`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2111-2021-03-16)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.11.0...2.11.1)
- Added work-around for IMAP servers that do not correctly handle the ESEARCH `RETURN ()` syntax
the same as `RETURN (ALL)`. (issue [#1177](https://togithub.com/jstedfast/MailKit/issues/1177))
### [`v2.11.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2110-2021-03-12)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.10.1...2.11.0)
- Handle BAD responses to the NAMESPACE command for Exchange.
(issue [#1135](https://togithub.com/jstedfast/MailKit/issues/1135))
- Added support for configuring SSL/TLS cipher algorithms (only available in the .NET 5.0 API).
(issue [#1140](https://togithub.com/jstedfast/MailKit/issues/1140))
- Updated GMail and Yahoo! Mail SSL certificate info.
- Protect against NREs in NTLM authentication of no OSVersion is set.
(issue [#1148](https://togithub.com/jstedfast/MailKit/issues/1148))
- Added work-around for hMailServer bug that doesn't accept seq-ranges in descending order.
(issue [#1150](https://togithub.com/jstedfast/MailKit/issues/1150))
- Properly escape IPv6 addresses for Uri in order to allow Connect/Async methods to work with IPv6 addresses.
(issue [#1165](https://togithub.com/jstedfast/MailKit/issues/1165))
- Added IsEncrypted and IsSigned properties to IMailService.
(issue [#1175](https://togithub.com/jstedfast/MailKit/issues/1175))
### [`v2.10.1`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2101-2021-01-02)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.10.0...2.10.1)
- A few NTLM improvements that I hope are correct.
### [`v2.10.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2100-2020-11-20)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.9.0...2.10.0)
- Don't enable support for TLS v1.1 by default anymore.
(issue [#1077](https://togithub.com/jstedfast/MailKit/issues/1077))
- Added support for the SCRAM-SHA-512 SASL mechanism.
(issue [#1097](https://togithub.com/jstedfast/MailKit/issues/1097))
- Added support for the OAUTHBEARER SASL mechanism.
- Updated SSL certificate info for the common mail servers (GMail, outlook.com, Yahoo! Mail, etc).
- Improved the SslHandshakeException error message to report common mistakes like trying to initiate
an SSL connection on a non-SSL port.
- Improved IMAP's "Unexpected token" exception messages a bit
- Updated code to use ArrayPools from System.Buffers.
### [`v2.9.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-290-2020-09-12)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.8.0...2.9.0)
- Refactored Connect/ConnectAsync() logic to set timeouts *before* calling SslStream.AuthenticateAsClient()
when connecting to an SSL-wrapped service.
(issue [#1059](https://togithub.com/jstedfast/MailKit/issues/1059))
- Hardcode the value of SslProtocols.Tls13 for frameworks that do not support it and add it to the
client's default SslProtocols. This adds TLS v1.3 support, by default, for apps using .NETStandard2.0
where the app project is built against a version of .NETCore that supports TLS v1.3.
(issue [#1058](https://togithub.com/jstedfast/MailKit/issues/1058))
- Initialize IMAP SearchResults with the UIDVALIDITY value.
(issue [#1060](https://togithub.com/jstedfast/MailKit/issues/1060))
- Make sure the ImapStream is not null (can be null if user calls Disconnect() causing IDLE to abort).
(issue [#1025](https://togithub.com/jstedfast/MailKit/issues/1025))
- Case-insenitively match IMAP folder attribute flags (e.g. \HasNoChildren and \NoSelect).
- Added support for the IMAP SAVEDATE extension.
- Added support for detecting SMTP's REQUIRETLS extension.
### [`v2.8.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-280-2020-07-11)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.7.0...2.8.0)
- Make sure to use the InvariantCulture when converting port values to a string.
(issue [#1040](https://togithub.com/jstedfast/MailKit/issues/1040))
- Fixed other instances of string formatting for integer values to always use
CultureInfo.InvariantCulture.
- Added a work-around for broken IMAP servers that allow NIL message flags.
(issue [#1042](https://togithub.com/jstedfast/MailKit/issues/1042))
### [`v2.7.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-270-2020-05-30)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.6.0...2.7.0)
- Added a MessageSummary.Folder property and MessageThread.Message property
to allow developers to thread messages from multiple IMAP folders and be
able to figure out which folder each message belongs to.
- Added a work-around for IMAP servers that send a UIDNEXT response with a
value of '0'. (issue [#1010](https://togithub.com/jstedfast/MailKit/issues/1010))
- Added an IMailFolder.Supports(FolderFeature) method so that developers can check
whether a feature is supported by the folder without needing a reference to the
corresponding ImapClient object in order to check the Capabilities.
- Fixed the HTTP proxy client to accept "200 OK" with an empty body as a successful
connection. (issue [#1015](https://togithub.com/jstedfast/MailKit/issues/1015))
- Fixed the SOCKS5 proxy client to correctly send an authentication request.
(issue [#1019](https://togithub.com/jstedfast/MailKit/issues/1019))
- Added support for customizable ProtocolLogger client/server prefixes.
(issue [#1024](https://togithub.com/jstedfast/MailKit/issues/1024))
- Fixed an NRE in SslHandshakeException.Create() when running on Mono/Linux.
- Modified the SmtpClient to take advantage of the SMTPUTF8 extension for the
`MAIL FROM` and `RCPT TO` commands even if a `options.International` is not
explicitly set to `true` if any of the mailbox addresses are international
addresses.
(issue [#1026](https://togithub.com/jstedfast/MailKit/issues/1026))
- Added support for a new Important SpecialFolder ([rfc8457](https://tools.ietf.org/html/rfc8457)).
- Added support for the IMAP REPLACE extension ([rfc8508](https://tools.ietf.org/html/rfc8508)).
- NuGet packages now include the portable pdb's.
### [`v2.6.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-260-2020-04-03)
[Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.5.2...2.6.0)
- Properly handle connection drops in SmtpClient.NoOp() and NoOpAsync()
methods.
- Improved default SSL certificate validation logic to be more secure
and to recognize the most commonly used mail servers even if their
Root CA Certificates are not available on the system.
- SslHandshakeException's Message has been improved to be based on the
errors reported in the ServerCertificateValidationCallback and also
now has 2 new X509Certificate properties which represent the
ServerCertificate and the RootCertificateAuthority in order to help
developers diagnose problems.
(issue [#1002](https://togithub.com/jstedfast/MailKit/issues/1002))
- Improved the IMAP PreviewText to extract text from HTML bodies.
(issue [#1001](https://togithub.com/jstedfast/MailKit/issues/1001))
- Renamed MessageSummaryItems.Id to MessageSummaryItems.EmailId to
better map to the property name used in the IMAP OBJECTID
specification.
- Updated NetworkStream.ReadAsync() and WriteAsync() mehods to make use of
timeouts. (issue [#827](https://togithub.com/jstedfast/MailKit/issues/827))
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.5.2
->2.15.0
Release Notes
jstedfast/MailKit (MailKit)
### [`v2.15.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2150-2021-08-18) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.14.0...2.15.0) - Use DebugType=full for .NET Framework v4.x. (issue [#1239](https://togithub.com/jstedfast/MailKit/issues/1239)) - Updated GMail SSL certificate serial numbers and fingerprints. - Small NTLM code improvements. ### [`v2.14.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2140-2021-07-28) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.13.0...2.14.0) - Added support for logging timestamps in the `ProtocolLogger` (see the `LogTimestamps` and `TimestampFormat` properties on `ProtocolLogger`). - Added support for automatically redacting user credentials in protocol logs. To enable this, set the `ProtocolLogger.RedactSecrets` property to `true`. (issue [#1174](https://togithub.com/jstedfast/MailKit/issues/1174)) - Added the GetMessageSizeAsync() method to the IMailSpool interface. (issue [#1233](https://togithub.com/jstedfast/MailKit/issues/1233)) - Added a work-around to the IMAP INTERNALDATE parser to handle invalid dates such as "00-Jan-0000 00:00:00 +0000" which appears in Domino IMAP server responses, likely when the INTERNALDATE value is uninitialized in the database. (issue [#1236](https://togithub.com/jstedfast/MailKit/issues/1236)) - Make sure to dispose X509Certificates in .NET >= 4.6. - Re-added NTLM as one of the default supported SASL mechanisms. - Updated GMail SSL certificate serial numbers and fingerprints. ### [`v2.13.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2130-2021-06-12) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.12.0...2.13.0) - Added new properties to all clients to get SSL cipher/hash/protocol/key-exchange info. (issue [#1175](https://togithub.com/jstedfast/MailKit/issues/1175)) - Added support for GMail's WEBALERT resp-code. (issue [#1214](https://togithub.com/jstedfast/MailKit/issues/1214)) - Updated GMail SSL certificate serial numbers and fingerprints. ### [`v2.12.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2120-2021-05-12) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.11.1...2.12.0) - Fixed the .NET 5.0 build to include .NET 5.0-specific features. Previous releases incorrectly used \#if NET50 instead of #if NET5\_0. (issue [#1140](https://togithub.com/jstedfast/MailKit/issues/1140)) - Added support for NETStandard 2.1. (issue [#1181](https://togithub.com/jstedfast/MailKit/issues/1181)) - .NETStandard 2.1 and .NET 5.0 versions of MailKit now use the newer SslStream.AuthenticateAsClientAsync() methods that take SslClientAuthenticationOptions and CancellationToken arguments. In theory, this should make upgrading a TCP/IP connection to SSL/TLS cancellable. Older .NET frameworks remain uncancellable for this operation. - Fixed a NullReferenceException bug in the NTLM SASL mechanism logic. - Updated hard-coded SSL certificate serial numbers and fingerprints for common mail servers. ### [`v2.11.1`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2111-2021-03-16) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.11.0...2.11.1) - Added work-around for IMAP servers that do not correctly handle the ESEARCH `RETURN ()` syntax the same as `RETURN (ALL)`. (issue [#1177](https://togithub.com/jstedfast/MailKit/issues/1177)) ### [`v2.11.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2110-2021-03-12) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.10.1...2.11.0) - Handle BAD responses to the NAMESPACE command for Exchange. (issue [#1135](https://togithub.com/jstedfast/MailKit/issues/1135)) - Added support for configuring SSL/TLS cipher algorithms (only available in the .NET 5.0 API). (issue [#1140](https://togithub.com/jstedfast/MailKit/issues/1140)) - Updated GMail and Yahoo! Mail SSL certificate info. - Protect against NREs in NTLM authentication of no OSVersion is set. (issue [#1148](https://togithub.com/jstedfast/MailKit/issues/1148)) - Added work-around for hMailServer bug that doesn't accept seq-ranges in descending order. (issue [#1150](https://togithub.com/jstedfast/MailKit/issues/1150)) - Properly escape IPv6 addresses for Uri in order to allow Connect/Async methods to work with IPv6 addresses. (issue [#1165](https://togithub.com/jstedfast/MailKit/issues/1165)) - Added IsEncrypted and IsSigned properties to IMailService. (issue [#1175](https://togithub.com/jstedfast/MailKit/issues/1175)) ### [`v2.10.1`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2101-2021-01-02) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.10.0...2.10.1) - A few NTLM improvements that I hope are correct. ### [`v2.10.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-2100-2020-11-20) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.9.0...2.10.0) - Don't enable support for TLS v1.1 by default anymore. (issue [#1077](https://togithub.com/jstedfast/MailKit/issues/1077)) - Added support for the SCRAM-SHA-512 SASL mechanism. (issue [#1097](https://togithub.com/jstedfast/MailKit/issues/1097)) - Added support for the OAUTHBEARER SASL mechanism. - Updated SSL certificate info for the common mail servers (GMail, outlook.com, Yahoo! Mail, etc). - Improved the SslHandshakeException error message to report common mistakes like trying to initiate an SSL connection on a non-SSL port. - Improved IMAP's "Unexpected token" exception messages a bit - Updated code to use ArrayPools from System.Buffers. ### [`v2.9.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-290-2020-09-12) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.8.0...2.9.0) - Refactored Connect/ConnectAsync() logic to set timeouts *before* calling SslStream.AuthenticateAsClient() when connecting to an SSL-wrapped service. (issue [#1059](https://togithub.com/jstedfast/MailKit/issues/1059)) - Hardcode the value of SslProtocols.Tls13 for frameworks that do not support it and add it to the client's default SslProtocols. This adds TLS v1.3 support, by default, for apps using .NETStandard2.0 where the app project is built against a version of .NETCore that supports TLS v1.3. (issue [#1058](https://togithub.com/jstedfast/MailKit/issues/1058)) - Initialize IMAP SearchResults with the UIDVALIDITY value. (issue [#1060](https://togithub.com/jstedfast/MailKit/issues/1060)) - Make sure the ImapStream is not null (can be null if user calls Disconnect() causing IDLE to abort). (issue [#1025](https://togithub.com/jstedfast/MailKit/issues/1025)) - Case-insenitively match IMAP folder attribute flags (e.g. \HasNoChildren and \NoSelect). - Added support for the IMAP SAVEDATE extension. - Added support for detecting SMTP's REQUIRETLS extension. ### [`v2.8.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-280-2020-07-11) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.7.0...2.8.0) - Make sure to use the InvariantCulture when converting port values to a string. (issue [#1040](https://togithub.com/jstedfast/MailKit/issues/1040)) - Fixed other instances of string formatting for integer values to always use CultureInfo.InvariantCulture. - Added a work-around for broken IMAP servers that allow NIL message flags. (issue [#1042](https://togithub.com/jstedfast/MailKit/issues/1042)) ### [`v2.7.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-270-2020-05-30) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.6.0...2.7.0) - Added a MessageSummary.Folder property and MessageThread.Message property to allow developers to thread messages from multiple IMAP folders and be able to figure out which folder each message belongs to. - Added a work-around for IMAP servers that send a UIDNEXT response with a value of '0'. (issue [#1010](https://togithub.com/jstedfast/MailKit/issues/1010)) - Added an IMailFolder.Supports(FolderFeature) method so that developers can check whether a feature is supported by the folder without needing a reference to the corresponding ImapClient object in order to check the Capabilities. - Fixed the HTTP proxy client to accept "200 OK" with an empty body as a successful connection. (issue [#1015](https://togithub.com/jstedfast/MailKit/issues/1015)) - Fixed the SOCKS5 proxy client to correctly send an authentication request. (issue [#1019](https://togithub.com/jstedfast/MailKit/issues/1019)) - Added support for customizable ProtocolLogger client/server prefixes. (issue [#1024](https://togithub.com/jstedfast/MailKit/issues/1024)) - Fixed an NRE in SslHandshakeException.Create() when running on Mono/Linux. - Modified the SmtpClient to take advantage of the SMTPUTF8 extension for the `MAIL FROM` and `RCPT TO` commands even if a `options.International` is not explicitly set to `true` if any of the mailbox addresses are international addresses. (issue [#1026](https://togithub.com/jstedfast/MailKit/issues/1026)) - Added support for a new Important SpecialFolder ([rfc8457](https://tools.ietf.org/html/rfc8457)). - Added support for the IMAP REPLACE extension ([rfc8508](https://tools.ietf.org/html/rfc8508)). - NuGet packages now include the portable pdb's. ### [`v2.6.0`](https://togithub.com/jstedfast/MailKit/blob/HEAD/ReleaseNotes.md#MailKit-260-2020-04-03) [Compare Source](https://togithub.com/jstedfast/MailKit/compare/2.5.2...2.6.0) - Properly handle connection drops in SmtpClient.NoOp() and NoOpAsync() methods. - Improved default SSL certificate validation logic to be more secure and to recognize the most commonly used mail servers even if their Root CA Certificates are not available on the system. - SslHandshakeException's Message has been improved to be based on the errors reported in the ServerCertificateValidationCallback and also now has 2 new X509Certificate properties which represent the ServerCertificate and the RootCertificateAuthority in order to help developers diagnose problems. (issue [#1002](https://togithub.com/jstedfast/MailKit/issues/1002)) - Improved the IMAP PreviewText to extract text from HTML bodies. (issue [#1001](https://togithub.com/jstedfast/MailKit/issues/1001)) - Renamed MessageSummaryItems.Id to MessageSummaryItems.EmailId to better map to the property name used in the IMAP OBJECTID specification. - Updated NetworkStream.ReadAsync() and WriteAsync() mehods to make use of timeouts. (issue [#827](https://togithub.com/jstedfast/MailKit/issues/827))Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.