CHANGES 11 KB

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