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