CHANGELOG 8.8 KB
Newer Older
1 2 3 4
*SVN*

* Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]

5 6
* Correct spurious documentation example code which results in a SyntaxError. [Marcel Molina Jr.]

D
David Heinemeier Hansson 已提交
7
*1.2.1* (April 6th, 2006)
8 9 10 11

* Be part of Rails 1.1.1


D
David Heinemeier Hansson 已提交
12
*1.2.0* (March 27th, 2006)
13

14 15
* Nil charset caused subject line to be improperly quoted in implicitly multipart messages #2662 [ehalvorsen+rails@runbox.com]

16 17
* Parse content-type apart before using it so that sub-parts of the header can be set correctly #2918 [Jamis Buck]

18 19
* Make custom headers work in subparts #4034 [elan@bluemandrill.com]

20 21
* Template paths with dot chars in them no longer mess up implicit template selection for multipart messages #3332 [Chad Fowler]

22 23
* Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body [Jamis Buck]

24 25
* Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type [Jamis Buck]

26

27 28 29 30
*1.1.5* (December 13th, 2005)

* Become part of Rails 1.0

31

32 33
*1.1.4* (December 7th, 2005)

34 35
* Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]

36 37 38
* Stricter matching for implicitly multipart filenames excludes files ending in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml).  #2398 [Dave Burt <dave@burt.id.au>, Jeremy Kemper]


39
*1.1.3* (November 7th, 2005)
40 41 42 43

* Allow Mailers to have custom initialize methods that set default instance variables for all mail actions #2563 [mrj@bigpond.net.au]


44 45 46 47 48
*1.1.2* (October 26th, 2005)

* Upgraded to Action Pack 1.10.2


D
David Heinemeier Hansson 已提交
49 50 51 52 53
*1.1.1* (October 19th, 2005)

* Upgraded to Action Pack 1.10.1


54
*1.1.0* (October 16th, 2005)
55

56 57
* Update and extend documentation (rdoc)

58 59
* Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) [RubyConf '05]

60 61
* Austin Ziegler made Text::Simple available to Rails/ActionMailer under a MIT-like licens [See rails ML, subject "Text::Format Licence Exception" on Oct 15, 2005]

62 63
* Fix vendor require paths to prevent files being required twice

64 65
* Don't add charset to content-type header for a part that contains subparts (for AOL compatibility) #2013 [John Long]

66 67
* Preserve underscores when unquoting message bodies #1930

68 69
* Encode multibyte characters correctly #1894

70 71
* Multipart messages specify a MIME-Version header automatically #2003 [John Long]

72 73
* Add a unified render method to ActionMailer (delegates to ActionView::Base#render)

74 75
* Move mailer initialization to a separate (overridable) method, so that subclasses may alter the various defaults #1727

76 77
* Look at content-location header (if available) to determine filename of attachments #1670

78 79
* ActionMailer::Base.deliver(email) had been accidentally removed, but was documented in the Rails book #1849

80 81 82
* Fix problem with sendmail delivery where headers should be delimited by \n characters instead of \r\n, which confuses some mail readers #1742 [Kent Sibilev]


83 84 85 86 87
*1.0.1* (11 July, 2005)

* Bind to Action Pack 1.9.1


88
*1.0.0* (6 July, 2005)
89

90 91
* Avoid adding nil header values #1392

92 93
* Better multipart support with implicit multipart/alternative and sorting of subparts [John Long]

94 95
* Allow for nested parts in multipart mails #1570 [Flurin Egger]

96 97
* Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]

98 99
* Allow template to be explicitly specified #1448 [tuxie@dekadance.se]

100 101
* Allow specific "multipart/xxx" content-type to be set on multipart messages #1412 [Flurin Egger]

102 103
* Unquoted @ characters in headers are now accepted in spite of RFC 822 #1206

J
Jamis Buck 已提交
104 105
* Helper support (borrowed from ActionPack)

106 107
* Silently ignore Errno::EINVAL errors when converting text.

108 109
* Don't cause an error when parsing an encoded attachment name #1340 [lon@speedymac.com]

110 111
* Nested multipart message parts are correctly processed in TMail::Mail#body

112 113
* BCC headers are removed when sending via SMTP #1402

114 115
* Added 'content_type' accessor, to allow content type to be set on a per-message basis. content_type defaults to "text/plain".

116 117
* Silently ignore Iconv::IllegalSequence errors when converting text #1341 [lon@speedymac.com]

118 119 120 121
* Support attachments and multipart messages.

* Added new accessors for the various mail properties.

122 123 124 125
* Fix to only perform the charset conversion if a 'from' and a 'to' charset are given (make no assumptions about what the charset was) #1276 [Jamis Buck]

* Fix attachments and content-type problems #1276 [Jamis Buck]

126 127 128 129
* Fixed the TMail#body method to look at the content-transfer-encoding header and unquote the body according to the rules it specifies #1265 [Jamis Buck]

* Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck]

130 131
* Added automatic decoding of base64 bodies #1214 [Jamis Buck]

132 133
* Added that delivery errors are caught in a way so the mail is still returned whether the delivery was successful or not

134 135 136
* Fixed that email address like "Jamis Buck, M.D." <wild.medicine@example.net> would cause the quoter to generate emails resulting in "bad address" errors from the mail server #1220 [Jamis Buck]


137 138 139 140 141
*0.9.1* (20th April, 2005)

* Depend on Action Pack 1.8.1


142
*0.9.0* (19th April, 2005)
143

144 145
* Added that deliver_* will now return the email that was sent

146 147
* Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck] 

148 149
* Fixed quoting for all address headers, not just to #955 [Jamis Buck]

150 151 152
* Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang@stufenlos.net]


153
*0.8.1* (27th March, 2005)
154

155 156 157 158 159 160
* Fixed that if charset was found that the end of a mime part declaration TMail would throw an error #919 [lon@speedymac.com]

* Fixed that TMail::Unquoter would fail to recognize quoting method if it was in lowercase #919 [lon@speedymac.com]

* Fixed that TMail::Encoder would fail when it attempts to parse e-mail addresses which are encoded using something other than the messages encoding method #919 [lon@speedymac.com]

161 162 163
* Added rescue for missing iconv library and throws warnings if subject/body is called on a TMail object without it instead


164
*0.8.0* (22th March, 2005)
165

166
* Added framework support for processing incoming emails with an Action Mailer class. See example in README.
167 168


169 170 171 172 173
*0.7.1* (7th March, 2005)

* Bind to newest Action Pack (1.5.1)


D
David Heinemeier Hansson 已提交
174
*0.7.0* (24th February, 2005)
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195

* Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]. Examples:

    def iso_charset(recipient)
      @recipients = recipient
      @subject    = "testing iso charsets"
      @from       = "system@loudthinking.com"
      @body       = "Nothing to see here."
      @charset    = "iso-8859-1"
    end
    
    def unencoded_subject(recipient)
      @recipients = recipient
      @subject    = "testing unencoded subject"
      @from       = "system@loudthinking.com"
      @body       = "Nothing to see here."
      @encode_subject = false
      @charset    = "iso-8859-1"
    end
    

196
*0.6.1* (January 18th, 2005)
197 198 199 200

* Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address


201
*0.6* (January 17th, 2005)
202 203 204 205 206 207

* Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]

* Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 [Eric Hodel]


D
David Heinemeier Hansson 已提交
208
*0.5*
209 210 211 212 213 214 215 216 217 218 219 220

* Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas Schwarz]. Example:

    def post_notification(recipients, post)
      @recipients          = recipients
      @from                = post.author.email_address_with_name
      @headers["bcc"]      = SYSTEM_ADMINISTRATOR_EMAIL
      @headers["reply-to"] = "notifications@example.com"
      @subject             = "[#{post.account.name} #{post.title}]"
      @body["post"]        = post
    end

D
Initial  
David Heinemeier Hansson 已提交
221 222 223 224 225
*0.4* (5)

* Consolidated the server configuration options into Base#server_settings= and expanded that with controls for authentication and more [Marten]
  NOTE: This is an API change that could potentially break your application if you used the old application form. Please do change!

226
* Added Base#deliveries as an accessor for an array of emails sent out through that ActionMailer class when using the :test delivery option. [Jeremy Kemper]
D
Initial  
David Heinemeier Hansson 已提交
227 228 229 230 231 232 233 234 235 236 237 238

* Added Base#perform_deliveries= which can be set to false to turn off the actual delivery of the email through smtp or sendmail.
  This is especially useful for functional testing that shouldn't send off real emails, but still trigger delivery_* methods.

* Added option to specify delivery method with Base#delivery_method=. Default is :smtp and :sendmail is currently the only other option.
  Sendmail is assumed to be present at "/usr/sbin/sendmail" if that option is used. [Kent Sibilev]

* Dropped "include TMail" as it added to much baggage into the default namespace (like Version) [Chad Fowler]


*0.3*

239
* First release