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