Skip to content

Releases: danzuep/MailKitSimplified

v2.11.1-rc

11 Jun 00:37
Compare
Choose a tag to compare
v2.11.1-rc Pre-release
Pre-release

Change Warning

  • Marked MessageSummary.MoveToAsync() obsolete due to #63

Changes

  • Added GetOrCreateFolderAsync() for #62
  • Added MailFolderCache.GetMailFolderAsync() for #63
  • Added MailFolderClient.MoveToAsync() for #63
  • Added scoped service builder for #63

Merges

  • Removed MemoryCache from ImapReceiverFactory by @Sylar-A in #64
  • Bump xunit from 2.8.0 to 2.8.1 in /source by @dependabot in #66

New Contributors

Full Changelog: v2.10.0...v2.11.0-rc1

v2.10.0

01 May 10:37
Compare
Choose a tag to compare

Changes

  • Remove methods marked with the Obsolete attribute for #52
  • Simplified target frameworks to Standard 2.0 or .NET 8.0
  • Updated packages to latest versions

v2.10.0-rc3: Bump actions/download-artifact from 3 to 4

09 Jan 03:04
Compare
Choose a tag to compare

Changes

  • Remove methods marked with the Obsolete attribute for #52
  • Simplified versions to Standard 2.0 or .NET 8.0

v2.9.0

15 Dec 01:22
Compare
Choose a tag to compare

Changes:

  • .NET 8.0 Target Framework added
  • fixed EnumerateOr SearchQuery
  • added SASL AuthenticationMechanism property for #44
  • added CustomAuthenticationMethod to EmailOptions for #44
  • SocketOptions used in Email_Options.Create_ClientAsync for #45

v2.8.0: changed from switch expression to .NET standard2.0 compatible switch-…

21 Oct 15:51
Compare
Choose a tag to compare

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

28 Sep 02:15
Compare
Choose a tag to compare

Changes

  • Added Top() method to return results sorted from newest to oldest. This makes it easier to get up and running with this library, as all other results are sorted from oldest to newest in ascending order (MailKit default).

v2.6.1

18 Sep 14:09
Compare
Choose a tag to compare

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

25 Aug 14:43
Compare
Choose a tag to compare

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

v2.5.5-preview2: Fixed issue with setting EmailReceiver.ProtocolLog to make it equival…

27 Aug 07:55
Compare
Choose a tag to compare

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

v2.5.4

19 Aug 16:19
Compare
Choose a tag to compare

Changes

  • Updated Sent Folder list.
  • Added MoveToSentAsync.