Follow the spec more closely for allowable header field characters.
(issue #936)
Avoid throwing NRE when an RC2 algorithm was used for S/MIME w/o parameters.
(issue #941)
Added a few more (undocumented) TnefPropertyIds.
Optimized AttachmentCollection.Add(byte[], ...) by not copying the data to a new stream.
Improved performance of HtmlTokenizer.
Added new HtmlTokenizer constructors that take a Stream instead of a TextReader. This
allows for a slight performance improvement over using a TextReader as well.
Lazy-allocate Base64/QuotedPrintable decoders when decoding rfc2047-encoded headers.
This is a very small reduction in GC pressure.
Reduced memory allocations in Rfc2047.DecodePhrase() and DecodeText().
Avoid allocating empty List<string>s in DomainList.ctor(), lazily allocate the
list only when a domain is added. Another minor reduction in GC pressure.
Updated the Date parser to allocate an internal list of tokens with a optimal
initial capacity to avoid the need for reallocating.
MimeKit 4.1.0 (2023-06-17)
Readded the System.Net.Mail-to-MimeKit conversion APIs for the netstandard2.x frameworks.
(issue #913)
Fixed the MimeEntity.LoadAsync() overloads that take a ContentType parameter to to properly wait
to dispose of the stream until after the entity has been parsed.
(issue #916)
Optimized conversion between HeaderId and string.
Added a new IMimeParser interface that both MimeParser and ExperimentalMimePraser implement.
Added "unicode" to the list of charset aliases for UTF-8.
(issue #923)
Added support for the Edwards Curve DSA PGP public key algorithm.
(issue #932)
Bumped System.Security.Cryptography.Pkcs dependency to 7.0.2.
Fixed System.Net.Mail.MailMessage -> MimeMessage converter to reset MailMessage attachment/alternateview streams back
to 0 after copying them. (issue #907)
Added support for the signature expiration field in DKIM signatures which can be specified
using the new DkimSigner.SignatureExpiresAfter property.
Added equality operators for TnefNameId and TnefPropertyTag.
Fixed MimeMessage's MessageId, ResentMessageId and InReplyTo property setters to be more lax.
(issue #912)
MimeKit and MimeKitLite nuget packages now include MimeKit.dll.config that contain assembly redirects
which may resolve some issues some developers were having with loading assemblies such as
System.Runtime.CompilerServices.Unsafe.dll.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 MimeKit from 2.15.1 to 4.2.0.
Changelog
Sourced from MimeKit's changelog.
... (truncated)
Commits
a8d6aa2
Bumped version to 4.2.0c69c840
Updated test.ps13f92d9d
Removed a DateUtils.Parse() method that is no longer needed9ed9543
Simplify HtmlTokenizer.SkipByteOrderMark()71a6e2a
Added more Rfc2047 unit testsefbd8b0
Added more ValueStringBuilder unit testsd09fa1e
Added ByteArrayBuilderTests.cs76839db
Reduced memory allocations in Rfc2047.DecodePhrase() and DecodeText()8cc5a4a
Fixed test.ps15061fc2
Update main.ymlDependabot 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 show