Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/branches/2-1-caching/actionmailer/CHANGELOG

Revision 8357, 11.9 kB (checked in by bitsweat, 1 year ago)

More changelog updates

Line 
1 *2.0.1* (December 7th, 2007)
2
3 * Update ActionMailer so it treats ActionView the same way that ActionController does.  Closes #10244 [rick]
4
5   * Pass the template_root as an array as ActionView's view_path
6   * Request templates with the "#{mailer_name}/#{action}" as opposed to just "#{action}"
7
8 * Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java]
9
10 * Update README to use new smtp settings configuration API. Closes #10060 [psq]
11
12 * Allow ActionMailer subclasses to individually set their delivery method (so two subclasses can have different delivery methods) #10033 [zdennis]
13
14 * Update TMail to v1.1.0.  Use an updated version of TMail if available.  [mikel]
15
16 * Introduce a new base test class for testing Mailers.  ActionMailer::TestCase [Koz]
17
18 * Fix silent failure of rxml templates.  #9879 [jstewart]
19
20 * Fix attachment decoding when using the TMail C extension.  #7861 [orangechicken]
21
22 * Increase mail delivery test coverage.  #8692 [Kamal Fariz Mahyuddin]
23
24 * Register alternative template engines using ActionMailer::Base.register_template_extension('haml').  #7534 [cwd, Josh Peek]
25
26 * Only load ActionController::UrlWriter if ActionController is present [Rick Olson]
27
28 * Make sure parsed emails recognized attachments nested inside multipart parts. #6714 [Jamis Buck]
29
30 * Allow mailer actions named send by using __send__ internally.  #6467 [iGEL]
31
32 * Add assert_emails and assert_no_emails to test the number of emails delivered.  #6479 [Jonathan Viney]
33     # Assert total number of emails delivered:
34     assert_emails 0
35     ContactMailer.deliver_contact
36     assert_emails 1
37
38     # Assert number of emails delivered within a block:
39     assert_emails 1 do
40       post :signup, :name => 'Jonathan'
41     end
42
43
44 *1.3.3* (March 12th, 2007)
45
46 * Depend on Action Pack 1.13.3
47
48
49 *1.3.2* (February 5th, 2007)
50
51 * Deprecate server_settings renaming it to smtp_settings,  add sendmail_settings to allow you to override the arguments to and location of the sendmail executable. [Koz]
52
53
54 *1.3.1* (January 16th, 2007)
55
56 * Depend on Action Pack 1.13.1
57
58
59 *1.3.0* (January 16th, 2007)
60
61 * Make mime version default to 1.0. closes #2323 [ror@andreas-s.net]
62
63 * Make sure quoted-printable text is decoded correctly when only portions of the text are encoded. closes #3154. [jon@siliconcircus.com]
64
65 * Make sure DOS newlines in quoted-printable text are normalized to unix newlines before unquoting. closes #4166 and #4452. [Jamis Buck]
66
67 * Fixed that iconv decoding should catch InvalidEncoding #3153 [jon@siliconcircus.com]
68
69 * Tighten rescue clauses.  #5985 [james@grayproductions.net]
70
71 * Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. [DHH]
72
73 * Replace Reloadable with Reloadable::Deprecated. [Nicholas Seckar]
74
75 * Mailer template root applies to a class and its subclasses rather than acting globally. #5555 [somekool@gmail.com]
76
77 * Resolve action naming collision. #5520 [ssinghi@kreeti.com]
78
79 * ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel Molina Jr.]
80
81 * Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
82
83 * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
84
85 * Correct spurious documentation example code which results in a SyntaxError. [Marcel Molina Jr.]
86
87
88 *1.2.1* (April 6th, 2006)
89
90 * Be part of Rails 1.1.1
91
92
93 *1.2.0* (March 27th, 2006)
94
95 * Nil charset caused subject line to be improperly quoted in implicitly multipart messages #2662 [ehalvorsen+rails@runbox.com]
96
97 * Parse content-type apart before using it so that sub-parts of the header can be set correctly #2918 [Jamis Buck]
98
99 * Make custom headers work in subparts #4034 [elan@bluemandrill.com]
100
101 * Template paths with dot chars in them no longer mess up implicit template selection for multipart messages #3332 [Chad Fowler]
102
103 * Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body [Jamis Buck]
104
105 * Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type [Jamis Buck]
106
107
108 *1.1.5* (December 13th, 2005)
109
110 * Become part of Rails 1.0
111
112
113 *1.1.4* (December 7th, 2005)
114
115 * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
116
117 * 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]
118
119
120 *1.1.3* (November 7th, 2005)
121
122 * Allow Mailers to have custom initialize methods that set default instance variables for all mail actions #2563 [mrj@bigpond.net.au]
123
124
125 *1.1.2* (October 26th, 2005)
126
127 * Upgraded to Action Pack 1.10.2
128
129
130 *1.1.1* (October 19th, 2005)
131
132 * Upgraded to Action Pack 1.10.1
133
134
135 *1.1.0* (October 16th, 2005)
136
137 * Update and extend documentation (rdoc)
138
139 * Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) [RubyConf '05]
140
141 * 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]
142
143 * Fix vendor require paths to prevent files being required twice
144
145 * Don't add charset to content-type header for a part that contains subparts (for AOL compatibility) #2013 [John Long]
146
147 * Preserve underscores when unquoting message bodies #1930
148
149 * Encode multibyte characters correctly #1894
150
151 * Multipart messages specify a MIME-Version header automatically #2003 [John Long]
152
153 * Add a unified render method to ActionMailer (delegates to ActionView::Base#render)
154
155 * Move mailer initialization to a separate (overridable) method, so that subclasses may alter the various defaults #1727
156
157 * Look at content-location header (if available) to determine filename of attachments #1670
158
159 * ActionMailer::Base.deliver(email) had been accidentally removed, but was documented in the Rails book #1849
160
161 * 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]
162
163
164 *1.0.1* (11 July, 2005)
165
166 * Bind to Action Pack 1.9.1
167
168
169 *1.0.0* (6 July, 2005)
170
171 * Avoid adding nil header values #1392
172
173 * Better multipart support with implicit multipart/alternative and sorting of subparts [John Long]
174
175 * Allow for nested parts in multipart mails #1570 [Flurin Egger]
176
177 * Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]
178
179 * Allow template to be explicitly specified #1448 [tuxie@dekadance.se]
180
181 * Allow specific "multipart/xxx" content-type to be set on multipart messages #1412 [Flurin Egger]
182
183 * Unquoted @ characters in headers are now accepted in spite of RFC 822 #1206
184
185 * Helper support (borrowed from ActionPack)
186
187 * Silently ignore Errno::EINVAL errors when converting text.
188
189 * Don't cause an error when parsing an encoded attachment name #1340 [lon@speedymac.com]
190
191 * Nested multipart message parts are correctly processed in TMail::Mail#body
192
193 * BCC headers are removed when sending via SMTP #1402
194
195 * Added 'content_type' accessor, to allow content type to be set on a per-message basis. content_type defaults to "text/plain".
196
197 * Silently ignore Iconv::IllegalSequence errors when converting text #1341 [lon@speedymac.com]
198
199 * Support attachments and multipart messages.
200
201 * Added new accessors for the various mail properties.
202
203 * 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]
204
205 * Fix attachments and content-type problems #1276 [Jamis Buck]
206
207 * 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]
208
209 * Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck]
210
211 * Added automatic decoding of base64 bodies #1214 [Jamis Buck]
212
213 * Added that delivery errors are caught in a way so the mail is still returned whether the delivery was successful or not
214
215 * 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]
216
217
218 *0.9.1* (20th April, 2005)
219
220 * Depend on Action Pack 1.8.1
221
222
223 *0.9.0* (19th April, 2005)
224
225 * Added that deliver_* will now return the email that was sent
226
227 * Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck]
228
229 * Fixed quoting for all address headers, not just to #955 [Jamis Buck]
230
231 * Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang@stufenlos.net]
232
233
234 *0.8.1* (27th March, 2005)
235
236 * Fixed that if charset was found that the end of a mime part declaration TMail would throw an error #919 [lon@speedymac.com]
237
238 * Fixed that TMail::Unquoter would fail to recognize quoting method if it was in lowercase #919 [lon@speedymac.com]
239
240 * 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]
241
242 * Added rescue for missing iconv library and throws warnings if subject/body is called on a TMail object without it instead
243
244
245 *0.8.0* (22th March, 2005)
246
247 * Added framework support for processing incoming emails with an Action Mailer class. See example in README.
248
249
250 *0.7.1* (7th March, 2005)
251
252 * Bind to newest Action Pack (1.5.1)
253
254
255 *0.7.0* (24th February, 2005)
256
257 * Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]. Examples:
258
259     def iso_charset(recipient)
260       @recipients = recipient
261       @subject    = "testing iso charsets"
262       @from       = "system@loudthinking.com"
263       @body       = "Nothing to see here."
264       @charset    = "iso-8859-1"
265     end
266    
267     def unencoded_subject(recipient)
268       @recipients = recipient
269       @subject    = "testing unencoded subject"
270       @from       = "system@loudthinking.com"
271       @body       = "Nothing to see here."
272       @encode_subject = false
273       @charset    = "iso-8859-1"
274     end
275    
276
277 *0.6.1* (January 18th, 2005)
278
279 * Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
280
281
282 *0.6* (January 17th, 2005)
283
284 * Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]
285
286 * Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 [Eric Hodel]
287
288
289 *0.5*
290
291 * Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas Schwarz]. Example:
292
293     def post_notification(recipients, post)
294       @recipients          = recipients
295       @from                = post.author.email_address_with_name
296       @headers["bcc"]      = SYSTEM_ADMINISTRATOR_EMAIL
297       @headers["reply-to"] = "notifications@example.com"
298       @subject             = "[#{post.account.name} #{post.title}]"
299       @body["post"]        = post
300     end
301
302 *0.4* (5)
303
304 * Consolidated the server configuration options into Base#server_settings= and expanded that with controls for authentication and more [Marten]
305   NOTE: This is an API change that could potentially break your application if you used the old application form. Please do change!
306
307 * 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]
308
309 * Added Base#perform_deliveries= which can be set to false to turn off the actual delivery of the email through smtp or sendmail.
310   This is especially useful for functional testing that shouldn't send off real emails, but still trigger delivery_* methods.
311
312 * Added option to specify delivery method with Base#delivery_method=. Default is :smtp and :sendmail is currently the only other option.
313   Sendmail is assumed to be present at "/usr/sbin/sendmail" if that option is used. [Kent Sibilev]
314
315 * Dropped "include TMail" as it added to much baggage into the default namespace (like Version) [Chad Fowler]
316
317
318 *0.3*
319
320 * First release
Note: See TracBrowser for help on using the browser.