| 1 |
Revision history for Perl extension XML::Writer. |
| 2 |
|
| 3 |
0.900 Fri Mar 8 00:19:28 2019 +1100 <[email protected]> |
| 4 |
- Drop support for building on (very) old perls. |
| 5 |
- Check for valid element names (#107239) |
| 6 |
- Fail when a scalar other than 'self' is passed as OUTPUT. |
| 7 |
|
| 8 |
0.625 Thu Jun 5 23:55:42 2014 +1000 <[email protected]> |
| 9 |
- Allow xml-model processing instructions (#94078). |
| 10 |
- Don't warn when undef is passed to setOutput (#94369). |
| 11 |
|
| 12 |
0.624 Wed Feb 12 23:28:39 2014 +1100 <[email protected]> |
| 13 |
- Allow an empty system ID in a doctype declaration. |
| 14 |
|
| 15 |
0.623 Thu Jun 13 23:29:52 2013 +1000 <[email protected]> |
| 16 |
- Fix a memory leak introduced in 0.620. |
| 17 |
- Avoid issue with implicit stringification. |
| 18 |
|
| 19 |
0.622 Tue May 28 23:02:56 2013 +1000 <[email protected]> |
| 20 |
- Fix bug where output is an IO::Scalar. |
| 21 |
|
| 22 |
0.621 Sun Apr 14 22:42:38 2013 +1000 <[email protected]> |
| 23 |
- Include selfcontained_output.t in the distribution. |
| 24 |
|
| 25 |
0.620 Sun Apr 14 22:20:33 2013 +1000 <[email protected]> |
| 26 |
- Allow OUTPUT => 'self' (#81327). |
| 27 |
|
| 28 |
0.615 Tue Jan 17 01:32:07 2012 +1100 <[email protected]> |
| 29 |
- Fix test skipping when Unicode is unsupported. |
| 30 |
|
| 31 |
0.614 Mon Jan 9 00:24:10 2012 +1100 <[email protected]> |
| 32 |
- Fix regression in 0.613 and set encoding on GLOBs. |
| 33 |
|
| 34 |
0.613 Sat Jan 7 22:51:26 2012 +1100 <[email protected]> |
| 35 |
- Use 'Object->new()' syntax throughout (#65840). |
| 36 |
- Support passing in any arbitrary object that has a print() |
| 37 |
method (from Jason Rodrigues). |
| 38 |
|
| 39 |
0.612 Mon Aug 16 00:10:16 2010 +1000 <[email protected]> |
| 40 |
- Allow DATA_INDENT to specify arbitrary white space for |
| 41 |
indentation. If it is numeric then use that many space |
| 42 |
characters. |
| 43 |
|
| 44 |
0.611 Thu Apr 22 13:09:12 BST 2010 <[email protected]> |
| 45 |
- Adopt rewritten license text to explicitly allow modification. |
| 46 |
|
| 47 |
0.610 Mon Mar 29 02:29:32 BST 2010 <[email protected]> |
| 48 |
- Add a CHECK_PRINT constructor parameter to check the output print |
| 49 |
success (#50465). It will croak when printing to output fails. |
| 50 |
|
| 51 |
0.607 Mon Mar 22 14:46:26 GMT 2010 <[email protected]> |
| 52 |
- Address license confusion by reverting to the original |
| 53 |
license, with contributor permission, and removing |
| 54 |
unintentional references to the (more restrictive) |
| 55 |
GPL/Artistic. |
| 56 |
|
| 57 |
0.606 Wed Dec 3 00:09:34 GMT 2008 <[email protected]> |
| 58 |
- Ensure META.yml spec version matches URL. |
| 59 |
|
| 60 |
0.605 Mon Dec 1 23:01:21 GMT 2008 <[email protected]> |
| 61 |
- Use MIT license, formalising David Megginson's original |
| 62 |
("No warranty. Commercial and non-commercial use freely |
| 63 |
permitted."). |
| 64 |
- Fix from Yanick Champoux for dataElements namespaces (#41359). |
| 65 |
|
| 66 |
0.604 Thu Feb 21 00:42:06 GMT 2008 <[email protected]> |
| 67 |
- Patch from Andreas Koenig for lc(undef) warning in 5.11 (#32874). |
| 68 |
- Include example code. |
| 69 |
|
| 70 |
0.603 Mon Jun 25 22:31:40 BST 2007 <[email protected]> |
| 71 |
- Escape all necessary white space in attributes (#25499). |
| 72 |
|
| 73 |
0.602 Sat Nov 11 16:54:22 GMT 2006 <[email protected]> |
| 74 |
- Fix bugs in test case to avoid breaking with new Perls. |
| 75 |
- Make test case work with older Perls, tested against 5.004 (#17288). |
| 76 |
- Include pod syntax and coverage tests. |
| 77 |
|
| 78 |
0.601 Fri Sep 1 15:01:45 BST 2006 <[email protected]> |
| 79 |
- Don't modify list references passed as tag or attribute names |
| 80 |
(cpan #14854). |
| 81 |
|
| 82 |
0.600 Thu Jun 30 23:17:00 BST 2005 <[email protected]> |
| 83 |
- Don't include an encoding in the XML declaration unless one |
| 84 |
is specified. |
| 85 |
- Check for, and croak on, invalid characters (including ASCII NUL). |
| 86 |
- Fixed 'ancestor' with out-of-bounds indexes. |
| 87 |
|
| 88 |
0.545 Mon May 16 08:11:17 BST 2005 <[email protected]> |
| 89 |
- Format comments like elements when in data mode. |
| 90 |
- Only attempt Unicode tests for Perl >= 5.8.1. |
| 91 |
|
| 92 |
0.540 Tue May 10 18:18:58 BST 2005 <[email protected]> |
| 93 |
- Don't die when ENCODING is specified with a scalar OUTPUT. |
| 94 |
- Add support for US-ASCII encoding. |
| 95 |
|
| 96 |
0.531 Mon Mar 14 22:11:33 GMT 2005 <[email protected]> |
| 97 |
- Rename internal String package to avoid clash with external modules. |
| 98 |
- Fix Unicode test skipping for Perls before 5.8. |
| 99 |
|
| 100 |
0.530 Tue Feb 1 13:09:31 GMT 2005 <[email protected]> |
| 101 |
- Allow scalar references for the OUTPUT parameter, inspired by |
| 102 |
Simon Oliver's XML::Writer::String (patch from Yanick Champoux) |
| 103 |
- Added ENCODING parameter; currently only UTF-8 is supported |
| 104 |
- Escape newlines in attribute values |
| 105 |
|
| 106 |
0.520 Wed Sep 1 16:18:46 BST 2004 <[email protected]> |
| 107 |
- Fixed bug with forced declaration of the default namespace (#7266) |
| 108 |
- Removed dead code. Added copyright notices to pod. |
| 109 |
- Improved test coverage |
| 110 |
|
| 111 |
0.510 Tue May 25 19:46:04 BST 2004 <[email protected]> |
| 112 |
- Permitted in-document namespace prefix control |
| 113 |
- Don't reopen STDOUT for output (closes #6232) |
| 114 |
- Moved tests into t/. Added tests for mid-document namespace changes. |
| 115 |
Show diffs when comparison tests fail |
| 116 |
|
| 117 |
0.500 Sat Mar 6 22:45:54 GMT 2004 <[email protected]> |
| 118 |
- Prepared metadata for a consistent, CPAN-friendly 0.500 release |
| 119 |
- Added a META.yml to prevent XML::Writer::Namespaces from |
| 120 |
being indexed |
| 121 |
- Writer.pm: Removed a duplicate check for valid attribute names |
| 122 |
- test.pl: Added more tests for full coverage of the cdata method |
| 123 |
|
| 124 |
0.4.6 Tue Mar 2 16:54:04 GMT 2004 <[email protected]> |
| 125 |
- test.pl: Revert to using a temporary file, rather than an |
| 126 |
IO::String, for compatibility with older Perls |
| 127 |
|
| 128 |
0.4.5 Mon Mar 1 14:46:47 GMT 2004 <[email protected]> |
| 129 |
- added FORCED_NS_DECLS parameter, to declare namespaces ahead of use |
| 130 |
- fixed check for duplicate attributes |
| 131 |
- correctly take the default namespace from the supplied prefix map |
| 132 |
- no longer produce namespace declarations for the 'xml:' prefix |
| 133 |
- allow xml-stylesheet PIs |
| 134 |
- fixed warnings about uninitialised values |
| 135 |
- added a comprehensive suite of tests, using Test::More |
| 136 |
|
| 137 |
0.4.2 Sun Feb 22 15:33:44 GMT 2004 [email protected] |
| 138 |
- added raw() to print raw, unescaped text |
| 139 |
- patch from srinithan adding cdata() and cdataElement() to |
| 140 |
write CDATA sections |
| 141 |
|
| 142 |
0.4.1 Sat Oct 18 19:51:51 BST 2003 [email protected] |
| 143 |
- fixed deprecation warning from 'use IO' |
| 144 |
|
| 145 |
0.4 Tue Apr 4 21:59:51 EDT 2000 |
| 146 |
- added support for a simple data mode (off by default), with |
| 147 |
no mixed content and automatic whitespace and indenting |
| 148 |
- added get/setDataMode and get/setDataIndent methods |
| 149 |
- added DATA_MODE and DATA_INDENT parameters to constructor |
| 150 |
- added dataElement method for simple case (character data |
| 151 |
content only) |
| 152 |
|
| 153 |
0.3 Thu Dec 9 12:49:28 EST 1999 |
| 154 |
- fixed frequently-reported attribute-list bug |
| 155 |
- changed xmlDecl() so that first argument is the encoding |
| 156 |
- added 'use IO;' to avoid errors |
| 157 |
- documented the doctype() method |
| 158 |
|
| 159 |
0.2 |
| 160 |
- added Namespace support (XML::Writer::Namespaces subclass |
| 161 |
and NAMESPACES constructor parameter) |
| 162 |
- added PREFIX_MAP constructor parameter, and |
| 163 |
add/removePrefix() methods for Namespace support |
| 164 |
- added getOutput() and setOutput() methods |
| 165 |
- added new query methods in_element(), within_element(), |
| 166 |
current_element(), and ancestor() |
| 167 |
- changed constructor to use parameterized arguments |
| 168 |
- added constructor option to insert newlines in tags |
| 169 |
- element name is now optional in endTag() method |
| 170 |
- fixed test.pl to work on Mac, and added new test |
| 171 |
- added more examples in documentation |
| 172 |
- require at least Perl 5.004 |
| 173 |
|
| 174 |
0.1 Mon Apr 19 12:27:36 1999 |
| 175 |
- original version; created by h2xs 1.19 |
| 176 |
|