Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 471 lines (233 sloc) 18.544 kB
e8d78e7 @spastorino Add CHANGELOG entries
spastorino authored
1 ## Rails 3.1.8 (Aug 9, 2012)
2
3 * No changes.
4
6cf68d7 @tenderlove updating rails release date
tenderlove authored
5 ## Rails 3.1.7 (Jul 26, 2012)
a4b8a7e @tenderlove updating changelog
tenderlove authored
6
7 * No changes.
8
63dce16 @tenderlove updating changelogs
tenderlove authored
9 ## Rails 3.1.6 (Jun 12, 2012)
75d039f @tenderlove adding version number to changelogs
tenderlove authored
10
11 * No changes.
12
a7ed198 @tenderlove updating the CHANGELOG
tenderlove authored
13 ## Rails 3.1.5 (May 31, 2012) ##
14
15 * Increase minimum version of mail.
16
43486e0 @jonleighton Convert CHANGELOGs to Markdown format.
jonleighton authored
17 ## Rails 3.1.1 (October 7, 2011) ##
18
19 * No changes
20
21
22 ## Rails 3.1.0 (August 30, 2011) ##
23
24 * No changes
25
26
27 ## Rails 3.0.7 (April 18, 2011) ##
28
29 * remove AM delegating register_observer and register_interceptor to Mail *Josh Kalderimis*
30
31
32 * Rails 3.0.6 (April 5, 2011)
33
34 * Don't allow i18n to change the minor version, version now set to ~> 0.5.0 *Santiago Pastorino*
35
36
37 ## Rails 3.0.5 (February 26, 2011) ##
38
39 * No changes.
40
41
42 ## Rails 3.0.4 (February 8, 2011) ##
43
44 * No changes.
45
46
47 ## Rails 3.0.3 (November 16, 2010) ##
48
49 * No changes.
50
51
52 ## Rails 3.0.2 (November 15, 2010) ##
53
54 * No changes
55
56
57 ## Rails 3.0.1 (October 15, 2010) ##
58
59 * No Changes, just a version bump.
60
61
62 ## Rails 3.0.0 (August 29, 2010) ##
63
64 * subject is automatically looked up on I18n using mailer_name and action_name as scope as in t(".subject") *JK*
65
66 * Changed encoding behaviour of mail, so updated tests in actionmailer and bumped mail version to 2.2.1 *ML*
67
68 * Added ability to pass Proc objects to the defaults hash *ML*
69
70 * Removed all quoting.rb type files from ActionMailer and put Mail 2.2.0 in instead *ML*
71
72 * Lot of updates to various test cases that now work better with the new Mail and so have different expectations
73
74 * Added interceptors and observers from Mail *ML*
75
76 ActionMailer::Base.register_interceptor calls Mail.register_interceptor
77 ActionMailer::Base.register_observer calls Mail.register_observer
78
79 * Mail::Part now no longer has nil as a default charset, it is always set to something, and defaults to UTF-8
80
81 * Added explict setting of charset in set_fields! method to make sure Mail has the user defined default
82
83 * Removed quoting.rb and refactored for Mail to take responsibility of all quoting and auto encoding requirements for the header.
84
85 * Fixed several tests which had incorrect encoding.
86
87 * Changed all utf-8 to UTF-8 for consistency
88
89 * Whole new API added with tests. See base.rb for full details. Old API is deprecated.
90
91 * The Mail::Message class has helped methods for all the field types that return 'common' defaults for the common use case, so to get the subject, mail.subject will give you a string, mail.date will give you a DateTime object, mail.from will give you an array of address specs (mikel@test.lindsaar.net) etc. If you want to access the field object itself, call mail[:field_name] which will return the field object you want, which you can then chain, like mail[:from].formatted
92
93 * Mail#content_type now returns the content_type field as a string. If you want the mime type of a mail, then you call Mail#mime_type (eg, text/plain), if you want the parameters of the content type field, you call Mail#content_type_parameters which gives you a hash, eg {'format' => 'flowed', 'charset' => 'utf-8'}
94
95 * ActionMailer::Base :default_implicit_parts_order now is in the sequence of the order you want, no reversing of ordering takes place. The default order now is text/plain, then text/enriched, then text/html and then any other part that is not one of these three.
96
97 * Mail does not have "quoted_body", "quoted_subject" etc. All of these are accessed via body.encoded, subject.encoded etc
98
99 * Every object in a Mail object returns an object, never a string. So Mail.body returns a Mail::Body class object, need to call #encoded or #decoded to get the string you want.
100 * Mail::Message#set_content_type does not exist, it is simply Mail::Message#content_type
101
102 * Every mail message gets a unique message_id unless you specify one, had to change all the tests that check for equality with expected.encoded == actual.encoded to first replace their message_ids with control values
103
104 * Mail now has a proper concept of parts, remove the ActionMailer::Part and ActionMailer::PartContainer classes
105
106 * Calling #encoded on any object returns it as a string ready to go into the output stream of an email, this means it includes the \r\n at the end of the lines and the object is pre-wrapped with \r\n\t if it is a header field. Also, the "encoded" value includes the field name if it is a header field.
107
108 * Attachments are only the actual attachment, with filename etc. A part contains an attachment. The part has the content_type etc. So attachments.last.content_type is invalid. But parts.last.content_type
109
110 * There is no idea of a "sub_head" in Mail. A part is just a Message with some extra functionality, so it just has a "header" like a normal mail message
111
112
113 ## 2.3.2 Final (March 15, 2009) ##
114
115 * Fixed that ActionMailer should send correctly formatted Return-Path in MAIL FROM for SMTP #1842 *Matt Jones*
116
117 * Fixed RFC-2045 quoted-printable bug #1421 *squadette*
118
119 * Fixed that no body charset would be set when there are attachments present #740 *Paweł Kondzior*
120
121
122 ## 2.2.1 RC2 (November 14th, 2008) ##
123
124 * Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and the SMTP server supports it (This is required for Gmail's SMTP server) #1336 *Grant Hollingworth*
125
126
127 ## 2.2.0 RC1 (October 24th, 2008) ##
128
129 * Add layout functionality to mailers *Pratik Naik*
130
131 Mailer layouts behaves just like controller layouts, except layout names need to
132 have '_mailer' postfix for them to be automatically picked up.
133
134
135 ## 2.1.0 (May 31st, 2008) ##
136
137 * Fixed that a return-path header would be ignored #7572 *joost*
138
139 * Less verbose mail logging: just recipients for :info log level; the whole email for :debug only. #8000 *iaddict, Tarmo Tänav*
140
141 * Updated TMail to version 1.2.1 *Mikel Lindsaar*
142
143 * Fixed that you don't have to call super in ActionMailer::TestCase#setup #10406 *jamesgolick*
144
145
146 ## 2.0.2 (December 16th, 2007) ##
147
148 * Included in Rails 2.0.2
149
150
151 ## 2.0.1 (December 7th, 2007) ##
152
153 * Update ActionMailer so it treats ActionView the same way that ActionController does. Closes #10244 *Rick Olson*
154
155 * Pass the template_root as an array as ActionView's view_path
156 * Request templates with the "#{mailer_name}/#{action}" as opposed to just "#{action}"
157
158 * Fixed that partials would be broken when using text.plain.erb as the extension #10130 *java*
159
160 * Update README to use new smtp settings configuration API. Closes #10060 *psq*
161
162 * Allow ActionMailer subclasses to individually set their delivery method (so two subclasses can have different delivery methods) #10033 *Zach Dennis*
163
164 * Update TMail to v1.1.0. Use an updated version of TMail if available. *Mikel Lindsaar*
165
166 * Introduce a new base test class for testing Mailers. ActionMailer::TestCase *Michael Koziarski*
167
168 * Fix silent failure of rxml templates. #9879 *jstewart*
169
170 * Fix attachment decoding when using the TMail C extension. #7861 *orangechicken*
171
172 * Increase mail delivery test coverage. #8692 *Kamal Fariz Mahyuddin*
173
174 * Register alternative template engines using ActionMailer::Base.register_template_extension('haml'). #7534 *cwd, Josh Peek*
175
176 * Only load ActionController::UrlWriter if ActionController is present *Rick Olson*
177
178 * Make sure parsed emails recognized attachments nested inside multipart parts. #6714 *Jamis Buck*
179
180 * Allow mailer actions named send by using __send__ internally. #6467 *iGEL*
181
182 * Add assert_emails and assert_no_emails to test the number of emails delivered. #6479 *Jonathan Viney*
183 # Assert total number of emails delivered:
184 assert_emails 0
185 ContactMailer.deliver_contact
186 assert_emails 1
187
188 # Assert number of emails delivered within a block:
189 assert_emails 1 do
190 post :signup, :name => 'Jonathan'
191 end
192
193
194 ## 1.3.3 (March 12th, 2007) ##
195
196 * Depend on Action Pack 1.13.3
197
198
199 ## 1.3.2 (February 5th, 2007) ##
200
201 * 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. *Michael Koziarski*
202
203
204 ## 1.3.1 (January 16th, 2007) ##
205
206 * Depend on Action Pack 1.13.1
207
208
209 ## 1.3.0 (January 16th, 2007) ##
210
211 * Make mime version default to 1.0. closes #2323 *ror@andreas-s.net*
212
213 * Make sure quoted-printable text is decoded correctly when only portions of the text are encoded. closes #3154. *jon@siliconcircus.com*
214
215 * Make sure DOS newlines in quoted-printable text are normalized to unix newlines before unquoting. closes #4166 and #4452. *Jamis Buck*
216
217 * Fixed that iconv decoding should catch InvalidEncoding #3153 *jon@siliconcircus.com*
218
219 * Tighten rescue clauses. #5985 *james@grayproductions.net*
220
221 * Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. *David Heinemeier Hansson*
222
223 * Replace Reloadable with Reloadable::Deprecated. *Nicholas Seckar*
224
225 * Mailer template root applies to a class and its subclasses rather than acting globally. #5555 *somekool@gmail.com*
226
227 * Resolve action naming collision. #5520 *ssinghi@kreeti.com*
228
229 * ActionMailer::Base documentation rewrite. Closes #4991 *Kevin Clark, Marcel Molina Jr.*
230
231 * Replace alias method chaining with Module#alias_method_chain. *Marcel Molina Jr.*
232
233 * Replace Ruby's deprecated append_features in favor of included. *Marcel Molina Jr.*
234
235 * Correct spurious documentation example code which results in a SyntaxError. *Marcel Molina Jr.*
236
237
238 ## 1.2.1 (April 6th, 2006) ##
239
240 * Be part of Rails 1.1.1
241
242
243 ## 1.2.0 (March 27th, 2006) ##
244
245 * Nil charset caused subject line to be improperly quoted in implicitly multipart messages #2662 *ehalvorsen+rails@runbox.com*
246
247 * Parse content-type apart before using it so that sub-parts of the header can be set correctly #2918 *Jamis Buck*
248
249 * Make custom headers work in subparts #4034 *elan@bluemandrill.com*
250
251 * Template paths with dot chars in them no longer mess up implicit template selection for multipart messages #3332 *Chad Fowler*
252
253 * Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body *Jamis Buck*
254
255 * Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type *Jamis Buck*
256
257
258 ## 1.1.5 (December 13th, 2005) ##
259
260 * Become part of Rails 1.0
261
262
263 ## 1.1.4 (December 7th, 2005) ##
264
265 * Rename Version constant to VERSION. #2802 *Marcel Molina Jr.*
266
267 * 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*
268
269
270 ## 1.1.3 (November 7th, 2005) ##
271
272 * Allow Mailers to have custom initialize methods that set default instance variables for all mail actions #2563 *mrj@bigpond.net.au*
273
274
275 ## 1.1.2 (October 26th, 2005) ##
276
277 * Upgraded to Action Pack 1.10.2
278
279
280 ## 1.1.1 (October 19th, 2005) ##
281
282 * Upgraded to Action Pack 1.10.1
283
284
285 ## 1.1.0 (October 16th, 2005) ##
286
287 * Update and extend documentation (rdoc)
288
289 * Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) *RubyConf '05*
290
291 * 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*
292
293 * Fix vendor require paths to prevent files being required twice
294
295 * Don't add charset to content-type header for a part that contains subparts (for AOL compatibility) #2013 *John Long*
296
297 * Preserve underscores when unquoting message bodies #1930
298
299 * Encode multibyte characters correctly #1894
300
301 * Multipart messages specify a MIME-Version header automatically #2003 *John Long*
302
303 * Add a unified render method to ActionMailer (delegates to ActionView::Base#render)
304
305 * Move mailer initialization to a separate (overridable) method, so that subclasses may alter the various defaults #1727
306
307 * Look at content-location header (if available) to determine filename of attachments #1670
308
309 * ActionMailer::Base.deliver(email) had been accidentally removed, but was documented in the Rails book #1849
310
311 * 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*
312
313
314 ## 1.0.1 (11 July, 2005) ##
315
316 * Bind to Action Pack 1.9.1
317
318
319 ## 1.0.0 (6 July, 2005) ##
320
321 * Avoid adding nil header values #1392
322
323 * Better multipart support with implicit multipart/alternative and sorting of subparts *John Long*
324
325 * Allow for nested parts in multipart mails #1570 *Flurin Egger*
326
327 * Normalize line endings in outgoing mail bodies to "\n" #1536 *John Long*
328
329 * Allow template to be explicitly specified #1448 *tuxie@dekadance.se*
330
331 * Allow specific "multipart/xxx" content-type to be set on multipart messages #1412 *Flurin Egger*
332
333 * Unquoted @ characters in headers are now accepted in spite of RFC 822 #1206
334
335 * Helper support (borrowed from ActionPack)
336
337 * Silently ignore Errno::EINVAL errors when converting text.
338
339 * Don't cause an error when parsing an encoded attachment name #1340 *lon@speedymac.com*
340
341 * Nested multipart message parts are correctly processed in TMail::Mail#body
342
343 * BCC headers are removed when sending via SMTP #1402
344
345 * Added 'content_type' accessor, to allow content type to be set on a per-message basis. content_type defaults to "text/plain".
346
347 * Silently ignore Iconv::IllegalSequence errors when converting text #1341 *lon@speedymac.com*
348
349 * Support attachments and multipart messages.
350
351 * Added new accessors for the various mail properties.
352
353 * 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*
354
355 * Fix attachments and content-type problems #1276 *Jamis Buck*
356
357 * 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*
358
359 * Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 *Jamis Buck*
360
361 * Added automatic decoding of base64 bodies #1214 *Jamis Buck*
362
363 * Added that delivery errors are caught in a way so the mail is still returned whether the delivery was successful or not
364
365 * 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*
366
367
368 ## 0.9.1 (20th April, 2005) ##
369
370 * Depend on Action Pack 1.8.1
371
372
373 ## 0.9.0 (19th April, 2005) ##
374
375 * Added that deliver_* will now return the email that was sent
376
377 * Added that quoting to UTF-8 only happens if the characters used are in that range #955 *Jamis Buck*
378
379 * Fixed quoting for all address headers, not just to #955 *Jamis Buck*
380
381 * Fixed unquoting of emails that doesn't have an explicit charset #1036 *wolfgang@stufenlos.net*
382
383
384 ## 0.8.1 (27th March, 2005) ##
385
386 * Fixed that if charset was found that the end of a mime part declaration TMail would throw an error #919 *lon@speedymac.com*
387
388 * Fixed that TMail::Unquoter would fail to recognize quoting method if it was in lowercase #919 *lon@speedymac.com*
389
390 * 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*
391
392 * Added rescue for missing iconv library and throws warnings if subject/body is called on a TMail object without it instead
393
394
395 ## 0.8.0 (22th March, 2005) ##
396
397 * Added framework support for processing incoming emails with an Action Mailer class. See example in README.
398
399
400 ## 0.7.1 (7th March, 2005) ##
401
402 * Bind to newest Action Pack (1.5.1)
403
404
405 ## 0.7.0 (24th February, 2005) ##
406
407 * Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]. Examples:
408
409 def iso_charset(recipient)
410 @recipients = recipient
411 @subject = "testing iso charsets"
412 @from = "system@loudthinking.com"
413 @body = "Nothing to see here."
414 @charset = "iso-8859-1"
415 end
416
417 def unencoded_subject(recipient)
418 @recipients = recipient
419 @subject = "testing unencoded subject"
420 @from = "system@loudthinking.com"
421 @body = "Nothing to see here."
422 @encode_subject = false
423 @charset = "iso-8859-1"
424 end
425
426
427 ## 0.6.1 (January 18th, 2005) ##
428
429 * Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
430
431
432 ## 0.6 (January 17th, 2005) ##
433
434 * Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 *Eric Hodel*
435
436 * Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 *Eric Hodel*
437
438
439 ## 0.5 ##
440
441 * Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas Schwarz]. Example:
442
443 def post_notification(recipients, post)
444 @recipients = recipients
445 @from = post.author.email_address_with_name
446 @headers["bcc"] = SYSTEM_ADMINISTRATOR_EMAIL
447 @headers["reply-to"] = "notifications@example.com"
448 @subject = "[#{post.account.name} #{post.title}]"
449 @body["post"] = post
450 end
451
452 ## 0.4 (5) ##
453
454 * Consolidated the server configuration options into Base#server_settings= and expanded that with controls for authentication and more *Marten*
455 NOTE: This is an API change that could potentially break your application if you used the old application form. Please do change!
456
457 * 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*
458
459 * Added Base#perform_deliveries= which can be set to false to turn off the actual delivery of the email through smtp or sendmail.
460 This is especially useful for functional testing that shouldn't send off real emails, but still trigger delivery_* methods.
461
462 * Added option to specify delivery method with Base#delivery_method=. Default is :smtp and :sendmail is currently the only other option.
463 Sendmail is assumed to be present at "/usr/sbin/sendmail" if that option is used. *Kent Sibilev*
464
465 * Dropped "include TMail" as it added to much baggage into the default namespace (like Version) *Chad Fowler*
466
467
468 ## 0.3 ##
469
470 * First release
Something went wrong with that request. Please try again.