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