# XML::TreePP Changes

2010/10/31 (0.41)
    * require_xml_decl option added. thanks to nicomen
      https://rt.cpan.org/Ticket/Display.html?id=42441
    * empty element when #text node is undef
      http://www.kawa.net/works/perl/treepp/treepp.html#com-2009-07-23T16:38:09Z

2009/11/21 (0.40)
    * pod typo fix: (thanks to jkutej)
      http://annocpan.org/~KAWASAKI/XML-TreePP-0.39/lib/XML/TreePP.pm#note_2382

2009/06/30 (0.39)
    * parsehttp now uses decoded_content method under LWP 5.802.
      This allows compressed content by Content-Encoding: gzip, etc.
      (thanks to cormanaz and ikegami)
      http://perlmonks.org/?node_id=774537
      http://rt.cpan.org/Public/Bug/Display.html?id=47336

2009/03/01 (0.38)
    * dies by "Invalid tree" when write() is called without a hash argument.
    * warns by "Unsupported reference type" when write() is called with 
      a tree which contains unsupported references, ex. BLOBREF.
      It avoids  "Not a HASH reference" and "Can't use string as a HASH ref."
    * dies by "Unknown encoding" when unknown encoding is used.
    * No new features are added at this version except for the messages above.

2009/01/17 (0.37)
    * new option: xml_deref dereferences the numeric character references, 
      like &#xEB;, &#28450; etc. 
      Now UTF-8 flag is correctly treated. (thanks to haarg)
      http://rt.cpan.org/Public/Bug/Display.html?id=42347
    * without xml_deref option, the numeric character references between 
      U+0080 and U+00FF are not dereferenced any more.
      the numeric character references up to U+007F and the predefined 
      character entity references are still dereferenced per default.
    * supports Perl 5.8.4 which includes Encode 1.99_01. (thanks to SAPER)
      http://rt.cpan.org/Public/Bug/Display.html?id=41986

2008/10/26 (0.36)
    * supports spaces around the "=" sign in attribute (thanks to John)
      ex. <Elem Attrib = "abc" />
      http://tech.groups.yahoo.com/group/xml-treepp/message/27
    * Perl 5.10.0 has a memory leak problem on qr//
      (thanks to Marcin Guzowski)
      http://rt.perl.org/rt3/Public/Bug/Display.html?id=59516
    * Makefile.PL now calls Jcode and HTTP::Lite when needed

2008/01/05 (0.33)
    * Subversion on Google Code
      http://xml-treepp.googlecode.com/svn/trunk/XML-TreePP/
    * supports UTF-8 with BOM when parsing XML
      http://www.kawa.net/works/perl/feedpp/feedpp.html#com-2008-01-03T15:02:56Z

2007/11/11 (0.32)
    * supports invalid xml decl quoted with single quote (thanks to xatrix)
      ex. <?xml version='1.0' encoding='windows-1250'?>
      http://rt.cpan.org/Public/Bug/Display.html?id=30187

2007/09/22 (0.31)
    * "]]>" in CDATA must be separated into "<![CDATA[]]]]><![CDATA[>]]>"
      http://www.w3.org/TR/REC-xml/#sec-cdata-sect
    * utf8_flag option requires Perl 5.8.1
    * avoid "Wide character in print at" in writefile()

2007/08/27 (0.29)
    * 34_utf8_flag.t skips all tests on Perl 5.8.0
      utf8::is_utf8() wasn't there in 5.8.0.
      http://www.nntp.perl.org/group/perl.perl5.changes/2003/08/msg8628.html
    * 34_utf8_flag.t passes all tests on Perl 5.8.1-2
      http://rt.perl.org/rt3/Public/Bug/Display.html?id=24846
    * avoid "Use of uninitialized value in substitution" in xml_escape

2007/08/13 (0.27)
    * bug fix: autoload Encode.pm on particular environment, $] == 5.008
      http://www.nntp.perl.org/group/perl.cpan.testers/2007/08/msg557739.html
      http://www.nntp.perl.org/group/perl.cpan.testers/2007/08/msg557741.html
    * pod revised. OPTIONS FOR PARSING/WRITING sections are separated.

2007/08/07 (0.26)
    * new option: force_array => '*' means every elements (thanks to Niek)
    * new option: force_hash => [], and also '*' means every elements
    * new option: elem_class => 'class'
    * new tests: t/35_force_hash.t t/36_elem_class.t

2007/07/28 (0.22)
    * new option: ident => 2 (thanks to Aaron)
    * new option: utf8_flag => 1
    * new option: base_class => 'class'
    * new tests: t/32_base_class.t t/33_indent.t t/34_utf8_flag.t
    * LICENSE field added in META.yml

2007/07/25 (0.21)
    * bug fix: use_ixhash missing order on elements with attribute(s)

2007/07/22 (0.20)
    * new option: http_lite => HTTP::Lite->new()
    * new option: lwp_useragent => LWP::UserAgent->new() (thanks to NEELY)
      http://rt.cpan.org/Ticket/Display.html?id=28167
    * new option: use_ixhash => 1 (thanks to RENEEB)
      http://rt.cpan.org/Ticket/Display.html?id=23522
    * first_out and last_out options keep its order (thanks to BASHI and sajohn52)
      http://tech.groups.yahoo.com/group/xml-treepp/message/13
    * new tests: 27_http-lite-force.t 28_http-lwp-force.t
      29_http-lwp-withcache.t 30_first_out.t 31_tie_ixhash.t

2006/11/03 (0.19)
    * new option: text_node_key (thanks to Niek)
    * attr_prefix now supports zero-length prefix.

2006/08/13 (0.18)
    * parsehttp()'s 4th argument: an HTTP request header as a hash ref.
    * new option: ignore_error  (thanks to Riyousha)
    * new option: xml_decl (thanks to Stephen and Jon)
    * new tests: 20_http-lite-cached.t 21_http-lwp-cached.t
      22_http-lite-headers.t 23_http-lwp-headers.t 24_ignore_error.t

2006/05/25 (0.17)
    * bug fix: multiple CDATA or text nodes in a element (thanks to junichi)
    * new test: 19_multi_text.t

2006/05/21 (0.16)
    * bug fix: character references support (since 0.14)
    * Encode::FB_XMLCREF support (again)
    * new test: 18_escape_amp.t

2006/05/15 (0.14)
    * new encodings: eucJP-win and eucJP-ms (for Perl 5.005/5.6.1)
    * new entity references: &apos;
    * character references supported: &#38; &#x26;
    * spaces in text node are not deleted on parse() method.
    * returns are not added in text node on write() method.
    * HTTP tests are skipped per default: 09_http-lite.t 10_http-lwp.t
    * new tests: 00_pod.t 13_encoding_en.t 14_encoding_zh.t
                 15_encoding_ja.t 16_encoding_ko.t 17_output_encoding.t

2006/04/30 (0.10)
    * attr_prefix parameter added to emulate E4X, ECMAScript for XML.
    * user_agent parameter and its default value added.
    * source code passed perltidy. (thanks to Nadim)

2006/04/08 (0.08)
    * set() and get() method added.
    * cdata_scalar_ref option added. CDATASection's round trip supported.
    * some error checkes added. (thanks to Nadim)

2006/03/09 (0.07)
    * Correct POD about parsehttp() method

2006/03/02 (0.06)
    * parsehttp() method now supports the HTTP::Lite pure Perl module as well.
    * Bug fix: xml_escape() call in hash_to_xml() method. (thanks to suVene)

2006/02/26 (0.04)
    * Correct POD about force_array option of new() method.
    * parsehttp() method returns a hash tree and xml source on array context.

2006/02/22 (0.03)
    * Changes

2006/02/21 (0.02)
    * Change encoding from ISO-8859-1 to UTF-8 is natively supported.
    * t/force_array.t t/parse.t t/parsefile.t t/parsehttp.t t/write.t
      t/index.rdf t/family.xml
    * Test scripts added.

2006/02/20  (0.01)
    * first release.

# http://www.kawa.net/works/perl/treepp/treepp-e.html       (English)
# http://www.kawa.net/works/perl/treepp/treepp.html#changes (Japanese)
