Mail 2.5.4 and 2.2.20 released

106 views
Skip to first unread message

Mikel Lindsaar

unread,
May 14, 2013, 1:03:51 AM5/14/13
to mail...@googlegroups.com
Hi there people.

So, has been a while, but we have released mail 2.5.4!

Also, we have made 2-5-stable, 2-4-stable, 2-3-stable and 2-2-stable branches for any future security releases to these branches.

You can get the new versions from http://rubygems.org/gems/mail

We wanted to get in the ISO-2022-JP changes in pull request https://github.com/mikel/mail/pull/534 however, we wanted to get these numerous changes out now as a LOT of work has been done as you will see below.

The 2.2.20 changes was a security backport (PR https://github.com/mikel/mail/pull/518)

Note, master is now the upcomming 2.6 release, this includes awesome work by Bob Potter (https://github.com/bpot) to remove the Treetop parser and use Ragel instead (PR https://github.com/mikel/mail/pull/490) as well as a major header parsing speed update by Conrad Irwin (https://github.com/ConradIrwin) with PR https://github.com/mikel/mail/pull/505

As for 2.5.4, there have been LOTS of Changes:

Features:
* Save settings passed to TestMailer#new (svanderbleek)
* Allow the setting of envelope from directly (jeremy)
* Accept other IETF/IANA-registered Content-Types and Content-Transfer-Encodings (jeremy)
* Alias shift-jis charset to Shift_JIS Ruby encoding (jeremy)
* Add support for ks_c_5601-1987 charset, aliased to CP949 Ruby encoding (jeremy)
* Don't allow colons in header names (jeremy)
* Can assign arrays of Message-IDs to References and In-Reply-To (jeremy)
* Setting the html_ or text_part sets a default text/html or text/plain content type (jeremy)
* Setting the html_ or text_part to nil removes it (jeremy)
* Addresses without a parsable email or display name still format as their raw text (jeremy)
* Close pull request 504 - Alias GB2312 charset to GB18030 Ruby encoding (bpot)
* Close pull request 399 - Accept :ca_path and :ca_file options for SMTP delivery (ndbroadbent)
* Close pull request 389 - Don't add superfluous message headers to MIME parts (djmaze, jeremy)

Performance:
* Close pull request 488 - Speed up field construction & comparison (bpot)

Bugs:
* Don't include separating semicolon in paramter value when sanitizing (bpot)
* Fix fencepost encoding problem with binhex strings and only one token (drasch)
* Fix sendmail delivery to addresses with a leading hyphen (lifo, jeremy)
* Correctly format mbox From headers per RFC4155 (bpot, jeremy)
* Fix bogus '=' at the end of some quoted-printable messages (jeremy)
* Shouldn't be fooled into encoding strings on 1.8 by unrelated Encoding constant (emiellohr, jeremy)
* Header encoding should be US-ASCII, not the default external encoding (jeremy)
* Address elements should return decoded display names by default (jeremy)
* Fix up tests that depend on utf-8 external encoding; read fixtures as binary (jeremy)
* Capture stderr from Sendmail and Exim deliveries (jeremy)
* RFC2822 quoted_string content may be empty (jeremy)
* Calling #to_s on a field with a nil value returns an empty string instead of nil (jeremy)
* The Received header may contain zero name/value pairs, qmail-style (jeremy)
* Fix that setting an attachment with a :mime_type and :encoding would override the :encoding (jeremy)
* Fix that declaring an html_part but no text_part would use multipart/alternative anyway (jeremy)
* Close pull request 508 - Don't add an extra CRLF to MIME parts; split MIME parts on correct CRLF boundaries (Aalanar)
* Close pull request 506 - Escape backslashes in quoted strings (ConradIrwin)
* Close pull request 496 - Correctly handle quoted-printable line breaks (jeremy)
* Close pull request 493 - Repair misencoded quoted-printable line breaks (jeremy)
* Close pull request 487 - Extract comments from group email addresses (bpot)
* Close pull request 481 - Correctly quote filename attributes (bpot)
* Close pull request 480 - Support mixed encodings in a single header body (adamvaughan)
* Close pull request 471 - Fix Ruby 1.8 build when UTF16/32 default to little-endian (kennyj)

Coping with third-party bugs:
* Parse multipart boundary from Content-Type headers containing extra semicolons (jeremy)
* Close pull request 389 - Only add Content-ID to inline attachments to appease Outlook (djmaze, jeremy)

Housekeeping:
* Add development gem dependency on rdoc (jeremy)
* Refresh Bundler dependencies & setup (jeremy)
* Remove i18n dependency and last vestiges of activesupport dependency in specs (jeremy)
* Clarify that Sender is a single address, not an address list (jeremy)
* Add an MIT-LICENSE file to make licensing clear & obvious; update to 2013 (jeremy)
* Close pull request 501 - Tighten up header/body whitespace splitting (ConradIrwin)
* Close pull request 499 - Clean up some dead code (ConradIrwin)
* Close pull request 489, 495 - Docs typos (JackDanger, francois)
* Close pull request 485 - Be explicit about unsupported address parsing (bpot)
* Close pull request 484 - Remove #tree specs in preparation for deprecation removal (bpot)
* Close pull request 482 - Update address field specs to reflect to #initialize API (bpot)
* Close pull request 475 - Shush warning on Object#blank? redefinition (amatsuda)
* Close pull request 472 - Clean up UTF8/UTF-8 internals (kennyj)

Reply all
Reply to author
Forward
0 new messages