CHANGES 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. Changelog
  2. =========
  3. 5.2.1 (2014-06-13)
  4. ------------------
  5. * SECURITY FIX: fixed CLI escaping when using sendmail as a transport
  6. Prior to 5.2.1, the sendmail transport (Swift_Transport_SendmailTransport)
  7. was vulnerable to an arbitrary shell execution if the "From" header came
  8. from a non-trusted source and no "Return-Path" is configured.
  9. * fixed parameter in DKIMSigner
  10. * fixed compatibility with PHP < 5.4
  11. 5.2.0 (2014-05-08)
  12. ------------------
  13. * fixed Swift_ByteStream_FileByteStream::read() to match to the specification
  14. * fixed from-charset and to-charset arguments in mbstring_convert_encoding() usages
  15. * fixed infinite loop in StreamBuffer
  16. * fixed NullTransport to return the number of ignored emails instead of 0
  17. * Use phpunit and mockery for unit testing (realityking)
  18. 5.1.0 (2014-03-18)
  19. ------------------
  20. * fixed data writing to stream when sending large messages
  21. * added support for libopendkim (https://github.com/xdecock/php-opendkim)
  22. * merged SignedMessage and Message
  23. * added Gmail XOAuth2 authentication
  24. * updated the list of known mime types
  25. * added NTLM authentication
  26. 5.0.3 (2013-12-03)
  27. ------------------
  28. * fixed double-dot bug
  29. * fixed DKIM signer
  30. 5.0.2 (2013-08-30)
  31. ------------------
  32. * handled correct exception type while reading IoBuffer output
  33. 5.0.1 (2013-06-17)
  34. ------------------
  35. * changed the spool to only start the transport when a mail has to be sent
  36. * fixed compatibility with PHP 5.2
  37. * fixed LICENSE file
  38. 5.0.0 (2013-04-30)
  39. ------------------
  40. * changed the license from LGPL to MIT
  41. 4.3.1 (2013-04-11)
  42. ------------------
  43. * removed usage of the native QP encoder when the charset is not UTF-8
  44. * fixed usage of uniqid to avoid collisions
  45. * made a performance improvement when tokenizing large headers
  46. * fixed usage of the PHP native QP encoder on PHP 5.4.7+
  47. 4.3.0 (2013-01-08)
  48. ------------------
  49. * made the temporary directory configurable via the TMPDIR env variable
  50. * added S/MIME signer and encryption support
  51. 4.2.2 (2012-10-25)
  52. ------------------
  53. * added the possibility to throttle messages per second in ThrottlerPlugin (mostly for Amazon SES)
  54. * switched mime.qpcontentencoder to automatically use the PHP native encoder on PHP 5.4.7+
  55. * allowed specifying a whitelist with regular expressions in RedirectingPlugin
  56. 4.2.1 (2012-07-13)
  57. ------------------
  58. * changed the coding standards to PSR-1/2
  59. * fixed issue with autoloading
  60. * added NativeQpContentEncoder to enhance performance (for PHP 5.3+)
  61. 4.2.0 (2012-06-29)
  62. ------------------
  63. * added documentation about how to use the Japanese support introduced in 4.1.8
  64. * added a way to override the default configuration in a lazy way
  65. * changed the PEAR init script to lazy-load the initialization
  66. * fixed a bug when calling Swift_Preferences before anything else (regression introduced in 4.1.8)
  67. 4.1.8 (2012-06-17)
  68. ------------------
  69. * added Japanese iso-2022-jp support
  70. * changed the init script to lazy-load the initialization
  71. * fixed docblocks (@id) which caused some problems with libraries parsing the dobclocks
  72. * fixed Swift_Mime_Headers_IdentificationHeader::setId() when passed an array of ids
  73. * fixed encoding of email addresses in headers
  74. * added replacements setter to the Decorator plugin
  75. 4.1.7 (2012-04-26)
  76. ------------------
  77. * fixed QpEncoder safeMapShareId property
  78. 4.1.6 (2012-03-23)
  79. ------------------
  80. * reduced the size of serialized Messages
  81. 4.1.5 (2012-01-04)
  82. ------------------
  83. * enforced Swift_Spool::queueMessage() to return a Boolean
  84. * made an optimization to the memory spool: start the transport only when required
  85. * prevented stream_socket_client() from generating an error and throw a Swift_TransportException instead
  86. * fixed a PHP warning when calling to mail() when safe_mode is off
  87. * many doc tweaks
  88. 4.1.4 (2011-12-16)
  89. ------------------
  90. * added a memory spool (Swift_MemorySpool)
  91. * fixed too many opened files when sending emails with attachments
  92. 4.1.3 (2011-10-27)
  93. ------------------
  94. * added STARTTLS support
  95. * added missing @return tags on fluent methods
  96. * added a MessageLogger plugin that logs all sent messages
  97. * added composer.json
  98. 4.1.2 (2011-09-13)
  99. ------------------
  100. * fixed wrong detection of magic_quotes_runtime
  101. * fixed fatal errors when no To or Subject header has been set
  102. * fixed charset on parameter header continuations
  103. * added documentation about how to install Swiftmailer from the PEAR channel
  104. * fixed various typos and markup problem in the documentation
  105. * fixed warning when cache directory does not exist
  106. * fixed "slashes are escaped" bug
  107. * changed require_once() to require() in autoload
  108. 4.1.1 (2011-07-04)
  109. ------------------
  110. * added missing file in PEAR package
  111. 4.1.0 (2011-06-30)
  112. ------------------
  113. * documentation has been converted to ReST
  114. 4.1.0 RC1 (2011-06-17)
  115. ----------------------
  116. New features:
  117. * changed the Decorator Plugin to allow replacements in all headers
  118. * added Swift_Mime_Grammar and Swift_Validate to validate an email address
  119. * modified the autoloader to lazy-initialize Swiftmailer
  120. * removed Swift_Mailer::batchSend()
  121. * added NullTransport
  122. * added new plugins: RedirectingPlugin and ImpersonatePlugin
  123. * added a way to send messages asynchronously (Spool)