Releases: axuno/MailMergeLib
Releases · axuno/MailMergeLib
v5.8.0.0
Maintenance release
- Updated dependencies to latest versions
- Fixed compatibility issues with updated dependencies (specifically
MailKit
,MimeKit
andYAXLib
with new major versions). - Now referencing updated SmartFormat.Net v2.7.2 for formatting.
- No impact on
MailMergeLib
public API.
- Fixed compatibility issues with updated dependencies (specifically
- Supported frameworks
- .Net Framework: 4.6.1 and later
- NetStandard: 2.1 and later
v5.7.1.0
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 istrue
- Fixed file related tests for AppVeyor and Travis
- Enabled SourceLink
v5.7.0.1
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
forValueTuple
s - Changed:
SmartObjects
andSmartObjectsSource
are depreciated in favor ofValueTupleSource
- New: Added
- Settings
- Breaking Change: Internal string comparisons (i.e. for placeholder names) are no more culture-specific, but
Ordinal
orOrdinalIgnoreCase
respectively. See discussion under this issue. - Breaking Change: Default
ErrorAction
is nowThrowError
for parser and formatter, instead ofIgnore
- Breaking Change: Internal string comparisons (i.e. for placeholder names) are no more culture-specific, but
- Other
- Changed: Removed all members which were flagged obsolete since more than a year.
- Data Sources
- 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
- 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
forValueTuple
s - Changed:
SmartObjects
andSmartObjectsSource
are depreciated in favor ofValueTupleSource
- New: Added
- Settings
- Breaking Change: Internal string comparisons (i.e. for placeholder names) are no more culture-specific, but
Ordinal
orOrdinalIgnoreCase
respectively. See discussion under this issue. - Breaking Change: Default
ErrorAction
is nowThrowError
for parser and formatter, instead ofIgnore
- Breaking Change: Internal string comparisons (i.e. for placeholder names) are no more culture-specific, but
- Other
- Changed: Removed all members which were flagged obsolete since more than a year.
- Data Sources
- 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
- 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
v5.5.0.0
New features:
- Support for JSON (JObject, JArray)
- IsMatchFormatter for evaluation of regular expressions
- Support for NetStandard 2.0
v5.4.1.0
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
Changes:
- Refactored raising events in
MailMergeSender
andMailMergeMessage
- Integrated SmartFormat.NET v.2.2.0 which resolves a rare issue, when
null
is a parameter ofSend...
methods ofMailMergeSender
. - Exceptions in
MailSmartFormatter
are all caught (i.e. not propagated toMailMergeSender
), 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 aMailMergeMessageException
. - Added new exception of type
ParseException
for parsing issues in the template.ParseException
are included as inner exceptions ofMailMergeMessageException
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
andMailMergeMessage
- 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
New components:
- All relevant classes can be serialized and deserialized
MessageStore
for saving and loadingMailMergeMessages
- 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 withstring.Format
inside of code. However, backslashes in filenames are not treated as escape characters. - Templates:
MailMergeMessage
s may contain text and/or html Templates which are inserted depending on certain conditions.Template
s may contain{placeholders}
Credential
class implementing already existingICredentials
- 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 toMailMergeMessage.PlainText
Removed obsolete components:
- HtmlTagHelper
- TextVariableManager
- HtmlAgilityPackHtmlConverter
- RegExHtmlConverter
- HtmlBodyBuilderRegEx
Documentation;
- Wiki substantially extended
- API documentation updated