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