This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
replace uses of Test.pm in dist/ distributions (IO, Math-BigInt)
[perl5.git] / dist / Data-Dumper / Changes
CommitLineData
823edd99
GS
1=head1 NAME
2
40f316a7 3Changes - public release history for Data::Dumper
823edd99
GS
4
5=head1 DESCRIPTION
6
7=over 8
8
fbfb8de6
S
9=item 2.151 (Mar 7 2014)
10
11A "useqq" implementation for the XS version of Data::Dumper.
12
13Better compatibility wrt. hash key quoting between PP and XS
14versions of Data::Dumper.
15
16EBCDIC fixes.
17
1864bit safety fixes (for very large arrays).
19
20Build fixes for threaded perls.
21
22clang warning fixes.
23
24Warning fixes in tests on older perls.
25
26Typo fixes in documentation.
27
6e138f13
S
28=item 2.145 (Mar 15 2013)
29
30Test refactoring and fixing wide and far.
31
32Various old-perl compat fixes.
33
ecac6521 34=item 2.143 (Feb 26 2013)
0be733f0
S
35
36Address vstring related test failures on 5.8: Skip tests for
37obscure case.
38
39Major improvements to test coverage and significant refactoring.
40
41Make Data::Dumper XS ignore Freezer return value. Fixes RT #116364.
0eb30aeb
KW
42
43Change call of isALNUM to equivalent but more clearly named isWORDCHAR
44
c8c262e3
S
45=item 2.139 (Dec 12 2012)
46
47Supply an explicit dynamic_config => 0 in META
48
49Properly list BUILD_REQUIRES prereqs (P5-RT#116028)
50
51Some optimizations. Removed useless "register" declarations.
52
40f316a7
S
53=item 2.136 (Oct 04 2012)
54
55Promote to stable release.
56
57Drop some "register" declarations.
58
b795c6e9
S
59=item 2.135_07 (Aug 06 2012)
60
61Use the new utf8 to code point functions - fixing a potential
62reading buffer overrun.
63
64Data::Dumper: Sparseseen option to avoid building much of the seen
65hash: This has been measured to, in some cases, provide a 50% speed-up
66
67Dumper.xs: Avoid scan_vstring on 5.17.3 and up
68
69Avoid a warning from clang when compiling Data::Dumper
70
71Fix DD's dumping of qr|\/|
72
73Data::Dumper's Perl implementation was not working with overloaded
74blessed globs, which it thought were strings.
75
76Allow Data::Dumper to load on miniperl
77
ad7c79f5
S
78=item 2.135_02 (Dec 29 2011)
79
80Makes DD dump *{''} properly.
81
82[perl #101162] DD support for vstrings:
83Support for vstrings to Data::Dumper, in both Perl and XS
84implementations.
85
9eabe476
S
86=item 2.135_01 (Dec 19 2011)
87
88Make Data::Dumper UTF8- and null-clean with GVs.
89
90In Dumper.xs, use sv_newmortal() instead of sv_mortalcopy(&PL_sv_undef)
91for efficiency.
92
93Suppress compiler warning
94
95Keep verbatim pod in Data::Dumper within 80 cols
96
1f180a7b
S
97=item 2.131 (May 27 2011)
98
99Essentially the same as version 2.130_02, but a production release.
100
101=item 2.130_03 (May 20 2011)
102
103Essentially the same as version 2.130_02, but a CPAN release
104for the eventual 2.131.
105
106=item 2.130_02
107
108This was only shipped with the perl core, never released to CPAN.
109
110Convert overload.t to Test::More
111
112Fix some spelling errors
113
114Fix some compiler warnings
115
116Fix an out of bounds write in Data-Dumper with malformed utf8 input
117
118=item 2.130 (Nov 20 2010)
9bd6d075
FC
119
120C<Dumpxs> can now handle malformed UTF-8.
121
122=item 2.129 (Oct 20 2010)
e2941eb0
FC
123
124C<Dumpxs> no longer crashes with globs returned by C<*$io_ref>
125[perl #72332].
126
34a37ff2
S
127=item 2.128 (Sep 10 2010)
128
129Promote previous release to stable version with the correct version.
130
131=item 2.127 (Sep 10 2010)
132
133Promote previous release to stable version.
134
135=item 2.126_01 (Sep 6 2010)
136
137Port core perl changes e3ec2293dc, fe642606b19.
138Fixes core perl RT #74170 (handle the stack changing in the
139custom sort functions) and adds a test.
140
88ac1adb
S
141=item 2.126 (Apr 15 2010)
142
143Fix Data::Dumper's Fix Terse(1) + Indent(2):
144perl-RT #73604: When $Data::Dumper::Terse is true, the indentation is thrown
145off. It appears to be acting as if the $VAR1 = is still there.
146
4d0a2500
S
147=item 2.125 (Aug 8 2009)
148
149CPAN distribution fixes (meta information for META.yml).
150
20fc1041
S
151=item 2.124 (Jun 13 2009)
152
153Add three missing test files.
154
cc650b8b
S
155=item 2.123 (Jun 11 2009)
156
157Re-add the INSTALLDIRS => 'perl' directive to Makefile.PL
158of the CPAN release.
159
f6085ff7
S
160=item 2.122 (Jun 9 2009)
161
162Promote previous developer release to stable release.
163
04fe7e43
S
164=item 2.121_20 (Jun 6 2009)
165
cc650b8b 166A host of bug fixes and improvements that have
04fe7e43
S
167accumulated in the perl core
168
cc650b8b 169Updated backport to 5.6.1 by Steffen Mueller <smueller@cpan.org>.
04fe7e43 170
fec5e1eb
IM
171=item 2.121 (Aug 24 2003)
172
173Backport to 5.6.1 by Ilya Martynov <ilya@martynov.org>.
174
a2126434
JN
175=item 2.11 (unreleased)
176
177C<0> is now dumped as such, not as C<'0'>.
178
179qr// objects are now dumped correctly (provided a post-5.005_58)
180overload.pm exists).
181
182Implemented $Data::Dumper::Maxdepth, which was on the Todo list.
183Thanks to John Nolan <jpnolan@Op.Net>.
184
185=item 2.101 (30 Apr 1999)
186
187Minor release to sync with version in 5.005_03. Fixes dump of
188dummy coderefs.
189
7820172a
GS
190=item 2.10 (31 Oct 1998)
191
192Bugfixes for dumping related undef values, globs, and better double
193quoting: three patches suggested by Gisle Aas <gisle@aas.no>.
194
195Escaping of single quotes in the XS version could get tripped up
196by the presence of nulls in the string. Fix suggested by
197Slaven Rezic <eserte@cs.tu-berlin.de>.
198
199Rather large scale reworking of the logic in how seen values
200are stashed. Anonymous scalars that may be encountered while
201traversing the structure are properly tracked, in case they become
202used in data dumped in a later pass. There used to be a problem
203with the previous logic that prevented such structures from being
204dumped correctly.
205
206Various additions to the testsuite.
207
823edd99
GS
208=item 2.09 (9 July 1998)
209
210Implement $Data::Dumper::Bless, suggested by Mark Daku <daku@nortel.ca>.
211
212=item 2.081 (15 January 1998)
213
214Minor release to fix Makefile.PL not accepting MakeMaker args.
215
216=item 2.08 (7 December 1997)
217
1f180a7b 218Glob dumps don't output superflous 'undef' anymore.
823edd99
GS
219
220Fixes from Gisle Aas <gisle@aas.no> to make Dumper() work with
221overloaded strings in recent perls, and his new testsuite.
222
223require 5.004.
224
225A separate flag to always quote hash keys (on by default).
226
227Recreating known CODE refs is now better supported.
228
229Changed flawed constant SCALAR bless workaround.
230
231=item 2.07 (7 December 1996)
232
233Dumpxs output is now exactly the same as Dump. It still doesn't
234honor C<Useqq> though.
235
236Regression tests test for identical output and C<eval>-ability.
237
238Bug in *GLOB{THING} output fixed.
239
240Other small enhancements.
241
242=item 2.06 (2 December 1996)
243
244Bugfix that was serious enough for new release--the bug cripples
245MLDBM. Problem was "Attempt to modify readonly value..." failures
246that stemmed for a misguided SvPV_force() instead of a SvPV().)
247
248=item 2.05 (2 December 1996)
249
250Fixed the type mismatch that was causing Dumpxs test to fail
251on 64-bit platforms.
252
253GLOB elements are dumped now when C<Purity> is set (using the
254*GLOB{THING} syntax).
255
256The C<Freezer> option can be set to a method name to call
257before probing objects for dumping. Some applications: objects with
258external data, can re-bless themselves into a transitional package;
259Objects the maintain ephemeral state (like open files) can put
260additional information in the object to facilitate persistence.
261
262The corresponding C<Toaster> option, if set, specifies
263the method call that will revive the frozen object.
264
265The C<Deepcopy> flag has been added to do just that.
266
267Dumper does more aggressive cataloging of SCALARs encountered
268within ARRAY/HASH structures. Thanks to Norman Gaywood
269<norm@godel.une.edu.au> for reporting the problem.
270
271Objects that C<overload> the '""' operator are now handled
272properly by the C<Dump> method.
273
274Significant additions to the testsuite.
275
276More documentation.
277
278=item 2.04beta (28 August 1996)
279
280Made dump of glob names respect C<Useqq> setting.
281
282[@$%] are now escaped now when in double quotes.
283
284=item 2.03beta (26 August 1996)
285
286Fixed Dumpxs. It was appending trailing nulls to globnames.
287(reported by Randal Schwartz <merlyn@teleport.com>).
288
289Calling the C<Indent()> method on a dumper object now correctly
290resets the internal separator (reported by Curt Tilmes
291<curt@ltpmail.gsfc.nasa.gov>).
292
293New C<Terse> option to suppress the 'C<VARI<n> = >' prefix
294introduced. If the option is set, they are output only when
295absolutely essential.
296
297The C<Useqq> flag is supported (but not by the XSUB version
298yet).
299
300Embedded nulls in keys are now handled properly by Dumpxs.
301
302Dumper.xs now use various integer types in perl.h (should
303make it compile without noises on 64 bit platforms, although
304I haven't been able to test this).
305
306All the dump methods now return a list of strings in a list
307context.
308
309
310=item 2.02beta (13 April 1996)
311
312Non portable sprintf usage in XS code fixed (thanks to
313Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>).
314
315
316=item 2.01beta (10 April 1996)
317
318Minor bugfix (single digit numbers were always getting quoted).
319
320
321=item 2.00beta (9 April 1996)
322
323C<Dumpxs> is now the exact XSUB equivalent of C<Dump>. The XS version
324is 4-5 times faster.
325
326C<require 5.002>.
327
328MLDBM example removed (as its own module, it has a separate CPAN
329reality now).
330
331Fixed bugs in handling keys with wierd characters. Perl can be
332tripped up in its implicit quoting of the word before '=>'. The
333fix: C<Data::Dumper::Purity>, when set, always triggers quotes
334around hash keys.
335
336Andreas Koenig <k@anna.in-berlin.de> pointed out that handling octals
337is busted. His patch added.
338
339Dead code removed, other minor documentation fixes.
340
341
342=item 1.23 (3 Dec 1995)
343
344MLDBM example added.
345
346Several folks pointed out that quoting of ticks and backslashes
347in strings is missing. Added.
348
7e6e257f 349Ian Phillipps <ian@pipex.net> pointed out that numerics may lose
823edd99
GS
350precision without quotes. Fixed.
351
352
353=item 1.21 (20 Nov 1995)
354
355Last stable version I can remember.
356
357=back
358
359=cut