Do not use ApplicationProtocols with SSL. (issue #1352)
Updated GMail, Yahoo, and Outlook.com certificates.
Lazy-initialize MessageSummary.Keywords. This reduces memory usage when the client isn't requesting Flags/Keywords.
Hard-cache some IMAP FETCH-related tokens in order to relieve GC pressure for commands like FETCH where there can
be a LOT of responses containing the same tokens over and over again.
Converted some IMAP async Task methods to use ValueTask to reduce GC pressure.
Reduced string allocations in the IMAP logic by avoiding use of ToUpperInvariant().
Added non-async implementations for ImapStream APIs to be used by the synchronous public APIs to avoid some async overhead.
Reduce MemoryStream (and thus byte[]) allocations by using a new ByteArrayBuilder.
Rewrote the IMAP CAPABILITY parser to avoid allocating strings.
Fixed some cases where IMAP NIL tokens were not compared case insensitively.
Always include the VERSION block in NTLM messages. (issue #1340)
Target .NET Framework v4.6.1 instead of v4.6 to match the changes in MimeKit.
Capture the Socket timeout value in Read/WriteAsync() to have it in case of exceptions.
(issue #1327)
MailKit 3.1.1 (2022-01-30)
Reduced string allocations in Pop3Engine's capability parser.
Updated GMail and Outlook.com SSL certificates.
Modified SmtpClient to try and use the system hostname in EHLO/HELO commands.
(issue #1314)
MailKit 3.1.0 (2022-01-14)
Fixed NTLM to always prefer the supplied domain over the TargetName or TargetInfo.DomainName.
(issue #582)
Updated GMail and Outlook.com SSL certificate info.
Added a new SslCipherSuite property to each client that allows developers to get information
about the SSL/TLS cipher suite that was negotiated with the server.
(pull #1312)
Reduced string allocations in SmtpClient's EHLO capability parsing logic.
Default ProtocolLogger.RedactSecrets to true for added added security.
Added work-around for parsing malformed GMail ENVELOPE responses that reverse the name and address components
of the Sender address. (pull #1319)
Added net6.0 to the list of TargetFrameworks.
MailKit 3.0.0 (2021-12-11)
Removed APIs marked as [Obsolete] in 2.x.
Simplify Fetch()/FetchAsync() APIs by using a new IFetchRequest parameter instead. Made previous APIs into
extension methods to aid in porting from 2.x.
Replaced Add/Remove/SetFlags() APIs with Store()/StoreAsync() and simplified the APIs by using a new
IStoreFlagsRequest parameter. Made previous APIs into extension methods to aid in porting from 2.x.
Replaced Add/Remove/SetLabels() APIs with Store()/StoreAsync() and simplified the APIs by using a new
IStoreLabelsRequest parameter. Made previous APIs into extension methods to aid in porting from 2.x.
Simplify Append()/AppendAsync() APIs by using a new IAppendRequest parameter instead. Made previous APIs into
extension methods to aid in porting from 2.x.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps MailKit from 2.12.0 to 3.2.0.
Changelog
Sourced from MailKit's changelog.
... (truncated)
Commits
77eb925
Bumped version to 3.2.01af5110
Do not use ApplicationProtocols with SSL73c6f67
Updated GMail and Yahoo certificatesc3a48ac
Bump nunit from 3.13.2 to 3.13.3 (#1350)a736d88
Lazy-initialize MessageSummary.Keywordsab1e087
Use token.Value.ToString() in case the token is a char token16adde1
Updated GMail certificatesd284a2d
Hard-cache some IMAP FETCH-related tokenscfe6dba
Always include the VERSION block in NTLM messages.cfa66e4
Convert more async IMAP methods to ValueTaskDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)