| 1 |
libcourriel-perl (0.30-1) unstable; urgency=low |
| 2 |
|
| 3 |
API CHANGES in 0.30 |
| 4 |
|
| 5 |
- Courriel::Builder no longer exports a bcc() subroutine. Creating Bcc |
| 6 |
headers in emails does not make any sense whatsoever. |
| 7 |
|
| 8 |
-- Xavier Guimard <[email protected]> Sun, 30 Sep 2012 05:56:29 +0200 |
| 9 |
|
| 10 |
libcourriel-perl (0.27-1) unstable; urgency=low |
| 11 |
|
| 12 |
API CHANGES in 0.27 |
| 13 |
|
| 14 |
- Renamed the Header->as_header_string and HeaderAttribute->as_header_string |
| 15 |
methods to as_string, so that all objects have the same stringification API. |
| 16 |
|
| 17 |
-- Salvatore Bonaccorso <[email protected]> Mon, 26 Sep 2011 15:18:01 +0200 |
| 18 |
|
| 19 |
libcourriel-perl (0.25-1) unstable; urgency=low |
| 20 |
|
| 21 |
API CHANGES in 0.21 |
| 22 |
|
| 23 |
- The ->get_attribute() method for Courriel::ContentType and ::Disposition |
| 24 |
objects was replaced by ->attribute in 0.20. |
| 25 |
|
| 26 |
API CHANGES in 0.20 |
| 27 |
|
| 28 |
- The way headers are represented has been changed quite a bit |
| 29 |
internally. Read on for details. |
| 30 |
|
| 31 |
All headers are now represented as Courriel::Header objects instead of plain |
| 32 |
strings. This means that calling $headers->get('Foo') returns objects. To |
| 33 |
get the value, you need to call ->value on the individual objects. |
| 34 |
|
| 35 |
See Courriel::Header for the new class for headers. |
| 36 |
|
| 37 |
- As a corrolary, the Courriel::ContentType and Courriel::Disposition classes |
| 38 |
have been renamed to Courriel::Header::ContentType and |
| 39 |
Courriel::Header::Disposition. They are both now subclasses of |
| 40 |
Courriel::Header. The APIs of these classes have remained mostly the same, |
| 41 |
except for attribute handling (see below). |
| 42 |
|
| 43 |
The old classes are still shipped in the distro, but they die when |
| 44 |
loaded. This avoids leaving behind old modules which no longer work with |
| 45 |
newer versions of Courriel. |
| 46 |
|
| 47 |
Methods which returned the old object now return the new one. The |
| 48 |
Courriel::Headers class will return the appropriate object when the header |
| 49 |
is fetched with $headers->get(). |
| 50 |
|
| 51 |
- Header attributes for the Content-Type and Content-Disposition object are |
| 52 |
now represented as Courriel::HeaderAttribute objects. This is necessary |
| 53 |
because these attributes may contain information about their character set |
| 54 |
and language, per RFC2231. |
| 55 |
|
| 56 |
-- gregor herrmann <[email protected]> Sat, 17 Sep 2011 16:35:27 +0200 |