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