Skip to content

Releases: axuno/MailMergeLib

v5.8.0.0

04 Feb 09:00
d8d911d
Compare
Choose a tag to compare

Maintenance release

  • Updated dependencies to latest versions
    • Fixed compatibility issues with updated dependencies (specifically MailKit, MimeKit and YAXLib with new major versions).
    • Now referencing updated SmartFormat.Net v2.7.2 for formatting.
    • No impact on MailMergeLib public API.
  • Supported frameworks
    • .Net Framework: 4.6.1 and later
    • NetStandard: 2.1 and later

v5.7.1.0

05 Jan 22:24
Compare
Choose a tag to compare

Maintenance release

  • Added support for NET5.0
  • MailMergeLib.Tests is now NetCoreApp3.1
  • Formatting (parse and format variables) can be switched off with MailMergeLib.EnableFormatter = false . Default is true
  • Fixed file related tests for AppVeyor and Travis
  • Enabled SourceLink

v5.7.0.1

15 Nov 17:26
Compare
Choose a tag to compare

Note:
New release, because v5.7.0.0 referenced MailKit/MimeKit 2.4.0 assemblies, which were not strongly signed for .NetFramework 4.6 in the NuGet packages

  • Encryption of Credential in Settings can now be disabled. Breaking change: disabled is the default. To enable, set Settings.CryptoEnabled = true.
  • SMTP settings can now be read from web.config as well as app.config
  • Path checks (e.g. inline images, attachments) now respect Linux and MacOsX platform rules beside Windows. Linux tests run on Ubuntu.
  • Classes in namespace 'MailMergLib.SmartFormatMail' were obsolete and are now removed.
  • Updated string parser/formatter to SmartFormat.Net v2.5
    • Data Sources
      • New: Added ValueTupleSource for ValueTuples
      • Changed: SmartObjects and SmartObjectsSource are depreciated in favor of ValueTupleSource
    • Settings
      • Breaking Change: Internal string comparisons (i.e. for placeholder names) are no more culture-specific, but Ordinal or OrdinalIgnoreCase respectively. See discussion under this issue.
      • Breaking Change: Default ErrorAction is now ThrowError for parser and formatter, instead of Ignore
    • Other
      • Changed: Removed all members which were flagged obsolete since more than a year.
  • Updated versions of other dependencies
  • Dropped support of .NetFramework 4.5 (because of dependency to AngleSharp package). Minimum now is 4.6.
  • Dropped support of NetStandard1.6 (as announced)

v5.7.0.0

14 Nov 21:33
Compare
Choose a tag to compare
  • Encryption of Credential in Settings can now be disabled. Breaking change: disabled is the default. To enable, set Settings.CryptoEnabled = true.
  • SMTP settings can now be read from web.config as well as app.config
  • Path checks (e.g. inline images, attachments) now respect Linux and MacOsX platform rules beside Windows. Linux tests run on Ubuntu.
  • Classes in namespace 'MailMergLib.SmartFormatMail' were obsolete and are now removed.
  • Updated string parser/formatter to SmartFormat.Net v2.5
    • Data Sources
      • New: Added ValueTupleSource for ValueTuples
      • Changed: SmartObjects and SmartObjectsSource are depreciated in favor of ValueTupleSource
    • Settings
      • Breaking Change: Internal string comparisons (i.e. for placeholder names) are no more culture-specific, but Ordinal or OrdinalIgnoreCase respectively. See discussion under this issue.
      • Breaking Change: Default ErrorAction is now ThrowError for parser and formatter, instead of Ignore
    • Other
      • Changed: Removed all members which were flagged obsolete since more than a year.
  • Updated versions of other dependencies
  • Dropped support of .NetFramework 4.5 (same as with MailKit/MimeKit packages). Minimum now is 4.6.
  • Dropped support of NetStandard1.6 (as announced)

v5.6.1.0

29 Dec 22:07
Compare
Choose a tag to compare
  • Reverted back to v5.5.0 behavior: MessageConfig.FileBaseDirectory must be a full path only before the MailMergeMessage is processed (not already, when the property is set).
  • Closes #18
  • Classes in namespace 'MailMergLib.SmartFormatMail' are obsolete. Use namespace 'SmartFormat' from dependency 'SmartFormat.Net' instead.
  • This is the last minor version which supports netstandard1.6
  • Updated versions of dependencies
  • More unit tests

v5.6.0.0

27 Dec 23:57
Compare
Choose a tag to compare
  • Classes in namespace 'MailMergLib.SmartFormatMail' are obsolete. Use namespace 'SmartFormat' from new dependency 'SmartFormat.Net' instead.
  • This is the last version which supports netstandard1.6
  • Updated versions of dependencies

v5.5.0.0

15 Jun 23:16
Compare
Choose a tag to compare

New features:

v5.4.1.0

10 Mar 11:42
Compare
Choose a tag to compare

New feature: Within a MailMergeSender.OnMessageFailure delegate the cause of the failure can be removed, so that the message can still be sent successfully. See details in https://github.com/axuno/MailMergeLib/wiki/Message-Error-Handling

v5.4.0.0

17 Feb 23:18
Compare
Choose a tag to compare

Changes:

  • Refactored raising events in MailMergeSender and MailMergeMessage
  • Integrated SmartFormat.NET v.2.2.0 which resolves a rare issue, when null is a parameter of Send... methods of MailMergeSender.
  • Exceptions in MailSmartFormatter are all caught (i.e. not propagated to MailMergeSender), never mind the exception settings in SmartFormatMail modules. This way they do no more have influence when generating the email message. Format and parse errors always end up in a MailMergeMessageException.
  • Added new exception of type ParseException for parsing issues in the template. ParseException are included as inner exceptions of MailMergeMessageException when building a message fails.
  • Updated dependency: MailKit v2.0,1 MimeKit v2.0.1 (.NetStandard, .Net 4.5) and v1.22.0 (.Net 4.0)
  • Updated dependency: AngleSharp 0.9.9.1
  • Updated dependencies in UnitTests: NUnit 3.9.0 and NUnit3TestAdapter 3.9.0
  • Added unit tests for raising events in MailMergeSender and MailMergeMessage
  • Updated the API documentation

Note:
As MailKit and MileKit no longer support .Net 4.0, this is expected to become the last release which supplies packages for .Net 4.0.

v5.3.0.0

18 Aug 11:11
Compare
Choose a tag to compare

New components:

  • All relevant classes can be serialized and deserialized
  • MessageStore for saving and loading MailMergeMessages
  • Integrated SmartFormat.Net 2.1.0.2 for handling templates and {placeholders}. Character string literals read from files or other resources (outside the code) are now treated like with string.Format inside of code. However, backslashes in filenames are not treated as escape characters.
  • Templates: MailMergeMessages may contain text and/or html Templates which are inserted depending on certain conditions. Templates may contain {placeholders}
  • Credential class implementing already existing ICredentials
  • New unit test for added and changed components

Changes:

  • Classes contain Equality methods
  • Moved from System.Xml.Serialization to YAXLib v2.15
  • Updated dependency for MailKit v1.18.0, MimeKit v1.18.0
  • Moved solution to Visual Studio 2017
  • Migrated MailMergeLib.NetCore to the VS2017 xml project file format
  • Added method MailMergeMessage.GetMimeMessages(IEnumerable data)
  • MailMergeMessage.ConvertHtmlToPlainText() writes directly to MailMergeMessage.PlainText

Removed obsolete components:

  • HtmlTagHelper
  • TextVariableManager
  • HtmlAgilityPackHtmlConverter
  • RegExHtmlConverter
  • HtmlBodyBuilderRegEx

Documentation;

  • Wiki substantially extended
  • API documentation updated