Releases: danzuep/MailKitSimplified
Releases · danzuep/MailKitSimplified
v2.11.13: Force a reconnection on second failure
What's Changed
- #72 Added an option to re-throw exceptions from the idle client
- #72 fix cancellation token disposed exception
- #72 added an option to force a reconnection attempt
Full Changelog: v2.11.12...v2.11.13
v2.11.12
v2.11.10
v2.11.9
Change Warning
- Simplified IMailReader.Top and Range to use int for #70
Changes
- Added MailFolderClient.GetFolderAsync() with createIfNotFound option for #62
- Added MailFolderClient.MoveToAsync() for #63
- Added scoped service builder for #63
- Fixes for moving messages in Gmail #68
- Fix for null source folder scenario #70
- Simplified the internal move methods #70
Merges
- Removed MemoryCache from ImapReceiverFactory by new contributor @Sylar-A in #64
- Bump xunit from 2.8.0 to 2.8.1 in /source by @dependabot in #66
- Bump gittools/actions from 1.1.1 to 3.0.0 by @dependabot in #71
Full Changelog: v2.10.0...v2.11.9
v2.10.0
v2.9.0
v2.8.0
Breaking Changes
- changed from MailFolderClient.SentFolder.Value to MailFolderClient.SentFolder by hiding the lazy usage
Changes
- added MailFolderClient.DraftsFolder for #43
- added Drafts, Junk, and Trash special folders (was just Sent before)
- added Top() and Query().GetMimeMessageEnvelopeBodyAsync()
- changed MailFolderReader.CoreMessageItems to ItemsForMimeMessages()
- changed MailFolderReader.Query method overloads to extension methods
- moved CoreMessageItems to IMailReader.ItemsForMimeMessages()
v2.7.0
v2.6.1
Breaking Change
- Use Range().GetMimeMessagesAsync() instead of GetMimeMessagesAsync(range) to match the package style.
- Use Items().GetMessageSummariesAsync() instead of GetMessageSummariesAsync(itemFilter) to match the package style.
- Query().GetMessageSummariesAsync() returns results in ascending order now to match MailKit. Use the Linq.Reverse() method to get results in descending order again. The reason for doing this was to speed up the results and to make the Query() behaviour the same as using Skip().Take() or Range().
- Query().GetMimeMessagesAsync() returns results in ascending order now to match GetMessageSummariesAsync for the reasons above.
Changes
- simplified GetMessageSummariesAsync, GetMimeMessagesAsync and SaveAllAsync for Range values
- added the obsolete attribute to methods that should use Range instead
- generate a new messageId for the MimeMessage template
- removed the slow result filtering from Range().GetMessageSummariesAsync() #38
- Query() now overwrites Take to 250 to match MailKit behaviour
- added ImapReceiverFactory and MailFolderMonitorFactory singletons #39
- added Func<IMessageSummary, Task> to MailFolderMonitorFactory
v2.5.5
Changes:
- Fixed issue with setting EmailReceiver.ProtocolLog to make it equivalent to EmailReceiver.ProtocolLogger:FileWriter:FilePath.
- Stopped disposing services resolved from the container #31
- Fix for uint.MaxValue Arithmetic Operation Overflow #32
- Changed from uniqueIds.OrderBy(u => u.Id).ToList() to new UniqueIdSet(uniqueIds, SortOrder.Ascending) based on advice from Jeffrey Stedfast.
- Added ReadMail.Range(new UniqueId(startUid), new UniqueId(endUid)) #35
- Download Mime Message without Attachment #35