- no changes in this release.
- New #72: Add debug collector (@xepozz)
- Enh #118: Explicitly import classes, functions, and constants in "use" section (@mspirkov)
- Enh #118: Remove unnecessary files from Composer package (@mspirkov)
- Enh #122: Add PHP 8.5 support (@samdark)
- Chg #114: Change PHP constraint in
composer.jsonto8.1 - 8.4(@vjik) - Bug #114: Explicitly mark nullable parameters (@vjik)
- New #101: Add
NullMailerandStubMailer(@vjik) - New #104: Add
FileMailerconfiguration (@vjik) - New #109: Add
HtmlToTextBodyConverter(@vjik) - New #84: Add
MessageInterfacemethods:getAttachments(),getEmbeddings(),getHeaders(),withAddedAttachments(),withAddedEmbeddings()(@vjik) - New #84: Add
Messageclass that implementsMessageInterface(@vjik) - Chg #100: Remove
MessageFactoryInterfaceandMessageFactory, addMessageSettingsinstead it (@vjik) - Chg #101: Remove
MessageBodyRendererandMessageBodyTemplateclasses (@vjik) - Chg #101: Remove
yiisoft/viewdependency (@vjik) - Chg #101: Remove
MessageInterfacemethodscompose(),withTemplate()andwithLocale()(@vjik) - Chg #102, #108: Rename
MailertoBaseMailer, removebeforeSend()andafterSend()methods, finalize methods, and mark dependencies as read only (@vjik) - Chg #102: Remove
getMessage()method fromAfterSendandBeforeSendclasses, make$messageproperty public read only instead it (@vjik) - Chg #105: Change result type of
MessageInterface::with*methods fromselftostatic(@vjik) - Chg #108: Remove implementation of
StoppableEventInterfacefromBeforeSendand add$preventSendingMessageproperty to it (@vjik) - Chg #108: Remove
beforeSend()andafterSend()messages fromBaseMailer(@vjik) - Chg #84: Rename
MessageInterfacemethods:withEmbedded()towithEmbeddings(),withAttached()towithAttachments()and allow passing several files to them (@vjik) - Chg #94: Remove
getError()andwithError()methods fromMessageInterface(@vjik) - Chg #94: Change result of
MailerInterface::sendMultiple()toSendResultsobject (@vjik) - Chg #95: Use new
Priorityenumeration instead of integer value for define priority in message (@vjik) - Chg #96: Change order of constructor parameters in
MailerandFailMailer(@vjik) - Enh #83, #103: Make
psr/event-dispatcherdependency optional (@vjik) - Enh #103: Replace
RuntimeExceptiontoLogicExceptionwhen file name callback ofFileMailerreturns non-string value and improve an exception message (@vjik)
- New #82: Allow setting default "from" value in
MessageFactory(@vjik) - Chg #85: Raise minimal PHP version to
^8.1(@vjik) - Chg #89: Raise required
yiisoft/viewversion to^10.0(@vjik)
- Enh #63: Add support of
yiisoft/viewof version^8.0(@vjik)
- Chg #52: In
MessageInterfacemethods move a type hints from annotation to signature (@vjik) - Chg #60: Raise minimal PHP version to
^8.0(@vjik) - Enh #56: Add support of
yiisoft/viewof version^7.0(@vjik)
- New #44: Add immutable method
MailerInterface::withLocale()that set locale (@thenotsoft)
- Chg #43: Update the
yiisoft/viewdependency, added^5.0(@thenotsoft)
- Chg #40: Update the
yiisoft/viewdependency to^4.0(@vjik)
- Chg: Update
yiisoft/viewdependency to^3.0(@samdark)
- New #39: Add methods to
Yiisoft\Mailer\MessageInterface:getDate(),withDate(),getPriority(),withPriority(),getReturnPath(),withReturnPath(),getSender(),withSender()(@devanych)
- Chg: Use
yiisoft/view^2.0(@samdark)
Initial release.