Debian Codegraph @

Changes

raw
1 Revision history for XML-Simple
2
3 2.25 2018-03-18 16:18:24+13:00 Pacific/Auckland
4 - disable entity expansion when using XML::Parser, for more secure default
5 behaviour (patch from Ray Morris)
6 - call to XML::Parser constructor is now in its own method to ease overriding
7
8 2.24 2017-04-17 16:12:00+12:00 Pacific/Auckland
9 - fix typo in last commit with mistakenly removed some underscores
10 - don't initialise $XML::Simple::PREFERRED_PARSER to undef as a caller may
11 have already set it before loading XML::Simple and if not, it would have
12 defaulted to undef anyway (RT#118205 from Slaven Rezić)
13
14 2.23 2017-04-17 15:49:14+12:00 Pacific/Auckland
15 - another fix to the logic for detecting circular references (RT#114120 from
16 Matthias Pitzl, also report from Erland Sommarskog)
17
18 2.22 2015-12-05 11:08:20+13:00 Pacific/Auckland
19 - POD fix in link to package XML::SAX::ParseFactory (from Mohammad S Anwar)
20 - allow subclass to override attribute escaping (from Christopher Masto)
21 - POD fix adding NAME section to FAQ (RT#110080 from Bart Martens & gregor
22 herrmann of the Debian project)
23 - POD typo fix (RT#110082 from gregor herrmann of the Debian project)
24 - fix reference comparison operator used in checking for circular data
25 structures (RT#89553 from Laurent Dami)
26 - add better diagnostics from file handling code in test suite
27
28 2.21 2015-12-04 16:33:49+13:00 Pacific/Auckland
29 - Improved diagnostics - xml_in() will now catch parse exceptions and add
30 caller information via Carp::croak
31 - Switch to use lexical warnings (suppress with either 'no warnings;' or
32 'no warnings "XML::Simple";', rather than $^W = 0)
33 - POD fixes (from David Steinbrunner)
34 - Regex escaping fixes for Perl 5.22+ (from Kent Fredric)
35 - Add workaround for test failures on RHEL/CentOS 6.5 (RT#102115 from
36 Chris Drake, workaround from Tim Bunce)
37 - Remove some 'eval' calls from test suite which could mask root cause of
38 test failures
39 - Make each test script use unique filenames to allow tests to be run in
40 parallel (RT#101362 from Karen Etheridge & Kent Fredric)
41 - POD update: mention XML::Twig in 'STATUS' section (RT#79228 from Matt Trout)
42
43 2.20 2012-06-20 22:00:13 Pacific/Auckland
44 - Suppress warning from empty CDATA section (RT#58359 from Juan Antonio
45 Navarro Pérez)
46
47 2.19_02 2012-06-19 20:33:53 Pacific/Auckland
48 - Reinstate XML::SAX::Expat dependency
49 - Fix warnings tests (broken in 2.19_01) which rely on global $^W
50
51 2.19_01 2012-06-17 23:27:22 Pacific/Auckland
52 - Use lexical filehandles instead of old-style fileglobs (RT#77787 from
53 Quanah)
54 - Restrict scope of :strict mode to calling package (RT#41562 from Hannu
55 Aronsson)
56 - Fix POD typo (RT#45414 from Anirvan Chatterjee)
57 - Update POD to reflect best practise regarding :strict and options
58 - Change minimum Perl requirement to 5.008
59 - Switch to using Dist::Zilla for release management
60
61 2.18 Aug 15 2007
62 - Non-unique key attribute values now trigger a warning (or a fatal
63 error in strict mode) rather than silently discarding data (patch
64 from Daniel Baysinger)
65
66 2.17 Aug 02 2007
67 - Added parse_string(), parse_file() and parse_fh() methods
68 - Added default_config_file(), and build_simple_tree() hook methods
69 - Tweak to implementation of exporting (patch from Stuart Moore)
70 - Documented hook methods
71 - Fixed test suite race condition (RT#28603 from Andreas J. König)
72
73 2.16 Oct 30 2006
74 - Added test/fix for bad GroupTags option (report from Lee Goddard)
75 - Added new_hashref() hook method
76 - refactored cache save/restore methods for easier overriding
77
78 2.15 Oct 03 2006
79 - Makefile.PL changes: reject known-bad PurePerl and RTF parser modules;
80 default to XML::SAX::Expat if no parser installed
81 - allow '.' characters in variable names (suggested by Cosimo Streppone)
82 - fix output of undefs in arrayrefs with SuppressEmpty (reported by
83 かんな - Kanna)
84 - tidy up code and docs around lexical filehandle passed to OutputFile
85 (report from Helge Sauer)
86 - reduce memory usage by passing XML strings by reference (patch from
87 Dan Sully)
88
89 2.14 Jan 29 2005
90 - unlink and lock fixes for VMS (patch from Peter (Stig) Edwards)
91
92 2.13 Nov 17 2004
93 - Fixed bug where NoIndent broke KeyAttr (reported by David Haas)
94 - Added copy_hash helper method which may be overridden to avoid
95 tied hashes becoming untied during XMLout (patch from Jan Sundberg)
96 - Fixed bug where GroupTags corrupted source hashref in XMLout
97 (reported by Bram)
98 - Tweaks to SuppressEmpty for undef with XMLout (report from jamesb),
99 behaviour now matches docs and additional behaviour of setting
100 option to 1 will skip undefined values altogether
101
102 2.12 Apr 05 2004
103 - added NumericEscape option
104 - added ValueAttr option (patch from Anton Berezin)
105 - suppress 'wide character in print' warning (reported by Dawei Lin)
106
107 2.11 Mar 02 2004
108 - Fixed hash ordering assumption in a new test (reported by Jost Krieger)
109
110 2.10 Feb 29 2004
111 - Added AttrIndent option (patch from Volker Moell)
112 - Hash keys are now sorted alphabetically by default; enable the
113 new NoSort option if you don't want this (patch from Volker Moell)
114 - Fixed bug where disabling array folding broke anonymous array handling
115 - Fixed bug when unfolding a tied hash
116 - SuppressEmpty patch from Douglas Wilson
117 - Numerous test improvements - Devel::Cover rocks!
118 - POD update re XMLin(XMLout($data)) caveats (bug report from Slaven
119 Rezic)
120
121 2.09 Sep 09 2003
122 - Makefile.PL makeover contributed by Joshua Keroes
123 - fixed hash ordering assumption in test script (reported by Michel
124 Rodriguez)
125 - POD updates
126 - updated link to Perl XML FAQ
127
128 2.08 Jun 13 2003
129 - fixed variable expansion not happening in attributes (patch from Paul
130 Bussé)
131
132 2.07 May 20 2003
133 - added test to catch old versions of Storable which lack locking support
134 - removed new-style loop which broke on 5.005_03
135 - suppress more uninitialised variable warnings
136
137 2.06 May 18 2003
138 - fixed strict mode requiring ForceArray on output (fix from Igor Román
139 Mariño)
140 - fixed warnings about uninitialised values
141 - minor POD update (link to FAQ)
142
143 2.05 Apr 16 2003
144 - fixed warnings when NormaliseSpace undefined (reported by Peter
145 Scott and others)
146 - added support for specifying ForceArray using regular expressions
147 (patch from Jim Cromie)
148 - added check to escape_value to guard against undefined argument
149 (reported by Henrik Gemal)
150 - added NoIndent option (requested by Afroze Husain Zubairi)
151
152 2.04 Apr 10 2003
153 - integrated a patch from Michel Rodriguez
154 + new facility for removing extra levels of indirection (using
155 the new 'GroupTags' option)
156 + new facility for rolling the dreaded 'content' hash up into a
157 scalar if there are no keys left after array folding (using the
158 '-' prefix mode on the ContentKey option)
159 + new facility for doing variable substitution in the XML; variables
160 can be defined in Perl (using the new 'Variables' option) or in
161 the XML document (using the new 'VarAttr' option)
162 - added 'NormaliseSpace' option for tidying up hash keys and other
163 text content if required (feature requested by Alex Manoussakis)
164 - option names are now case-insensitive and can include underscores
165 - XMLin() and XMLout() are now aliased to xml_in() and xml_out() when
166 called as methods or imported explicitly
167 - option names passed to XML::Simple->new() are now validated
168
169 2.03 Jan 20 2003
170 - fixed circular reference check which was incorrectly catching
171 'parallel' references (patch from Theo Lengyel)
172
173 2.02 Dec 15 2002
174 - changed Storable calls to use locking (reported by Randal Schwarz)
175
176 2.01 Dec 11 2002
177 - fixed bug whereby :strict mode required forcearray on
178 XMLout() (reported by Ville Skytta)
179
180 2.00 Dec 08 2002
181 - first production release with SAX support
182 - added support for 'strict mode' using :strict import tag
183 - removed locking code (as it was incompatible with iThreads)
184 - integrated patch for test failures from Sean Campbell
185 - fixed stringification of references during folding (reported
186 by Trond Michelsen)
187 - fixed incompatability with Tie::IxHash (reported by
188 Venkataramana Mokkapati)
189 - POD: alphabetised options (patch from John Borwick)
190 - POD: updated suppressempty (patch from Kjetil Kjernsmo)
191 - added FAQ.pod to distribution and added new questions
192
193 1.08_01 Feb 14 2002 - beta release for testing SAX support
194 - fixed errors with default namespace handling
195 - minor POD updates
196
197 1.08 Feb 09 2002
198 - re-release of 1.06 (stable) with minor updates ...
199 - searchpath option now defaults to current directory if not set
200 - fix to Storable test routine for test failures on Win32
201 - removed obselete 'convert' script from distribution
202
203 1.07b Feb 05 2002 - beta release for testing SAX support
204 - added SAX support including:
205 + using SAX parsers
206 + acting as a SAX handler
207 + generating SAX events from XMLout() with new Handler option
208 + acting as a SAX filter (via new DataHandler option)
209 - added $ENV{XML_SIMPLE_PREFERRED_PARSER} and
210 $XML::Simple::PREFERRED_PARSER for selecting a parser module
211 - added namespace support (SAX only) with nsexpand option for both
212 XMLin() and XMLout()
213 - searchpath now defaults to current directory
214 - parseropts option now officially deprecated
215 - removed obselete 'convert' script from distribution
216 - many POD updates (more to come)
217
218 1.06 Nov 19 2001
219 - fixed version number in default xmldecl (thanks to Matt Sergeant for
220 bug report and patch)
221 - updated contact email address for author
222
223
224 1.05 Aug 31 2000
225 - code re-org to make internals all OO for easier extending
226 - added 'noattr' option to tell XMLout() not to use attributes (only
227 nested elements) and XMLin() to discard attributes
228 - added 'suppressempty' option to tell XMLin what to do with elements
229 with no attributes and no content
230 - added 'parseropts' option for specifying options which should be
231 passed to the underlying XML::Parser object
232 - added 'forcecontent' option to force text content to parse to a
233 hash value even if the element has no attributes
234 - fix for forcearray getting applied to text content
235 - integrated patch from Paul Lindner to work around filenames sometimes
236 being seen as XML when running under mod_perl
237 - integrated patch from Edward Avis: filename '-' means stdin
238 - fixed bug where a missing key attribute could cause a crash
239 - added a warning message for above situation
240 - added 'support' for CDATA sections - they always worked, but now
241 they're in the test suite which should ensure they keep working
242 - fixed error message when caching enabled but parsing from filehandle
243 - fixed empty elements being skipped by XMLout() when folding enabled
244 - fixed text content of '0' being skipped by XMLout()
245
246 1.04 Apr 03 2000
247 - fix for text content being skipped by XMLout
248 - added (optional) OO interface for changing default options
249 - added 'keeproot' option (requested by Mark D. Anderson - MDA)
250 - added 'contentkey' option (also requested by MDA)
251 - incorporated 'forcearray' as arrayref patch from Andrew McNaughton
252
253 1.03 Mar 05 2000
254 - added 'maketest' script for make impaired platforms
255 - yet more cross platform robustness added to test scripts incl
256 workaround for Win32 problem where writing to file changed contents
257 but not timestamp(!)
258 - backed out one overzealous use of File::Spec in test script
259 - POD updates including XML::Twig description contributed by Michel
260 Rodriguez
261
262 1.02b Feb 16 2000 - limited distribution beta
263 - reinstated locking with new backwards compatibility code
264 - fixed platform dependant pathname handling to use File::Basename &
265 File::Spec in XML::Simple.pm and test scripts
266 - fixed bug causing XMLout() to incorrectly barf on what it thought was
267 a recursive data structure
268 - removed spurious checking code which stopped XMLout unfolding a
269 single nested hash
270 - fixed t/4_MemShare.t to gracefully cope with the absense of utime()
271 - changed t/3_Storable.t and t/5_MemCopy.t to skip gracefully if no
272 Storable.pm
273 - removed superflous eval blocks around requires
274
275 1.01 Dec 1 1999
276 - removed faulty locking code pending a fix
277
278 1.00 Nov 25 1999
279 - added escaping feature + noescape option
280 - added xmldecl option
281 - further tidy ups for thread safing
282 - more POD revisions (incl: pointers to other modules)
283
284 0.95 Nov 2 1999
285 - added rootname option
286 - added outputfile option
287 - lots of internal tidy ups for thread safing
288 - fixed bug in check for XML string to XMLin()
289 - extra tests (esp option handling)
290
291 0.90 Oct 14 1999 (first beta release)
292 - module renamed to XML::Simple ready for CPAN upload
293 - XMLToOpt() renamed to XMLin()
294 - OptToXML() renamed to XMLout()
295 - added 'convert' script
296
297 0.05 Sep 18 1999
298 - fixed location of XML.pm in distribution (make install didn't work)
299 - added tests for MemCopy
300 - fixed ABSTRACT_FROM in Makefile.PL
301 - fixed PREREQ_PM in Makefile.PL
302
303 0.04 Aug 10 1999
304 - added caching using Storable.pm
305 - updated MANIFEST to include missing test files
306
307 0.03 Jun 20 1999
308 - rewrite of OptToXML
309 - anonymous array support
310 - more and better test routines
311 - POD updates
312
313 0.02 Jun 10 1999
314 - added support for OptToXML
315 - fixed searchpath inconsistencies
316 - added 'forcearray' option
317 - POD improvements
318 - much improved test routines
319
320 0.01 May 27 1999
321 - original version; created by h2xs 1.18
322 - module called 'Getopt::XML'
323 - included basic XMLToOpt routine
324