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