Fix threads build on Win32
[p5sagit/p5-mst-13.2.git] / ext / Data-Dumper / Changes
CommitLineData
823edd99 1=head1 NAME
2
3HISTORY - public release history for Data::Dumper
4
5=head1 DESCRIPTION
6
7=over 8
8
04fe7e43 9=item 2.121_20 (Jun 6 2009)
10
11- A host of bug fixes and improvements that have
12accumulated in the perl core
13
14- Updated backport to 5.6.1 by Steffen Mueller <smueller@cpan.org>.
15
fec5e1eb 16=item 2.121 (Aug 24 2003)
17
18Backport to 5.6.1 by Ilya Martynov <ilya@martynov.org>.
19
a2126434 20=item 2.11 (unreleased)
21
22C<0> is now dumped as such, not as C<'0'>.
23
24qr// objects are now dumped correctly (provided a post-5.005_58)
25overload.pm exists).
26
27Implemented $Data::Dumper::Maxdepth, which was on the Todo list.
28Thanks to John Nolan <jpnolan@Op.Net>.
29
30=item 2.101 (30 Apr 1999)
31
32Minor release to sync with version in 5.005_03. Fixes dump of
33dummy coderefs.
34
7820172a 35=item 2.10 (31 Oct 1998)
36
37Bugfixes for dumping related undef values, globs, and better double
38quoting: three patches suggested by Gisle Aas <gisle@aas.no>.
39
40Escaping of single quotes in the XS version could get tripped up
41by the presence of nulls in the string. Fix suggested by
42Slaven Rezic <eserte@cs.tu-berlin.de>.
43
44Rather large scale reworking of the logic in how seen values
45are stashed. Anonymous scalars that may be encountered while
46traversing the structure are properly tracked, in case they become
47used in data dumped in a later pass. There used to be a problem
48with the previous logic that prevented such structures from being
49dumped correctly.
50
51Various additions to the testsuite.
52
823edd99 53=item 2.09 (9 July 1998)
54
55Implement $Data::Dumper::Bless, suggested by Mark Daku <daku@nortel.ca>.
56
57=item 2.081 (15 January 1998)
58
59Minor release to fix Makefile.PL not accepting MakeMaker args.
60
61=item 2.08 (7 December 1997)
62
63Glob dumps don't output superflous 'undef' anymore.
64
65Fixes from Gisle Aas <gisle@aas.no> to make Dumper() work with
66overloaded strings in recent perls, and his new testsuite.
67
68require 5.004.
69
70A separate flag to always quote hash keys (on by default).
71
72Recreating known CODE refs is now better supported.
73
74Changed flawed constant SCALAR bless workaround.
75
76=item 2.07 (7 December 1996)
77
78Dumpxs output is now exactly the same as Dump. It still doesn't
79honor C<Useqq> though.
80
81Regression tests test for identical output and C<eval>-ability.
82
83Bug in *GLOB{THING} output fixed.
84
85Other small enhancements.
86
87=item 2.06 (2 December 1996)
88
89Bugfix that was serious enough for new release--the bug cripples
90MLDBM. Problem was "Attempt to modify readonly value..." failures
91that stemmed for a misguided SvPV_force() instead of a SvPV().)
92
93=item 2.05 (2 December 1996)
94
95Fixed the type mismatch that was causing Dumpxs test to fail
96on 64-bit platforms.
97
98GLOB elements are dumped now when C<Purity> is set (using the
99*GLOB{THING} syntax).
100
101The C<Freezer> option can be set to a method name to call
102before probing objects for dumping. Some applications: objects with
103external data, can re-bless themselves into a transitional package;
104Objects the maintain ephemeral state (like open files) can put
105additional information in the object to facilitate persistence.
106
107The corresponding C<Toaster> option, if set, specifies
108the method call that will revive the frozen object.
109
110The C<Deepcopy> flag has been added to do just that.
111
112Dumper does more aggressive cataloging of SCALARs encountered
113within ARRAY/HASH structures. Thanks to Norman Gaywood
114<norm@godel.une.edu.au> for reporting the problem.
115
116Objects that C<overload> the '""' operator are now handled
117properly by the C<Dump> method.
118
119Significant additions to the testsuite.
120
121More documentation.
122
123=item 2.04beta (28 August 1996)
124
125Made dump of glob names respect C<Useqq> setting.
126
127[@$%] are now escaped now when in double quotes.
128
129=item 2.03beta (26 August 1996)
130
131Fixed Dumpxs. It was appending trailing nulls to globnames.
132(reported by Randal Schwartz <merlyn@teleport.com>).
133
134Calling the C<Indent()> method on a dumper object now correctly
135resets the internal separator (reported by Curt Tilmes
136<curt@ltpmail.gsfc.nasa.gov>).
137
138New C<Terse> option to suppress the 'C<VARI<n> = >' prefix
139introduced. If the option is set, they are output only when
140absolutely essential.
141
142The C<Useqq> flag is supported (but not by the XSUB version
143yet).
144
145Embedded nulls in keys are now handled properly by Dumpxs.
146
147Dumper.xs now use various integer types in perl.h (should
148make it compile without noises on 64 bit platforms, although
149I haven't been able to test this).
150
151All the dump methods now return a list of strings in a list
152context.
153
154
155=item 2.02beta (13 April 1996)
156
157Non portable sprintf usage in XS code fixed (thanks to
158Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>).
159
160
161=item 2.01beta (10 April 1996)
162
163Minor bugfix (single digit numbers were always getting quoted).
164
165
166=item 2.00beta (9 April 1996)
167
168C<Dumpxs> is now the exact XSUB equivalent of C<Dump>. The XS version
169is 4-5 times faster.
170
171C<require 5.002>.
172
173MLDBM example removed (as its own module, it has a separate CPAN
174reality now).
175
176Fixed bugs in handling keys with wierd characters. Perl can be
177tripped up in its implicit quoting of the word before '=>'. The
178fix: C<Data::Dumper::Purity>, when set, always triggers quotes
179around hash keys.
180
181Andreas Koenig <k@anna.in-berlin.de> pointed out that handling octals
182is busted. His patch added.
183
184Dead code removed, other minor documentation fixes.
185
186
187=item 1.23 (3 Dec 1995)
188
189MLDBM example added.
190
191Several folks pointed out that quoting of ticks and backslashes
192in strings is missing. Added.
193
7e6e257f 194Ian Phillipps <ian@pipex.net> pointed out that numerics may lose
823edd99 195precision without quotes. Fixed.
196
197
198=item 1.21 (20 Nov 1995)
199
200Last stable version I can remember.
201
202=back
203
204=cut