Skip to content

Releases: yiisoft/mailer

Version 6.0.0

18 Oct 07:33
6.0.0
01c8617
Compare
Choose a tag to compare
  • New #101: Add NullMailer and StubMailer (@vjik)
  • New #104: Add FileMailer configuration (@vjik)
  • New #109: Add HtmlToTextBodyConverter (@vjik)
  • New #84: Add MessageInterface methods: getAttachments(), getEmbeddings(), getHeaders(),
    withAddedAttachments(), withAddedEmbeddings() (@vjik)
  • New #84: Add Message class that implements MessageInterface (@vjik)
  • Chg #100: Remove MessageFactoryInterface and MessageFactory, add MessageSettings instead it (@vjik)
  • Chg #101: Remove MessageBodyRenderer and MessageBodyTemplate classes (@vjik)
  • Chg #101: Remove yiisoft/view dependency (@vjik)
  • Chg #101: Remove MessageInterface methods compose(), withTemplate() and withLocale() (@vjik)
  • Chg #102, #108: Rename Mailer to BaseMailer, remove beforeSend() and afterSend() methods, finalize methods,
    and mark dependencies as read only (@vjik)
  • Chg #102: Remove getMessage() method from AfterSend and BeforeSend classes, make $message property public
    read only instead it (@vjik)
  • Chg #105: Change result type of MessageInterface::with* methods from self to static (@vjik)
  • Chg #108: Remove implementation of StoppableEventInterface from BeforeSend and add $preventSendingMessage
    property to it (@vjik)
  • Chg #108: Remove beforeSend() and afterSend() messages from BaseMailer (@vjik)
  • Chg #84: Rename MessageInterface methods: withEmbedded() to withEmbeddings(), withAttached()
    to withAttachments() and allow passing several files to them (@vjik)
  • Chg #94: Remove getError() and withError() methods from MessageInterface (@vjik)
  • Chg #94: Change result of MailerInterface::sendMultiple() to SendResults object (@vjik)
  • Chg #95: Use new Priority enumeration instead of integer value for define priority in message (@vjik)
  • Chg #96: Change order of constructor parameters in Mailer and FailMailer (@vjik)
  • Enh #83, #103: Make psr/event-dispatcher dependency optional (@vjik)
  • Enh #103: Replace RuntimeException to LogicException when file name callback of FileMailer returns non-string
    value and improve exception message (@vjik)

Version 5.1.0

02 Jul 14:36
5.1.0
dcb7177
Compare
Choose a tag to compare
  • New #82: Allow to set default "from" value in MessageFactory (@vjik)
  • Chg #85: Raise minimal PHP version to ^8.1 (@vjik)
  • Chg #89: Raise required yiisoft/view version to ^10.0 (@vjik)

Version 5.0.1

17 Feb 05:41
5.0.1
9dcd66f
Compare
Choose a tag to compare
  • Enh #63: Add support of yiisoft/view of version ^8.0 (@vjik)

Version 5.0.0

28 Dec 12:51
5.0.0
2b12699
Compare
Choose a tag to compare
  • Chg #52: In MessageInterface methods 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/view of version ^7.0 (@vjik)

Version 4.0.0

23 Jul 21:50
Compare
Choose a tag to compare
  • New #44: Add immutable method MailerInterface::withLocale() that set locale (@thenotsoft)