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