Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Releases: floriangaerber/Magnesium-PHP

v0.4.0-alpha4

13 Apr 10:23
28abd2a

Choose a tag to compare

v0.4.0-alpha4 Pre-release
Pre-release
  • Fixes targeting master branch in v0.4.0-alpha3

v0.4.0-alpha2

10 Apr 21:30

Choose a tag to compare

v0.4.0-alpha2 Pre-release
Pre-release
  • Fixed not using Magnesium\Message\BatchMessage in Magnesium\Magnesium
  • This is why I need to add unit tests (Or do any testing at all)

v0.4.0-alpha1

10 Apr 14:49

Choose a tag to compare

v0.4.0-alpha1 Pre-release
Pre-release
  • Reworked/Reorganized everything
  • Warning: Not fully unit tested yet!

v0.3.1

26 May 11:29

Choose a tag to compare

v0.3.1 Pre-release
Pre-release

Changes:

  • Added missing typehint to Magnesium\Message\Base::setText($text)
    • Now requires string as documented
  • Fixed error for undefined index in Magnesium\Message\Base::getCustomHeader($name)
    • Now returns null if header with name isn't set
  • Fixed missing call to Magnesium\Message\BatchMessage::getRecipients() in Magnesium\Message\BatchMessage::addRecipientsToConfig()
    • I forgot to re-add it after making local changes
  • Internally split up Magnesium\Message\BatchMessage::getConfig()
  • Fixed potential exploit in Magnesium\Message\Base::formatEmailString($config) where names containing either of <>@, may break the To string in Magnesium\Message\BatchMessage::addRecipientsToConfig(). Refer to the DocBlock for details
  • Began adding unit tests
    • Because many of these errors could've been avoided if there were any

v0.3.0

25 May 12:25

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

Changes:

  • Rewritten classes for extensibility
    • Magnesium\Messages\Bulk can now be found at Magensium\Message\BatchMessage
      • Renamed some functions and changed some behavior
    • Added a new base class, Magnesium\Message\Base
    • Errors can now be caught with Magnesium\Error\Base
      • There currently are no more elaborate errors
  • Began adding documentation

This should be the last major external changes, though I may add some more features in the future, such as a class with CC/BCC support, and attachment/inline support on Magnesium\Messages\Base.
I'll at least need to add unit tests before 1.0.0 though.

v0.2.0

21 May 12:54

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Changes:

  • Added HTML-escaping to recipient variables
    • Previously this was only done for messages to 1 recipient.
    • Default: true (enabled)
    • Set with setEscapeHtmlInRecipientVariables($bool)
    • When escaping in messages to 2+ recipients, recipient variables will always be escaped, even in the text-body.
    • When sending to only 1 recipient, only the HTML-body will be escaped.
  • Magnesium\Messages\Bulk now requires a domain at construction
    • Previously this was optional
    • You can still set and get the domain afterwards
  • Fixed Mailgun not actually being able to make API calls because of missing php-http/message and php-http/guzzle6-adapter dependencies

v0.1.0 Initial Release

20 May 18:38

Choose a tag to compare

Pre-release

Features:

  • Mailgun Webhook Validation
  • Bulk messages with %recipient.variables%