CHANGES 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. Changelog
  2. =========
  3. 5.4.8 (2017-05-01)
  4. ------------------
  5. * fixed encoding inheritance in addPart()
  6. * fixed sorting MIME children when their types are equal
  7. 5.4.7 (2017-04-20)
  8. ------------------
  9. * fixed NTLMAuthenticator clobbering bcmath scale
  10. 5.4.6 (2017-02-13)
  11. ------------------
  12. * removed exceptions thrown in destructors as they lead to fatal errors
  13. * switched to use sha256 by default in DKIM as per the RFC
  14. * fixed an 'Undefined variable: pipes' PHP notice
  15. * fixed long To headers when using the mail transport
  16. * fixed NTLMAuthenticator when no domain is passed with the username
  17. * prevented fatal error during unserialization of a message
  18. * fixed a PHP warning when sending a message that has a length of a multiple of 8192
  19. 5.4.5 (2016-12-29)
  20. ------------------
  21. * SECURITY FIX: fixed CVE-2016-10074 by disallowing potentially unsafe shell characters
  22. Prior to 5.4.5, the mail transport (Swift_Transport_MailTransport) was vulnerable to passing
  23. arbitrary shell arguments if the "From", "ReturnPath" or "Sender" header came
  24. from a non-trusted source, potentially allowing Remote Code Execution
  25. * deprecated the mail transport
  26. 5.4.4 (2016-11-23)
  27. ------------------
  28. * reverted escaping command-line args to mail (PHP mail() function already does it)
  29. 5.4.3 (2016-07-08)
  30. ------------------
  31. * fixed SimpleHeaderSet::has()/get() when the 0 index is removed
  32. * removed the need to have mcrypt installed
  33. * fixed broken MIME header encoding with quotes/colons and non-ascii chars
  34. * allowed mail transport send for messages without To header
  35. * fixed PHP 7 support
  36. 5.4.2 (2016-05-01)
  37. ------------------
  38. * fixed support for IPv6 sockets
  39. * added auto-retry when sending messages from the memory spool
  40. * fixed consecutive read calls in Swift_ByteStream_FileByteStream
  41. * added support for iso-8859-15 encoding
  42. * fixed PHP mail extra params on missing reversePath
  43. * added methods to set custom stream context options
  44. * fixed charset changes in QpContentEncoderProxy
  45. * added return-path header to the ignoredHeaders list of DKIMSigner
  46. * fixed crlf for subject using mail
  47. * fixed add soft line break only when necessary
  48. * fixed escaping command-line args to mail
  49. 5.4.1 (2015-06-06)
  50. ------------------
  51. * made Swiftmailer exceptions confirm to PHP base exception constructor signature
  52. * fixed MAIL FROM & RCPT TO headers to be RFC compliant
  53. 5.4.0 (2015-03-14)
  54. ------------------
  55. * added the possibility to add extra certs to PKCS#7 signature
  56. * fix base64 encoding with streams
  57. * added a new RESULT_SPOOLED status for SpoolTransport
  58. * fixed getBody() on attachments when called more than once
  59. * removed dots from generated filenames in filespool
  60. 5.3.1 (2014-12-05)
  61. ------------------
  62. * fixed cloning of messages with attachments
  63. 5.3.0 (2014-10-04)
  64. ------------------
  65. * fixed cloning when using signers
  66. * reverted removal of Swift_Encoding
  67. * drop support for PHP 5.2.x
  68. 5.2.2 (2014-09-20)
  69. ------------------
  70. * fixed Japanese support
  71. * fixed the memory spool when the message changes when in the pool
  72. * added support for cloning messages
  73. * fixed PHP warning in the redirect plugin
  74. * changed the way to and cc-ed email are sent to only use one transaction
  75. 5.2.1 (2014-06-13)
  76. ------------------
  77. * SECURITY FIX: fixed CLI escaping when using sendmail as a transport
  78. Prior to 5.2.1, the sendmail transport (Swift_Transport_SendmailTransport)
  79. was vulnerable to an arbitrary shell execution if the "From" header came
  80. from a non-trusted source and no "Return-Path" is configured.
  81. * fixed parameter in DKIMSigner
  82. * fixed compatibility with PHP < 5.4
  83. 5.2.0 (2014-05-08)
  84. ------------------
  85. * fixed Swift_ByteStream_FileByteStream::read() to match to the specification
  86. * fixed from-charset and to-charset arguments in mbstring_convert_encoding() usages
  87. * fixed infinite loop in StreamBuffer
  88. * fixed NullTransport to return the number of ignored emails instead of 0
  89. * Use phpunit and mockery for unit testing (realityking)
  90. 5.1.0 (2014-03-18)
  91. ------------------
  92. * fixed data writing to stream when sending large messages
  93. * added support for libopendkim (https://github.com/xdecock/php-opendkim)
  94. * merged SignedMessage and Message
  95. * added Gmail XOAuth2 authentication
  96. * updated the list of known mime types
  97. * added NTLM authentication
  98. 5.0.3 (2013-12-03)
  99. ------------------
  100. * fixed double-dot bug
  101. * fixed DKIM signer
  102. 5.0.2 (2013-08-30)
  103. ------------------
  104. * handled correct exception type while reading IoBuffer output
  105. 5.0.1 (2013-06-17)
  106. ------------------
  107. * changed the spool to only start the transport when a mail has to be sent
  108. * fixed compatibility with PHP 5.2
  109. * fixed LICENSE file
  110. 5.0.0 (2013-04-30)
  111. ------------------
  112. * changed the license from LGPL to MIT
  113. 4.3.1 (2013-04-11)
  114. ------------------
  115. * removed usage of the native QP encoder when the charset is not UTF-8
  116. * fixed usage of uniqid to avoid collisions
  117. * made a performance improvement when tokenizing large headers
  118. * fixed usage of the PHP native QP encoder on PHP 5.4.7+
  119. 4.3.0 (2013-01-08)
  120. ------------------
  121. * made the temporary directory configurable via the TMPDIR env variable
  122. * added S/MIME signer and encryption support
  123. 4.2.2 (2012-10-25)
  124. ------------------
  125. * added the possibility to throttle messages per second in ThrottlerPlugin (mostly for Amazon SES)
  126. * switched mime.qpcontentencoder to automatically use the PHP native encoder on PHP 5.4.7+
  127. * allowed specifying a whitelist with regular expressions in RedirectingPlugin
  128. 4.2.1 (2012-07-13)
  129. ------------------
  130. * changed the coding standards to PSR-1/2
  131. * fixed issue with autoloading
  132. * added NativeQpContentEncoder to enhance performance (for PHP 5.3+)
  133. 4.2.0 (2012-06-29)
  134. ------------------
  135. * added documentation about how to use the Japanese support introduced in 4.1.8
  136. * added a way to override the default configuration in a lazy way
  137. * changed the PEAR init script to lazy-load the initialization
  138. * fixed a bug when calling Swift_Preferences before anything else (regression introduced in 4.1.8)
  139. 4.1.8 (2012-06-17)
  140. ------------------
  141. * added Japanese iso-2022-jp support
  142. * changed the init script to lazy-load the initialization
  143. * fixed docblocks (@id) which caused some problems with libraries parsing the dobclocks
  144. * fixed Swift_Mime_Headers_IdentificationHeader::setId() when passed an array of ids
  145. * fixed encoding of email addresses in headers
  146. * added replacements setter to the Decorator plugin
  147. 4.1.7 (2012-04-26)
  148. ------------------
  149. * fixed QpEncoder safeMapShareId property
  150. 4.1.6 (2012-03-23)
  151. ------------------
  152. * reduced the size of serialized Messages
  153. 4.1.5 (2012-01-04)
  154. ------------------
  155. * enforced Swift_Spool::queueMessage() to return a Boolean
  156. * made an optimization to the memory spool: start the transport only when required
  157. * prevented stream_socket_client() from generating an error and throw a Swift_TransportException instead
  158. * fixed a PHP warning when calling to mail() when safe_mode is off
  159. * many doc tweaks
  160. 4.1.4 (2011-12-16)
  161. ------------------
  162. * added a memory spool (Swift_MemorySpool)
  163. * fixed too many opened files when sending emails with attachments
  164. 4.1.3 (2011-10-27)
  165. ------------------
  166. * added STARTTLS support
  167. * added missing @return tags on fluent methods
  168. * added a MessageLogger plugin that logs all sent messages
  169. * added composer.json
  170. 4.1.2 (2011-09-13)
  171. ------------------
  172. * fixed wrong detection of magic_quotes_runtime
  173. * fixed fatal errors when no To or Subject header has been set
  174. * fixed charset on parameter header continuations
  175. * added documentation about how to install Swiftmailer from the PEAR channel
  176. * fixed various typos and markup problem in the documentation
  177. * fixed warning when cache directory does not exist
  178. * fixed "slashes are escaped" bug
  179. * changed require_once() to require() in autoload
  180. 4.1.1 (2011-07-04)
  181. ------------------
  182. * added missing file in PEAR package
  183. 4.1.0 (2011-06-30)
  184. ------------------
  185. * documentation has been converted to ReST
  186. 4.1.0 RC1 (2011-06-17)
  187. ----------------------
  188. New features:
  189. * changed the Decorator Plugin to allow replacements in all headers
  190. * added Swift_Mime_Grammar and Swift_Validate to validate an email address
  191. * modified the autoloader to lazy-initialize Swiftmailer
  192. * removed Swift_Mailer::batchSend()
  193. * added NullTransport
  194. * added new plugins: RedirectingPlugin and ImpersonatePlugin
  195. * added a way to send messages asynchronously (Spool)