Release history for Email-Address
1.913 2023-01-09 19:41:25-05:00 America/New_York
- as ever, you should probably use Email::Address::XS instead
- this version now requires Perl v5.12
- some small tweaks to the code to take advantage of v5.12 made
- update distribution metadata
1.912 2018-12-31 13:46:22-05:00 America/New_York
- include the doc updates from 1.911 changelog, oops!
1.911 2018-12-22 11:30:28-05:00 America/New_York
- just like 1.910, but with doc updates and undeprecation by Jim Brandt
1.910 2018-12-17 21:27:28-05:00 America/New_York (TRIAL RELEASE)
- update parsing to mitigate pathological cases (thanks, sunnavy!)
1.909 2018-03-04 22:07:12-05:00 America/New_York
- add some docs saying "don't use this, it can be busted"
1.908 2015-09-19 22:53:38-04:00 America/New_York
- default to 1 level of nested comments to avoid pathological behaviors
1.907 2015-02-03 17:48:10-05:00 America/New_York
- restore 5.8.x compatibility
1.906 2015-02-03 16:48:11-05:00 America/New_York
- the test suite tests parses more directly, which eliminates a number
of misleading (and possibly wrong) test cases
- escaped characters in a quoted string are now properly unescaped
for the ->phrase method, which means things should round trip better
from their decomposed form
1.905 2014-06-17 22:55:00-04:00 America/New_York
- additional change to avoid slowdown; this addresses CVE-2014-0477
change provided by Bastian Blank <waldi@debian.org>
1.904 2014-06-14 00:21:21-04:00 America/New_York (TRIAL RELEASE)
- avoid being fooled by an addr-like string in the phrase
- avoid a slowdown by avoiding backtracking into the phrase
1.903 2014-04-17 21:02:14-04:00 America/New_York
- correctly parenthesize false comment "0" (sigh)
1.902 2014-04-17 10:45:11-04:00 America/New_York
- when formatting an address where phrase is empty but comment is not,
do not include "" for the phrase; just omit it
- when formatting and address where comment lacks enclosing parens, add
them
1.901 2014-01-28 22:41:54-05:00 America/New_York
further avoidance of stringifying to undef (thanks, this time, to
David Golden)
1.900 2013-08-08 14:44:43 America/New_York
avoid trying to stringify undef, and so avoid a warning (thanks, Alex
Vandiver)
1.899 2013-08-02 10:53:19 America/New_York
repackaged, pointed at new bugtracker
fallback overloads are enabled, so "cmp" will now compare with string
overloads... which still might not be what you expect
code has been futzed with to rely on some 5.6-isms, rather than
trying to be 5.005 compatible
a warning has been added: calling ->parse in scalar context gets
undefined behavior
1.898 2013-02-07
remove dead link
1.897 2012-12-17
skip mailboxes, rather than aborting the whole parse, when
encountering non-ASCII characters (thanks, Ruslan Zakirov!)
improve the behavior of escaping in phrases (thanks, Ruslan Zakirov!)
1.896 2012-07-31
documentation improvements (thanks, Glenn Fowler!)
1.895 2012-01-15
allow non-ASCII *only in phrase*
1.894 2012-01-14
note that the use of the regex vars is not a great idea
1.893 2012-01-02
reject any non-ascii content in strings
1.892 2010-09-02
revert all behavior to 1.889
1.891 2010-08-30
rework domainless address feature to work on perl5.8 (Alex Vandiver)
1.890 2010-08-22
allow domainless addresses (if requested) (thanks, Alex Vandiver)
1.889 2007-12-19
even if the phrase needed quoting, do not return quoted phrase from
the phrase method
1.888 2007-04-01
rt 16320 - collapse multiple whitespaces to prevent speed problem
rt 24161 - forbid backslash in dot-atom
1.887 2007-04-01
fix a test to prevent failure on 5.005
1.886 2007-03-01
fix stupid use/require bug in test
1.885 2007-02-28
do not quote the phrase if it's MIME encoded
do not double quote the phrase
thanks to MIYAGAWA and KEVINR for tests for the above!
1.884 2006-12-04
fix phrase-quoting behavior by always quoting the phrase, if given
this fixes bug 13387; thanks, Dave Rolsky!
1.883 2006-11-25
resolve bug 23565, as_string didn't work on 5.8.0 (weird!)
improve skip behavior for cache-cow.t with older Scalar::Util
restore as_string
issue deprecation warning if $STRINGIFY is changed
1.882 2006-11-22
fix bug 21270, do not allow changes to objects to pollute the cache
packaging improvements
make test suite easier to manage
improve honesty of documentation (we are not complete, (yet))
1.881 2006-11-20
Basically: fixes a case where regex never returns.
resolve bug 23187 by slighly diluting the solution to 22991, which is
a more marginal problem than that of 23187, in practical terms
1.880 2006-11-11
resolve bug 22991, support obs-phrase construct
this creates a significant slowdown, sadly, but nothing to rival bug
16320
1.871 2006-10-12
1.870 2006-08-10
restore as_string
issue deprecation warning if $STRINGIFY is changed
1.86 2006-07-21
update docs
tweak regex for approximate 50% performance boost
...but bug 16320 is still true: Email::Address can be VERY slow
https://rt.cpan.org/Ticket/Display.html?id=16320
1.85 2006-07-07
add disable_cache and enable_cache methods (bug 19163, thanks ADAMK)
1.80 2004-10-22
With long mal-formed comment structures, backtracking was causing
parse() to "hang." This was tracked down and fixed. (Tim O'Brien
reported this).
1.7 2004-10-12
$comment was initialized twice, oops.
Lowered the default nested comment level from five to two, cut regex
in half.
1.6 2004-10-05
Only define package variables if they haven't already been defined.
1.5 2004-10-05
Implemented the remainder of the spec for CFWS. This was
intentionally left out of previous versions because it increases the
size of the regex ten fold. I was surprised to learn that the
slowdown was only 33%, leaving Email-Address faster than its
competition by a factor of two in the benchmarks I've created (which
makes them subjective, I suppose).
1.3 2004-08-15
name() was incorrectly fixing up a comment.
1.2 2004-06-02
Added original() method.
Allowed access to key regexes.
1.1 2004-05-26
Initial version.