| 1 |
# XML::TreePP Changes |
| 2 |
|
| 3 |
2014/11/17 (0.43) |
| 4 |
* Sync OpenBSD patches from their Ports tree. thanks to kucharskim |
| 5 |
https://github.com/kawanet/XML-TreePP/pull/3 |
| 6 |
* README.md added |
| 7 |
|
| 8 |
2013/11/07 (0.42) |
| 9 |
* add empty_element_tag_end option. thanks to Songmu |
| 10 |
https://github.com/kawanet/XML-TreePP/pull/2 |
| 11 |
* ensure unicode transmitted proprely. thanks to xenoterracide |
| 12 |
https://github.com/kawanet/XML-TreePP/pull/1 |
| 13 |
* it requires LWP 5.811 or later to use add_content_utf8 method in HTTP::Message |
| 14 |
* source repository is now on github |
| 15 |
https://github.com/kawanet/XML-TreePP |
| 16 |
|
| 17 |
2010/10/31 (0.41) |
| 18 |
* require_xml_decl option added. thanks to nicomen |
| 19 |
https://rt.cpan.org/Ticket/Display.html?id=42441 |
| 20 |
* empty element when #text node is undef |
| 21 |
http://www.kawa.net/works/perl/treepp/treepp.html#com-2009-07-23T16:38:09Z |
| 22 |
|
| 23 |
2009/11/21 (0.40) |
| 24 |
* pod typo fix: (thanks to jkutej) |
| 25 |
http://annocpan.org/~KAWASAKI/XML-TreePP-0.39/lib/XML/TreePP.pm#note_2382 |
| 26 |
|
| 27 |
2009/06/30 (0.39) |
| 28 |
* parsehttp now uses decoded_content method under LWP 5.802. |
| 29 |
This allows compressed content by Content-Encoding: gzip, etc. |
| 30 |
(thanks to cormanaz and ikegami) |
| 31 |
http://perlmonks.org/?node_id=774537 |
| 32 |
http://rt.cpan.org/Public/Bug/Display.html?id=47336 |
| 33 |
|
| 34 |
2009/03/01 (0.38) |
| 35 |
* dies by "Invalid tree" when write() is called without a hash argument. |
| 36 |
* warns by "Unsupported reference type" when write() is called with |
| 37 |
a tree which contains unsupported references, ex. BLOBREF. |
| 38 |
It avoids "Not a HASH reference" and "Can't use string as a HASH ref." |
| 39 |
* dies by "Unknown encoding" when unknown encoding is used. |
| 40 |
* No new features are added at this version except for the messages above. |
| 41 |
|
| 42 |
2009/01/17 (0.37) |
| 43 |
* new option: xml_deref dereferences the numeric character references, |
| 44 |
like ë, 漢 etc. |
| 45 |
Now UTF-8 flag is correctly treated. (thanks to haarg) |
| 46 |
http://rt.cpan.org/Public/Bug/Display.html?id=42347 |
| 47 |
* without xml_deref option, the numeric character references between |
| 48 |
U+0080 and U+00FF are not dereferenced any more. |
| 49 |
the numeric character references up to U+007F and the predefined |
| 50 |
character entity references are still dereferenced per default. |
| 51 |
* supports Perl 5.8.4 which includes Encode 1.99_01. (thanks to SAPER) |
| 52 |
http://rt.cpan.org/Public/Bug/Display.html?id=41986 |
| 53 |
|
| 54 |
2008/10/26 (0.36) |
| 55 |
* supports spaces around the "=" sign in attribute (thanks to John) |
| 56 |
ex. <Elem Attrib = "abc" /> |
| 57 |
http://tech.groups.yahoo.com/group/xml-treepp/message/27 |
| 58 |
* Perl 5.10.0 has a memory leak problem on qr// |
| 59 |
(thanks to Marcin Guzowski) |
| 60 |
http://rt.perl.org/rt3/Public/Bug/Display.html?id=59516 |
| 61 |
* Makefile.PL now calls Jcode and HTTP::Lite when needed |
| 62 |
|
| 63 |
2008/01/05 (0.33) |
| 64 |
* Subversion on Google Code |
| 65 |
http://xml-treepp.googlecode.com/svn/trunk/XML-TreePP/ |
| 66 |
* supports UTF-8 with BOM when parsing XML |
| 67 |
http://www.kawa.net/works/perl/feedpp/feedpp.html#com-2008-01-03T15:02:56Z |
| 68 |
|
| 69 |
2007/11/11 (0.32) |
| 70 |
* supports invalid xml decl quoted with single quote (thanks to xatrix) |
| 71 |
ex. <?xml version='1.0' encoding='windows-1250'?> |
| 72 |
http://rt.cpan.org/Public/Bug/Display.html?id=30187 |
| 73 |
|
| 74 |
2007/09/22 (0.31) |
| 75 |
* "]]>" in CDATA must be separated into "<![CDATA[]]]]><![CDATA[>]]>" |
| 76 |
http://www.w3.org/TR/REC-xml/#sec-cdata-sect |
| 77 |
* utf8_flag option requires Perl 5.8.1 |
| 78 |
* avoid "Wide character in print at" in writefile() |
| 79 |
|
| 80 |
2007/08/27 (0.29) |
| 81 |
* 34_utf8_flag.t skips all tests on Perl 5.8.0 |
| 82 |
utf8::is_utf8() wasn't there in 5.8.0. |
| 83 |
http://www.nntp.perl.org/group/perl.perl5.changes/2003/08/msg8628.html |
| 84 |
* 34_utf8_flag.t passes all tests on Perl 5.8.1-2 |
| 85 |
http://rt.perl.org/rt3/Public/Bug/Display.html?id=24846 |
| 86 |
* avoid "Use of uninitialized value in substitution" in xml_escape |
| 87 |
|
| 88 |
2007/08/13 (0.27) |
| 89 |
* bug fix: autoload Encode.pm on particular environment, $] == 5.008 |
| 90 |
http://www.nntp.perl.org/group/perl.cpan.testers/2007/08/msg557739.html |
| 91 |
http://www.nntp.perl.org/group/perl.cpan.testers/2007/08/msg557741.html |
| 92 |
* pod revised. OPTIONS FOR PARSING/WRITING sections are separated. |
| 93 |
|
| 94 |
2007/08/07 (0.26) |
| 95 |
* new option: force_array => '*' means every elements (thanks to Niek) |
| 96 |
* new option: force_hash => [], and also '*' means every elements |
| 97 |
* new option: elem_class => 'class' |
| 98 |
* new tests: t/35_force_hash.t t/36_elem_class.t |
| 99 |
|
| 100 |
2007/07/28 (0.22) |
| 101 |
* new option: ident => 2 (thanks to Aaron) |
| 102 |
* new option: utf8_flag => 1 |
| 103 |
* new option: base_class => 'class' |
| 104 |
* new tests: t/32_base_class.t t/33_indent.t t/34_utf8_flag.t |
| 105 |
* LICENSE field added in META.yml |
| 106 |
|
| 107 |
2007/07/25 (0.21) |
| 108 |
* bug fix: use_ixhash missing order on elements with attribute(s) |
| 109 |
|
| 110 |
2007/07/22 (0.20) |
| 111 |
* new option: http_lite => HTTP::Lite->new() |
| 112 |
* new option: lwp_useragent => LWP::UserAgent->new() (thanks to NEELY) |
| 113 |
http://rt.cpan.org/Ticket/Display.html?id=28167 |
| 114 |
* new option: use_ixhash => 1 (thanks to RENEEB) |
| 115 |
http://rt.cpan.org/Ticket/Display.html?id=23522 |
| 116 |
* first_out and last_out options keep its order (thanks to BASHI and sajohn52) |
| 117 |
http://tech.groups.yahoo.com/group/xml-treepp/message/13 |
| 118 |
* new tests: 27_http-lite-force.t 28_http-lwp-force.t |
| 119 |
29_http-lwp-withcache.t 30_first_out.t 31_tie_ixhash.t |
| 120 |
|
| 121 |
2006/11/03 (0.19) |
| 122 |
* new option: text_node_key (thanks to Niek) |
| 123 |
* attr_prefix now supports zero-length prefix. |
| 124 |
|
| 125 |
2006/08/13 (0.18) |
| 126 |
* parsehttp()'s 4th argument: an HTTP request header as a hash ref. |
| 127 |
* new option: ignore_error (thanks to Riyousha) |
| 128 |
* new option: xml_decl (thanks to Stephen and Jon) |
| 129 |
* new tests: 20_http-lite-cached.t 21_http-lwp-cached.t |
| 130 |
22_http-lite-headers.t 23_http-lwp-headers.t 24_ignore_error.t |
| 131 |
|
| 132 |
2006/05/25 (0.17) |
| 133 |
* bug fix: multiple CDATA or text nodes in a element (thanks to junichi) |
| 134 |
* new test: 19_multi_text.t |
| 135 |
|
| 136 |
2006/05/21 (0.16) |
| 137 |
* bug fix: character references support (since 0.14) |
| 138 |
* Encode::FB_XMLCREF support (again) |
| 139 |
* new test: 18_escape_amp.t |
| 140 |
|
| 141 |
2006/05/15 (0.14) |
| 142 |
* new encodings: eucJP-win and eucJP-ms (for Perl 5.005/5.6.1) |
| 143 |
* new entity references: ' |
| 144 |
* character references supported: & & |
| 145 |
* spaces in text node are not deleted on parse() method. |
| 146 |
* returns are not added in text node on write() method. |
| 147 |
* HTTP tests are skipped per default: 09_http-lite.t 10_http-lwp.t |
| 148 |
* new tests: 00_pod.t 13_encoding_en.t 14_encoding_zh.t |
| 149 |
15_encoding_ja.t 16_encoding_ko.t 17_output_encoding.t |
| 150 |
|
| 151 |
2006/04/30 (0.10) |
| 152 |
* attr_prefix parameter added to emulate E4X, ECMAScript for XML. |
| 153 |
* user_agent parameter and its default value added. |
| 154 |
* source code passed perltidy. (thanks to Nadim) |
| 155 |
|
| 156 |
2006/04/08 (0.08) |
| 157 |
* set() and get() method added. |
| 158 |
* cdata_scalar_ref option added. CDATASection's round trip supported. |
| 159 |
* some error checkes added. (thanks to Nadim) |
| 160 |
|
| 161 |
2006/03/09 (0.07) |
| 162 |
* Correct POD about parsehttp() method |
| 163 |
|
| 164 |
2006/03/02 (0.06) |
| 165 |
* parsehttp() method now supports the HTTP::Lite pure Perl module as well. |
| 166 |
* Bug fix: xml_escape() call in hash_to_xml() method. (thanks to suVene) |
| 167 |
|
| 168 |
2006/02/26 (0.04) |
| 169 |
* Correct POD about force_array option of new() method. |
| 170 |
* parsehttp() method returns a hash tree and xml source on array context. |
| 171 |
|
| 172 |
2006/02/22 (0.03) |
| 173 |
* Changes |
| 174 |
|
| 175 |
2006/02/21 (0.02) |
| 176 |
* Change encoding from ISO-8859-1 to UTF-8 is natively supported. |
| 177 |
* t/force_array.t t/parse.t t/parsefile.t t/parsehttp.t t/write.t |
| 178 |
t/index.rdf t/family.xml |
| 179 |
* Test scripts added. |
| 180 |
|
| 181 |
2006/02/20 (0.01) |
| 182 |
* first release. |
| 183 |
|
| 184 |
# http://www.kawa.net/works/perl/treepp/treepp-e.html (English) |
| 185 |
# http://www.kawa.net/works/perl/treepp/treepp.html#changes (Japanese) |