Skip to content

v2.6.1

Compare
Choose a tag to compare
@danzuep danzuep released this 18 Sep 14:09
· 93 commits to main since this release

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