This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Bring Data::Dumper version and changelog up to date with CPAN release
[perl5.git] / dist / Data-Dumper / Changes
1 =head1 NAME
2
3 Changes - public release history for Data::Dumper
4
5 =head1 DESCRIPTION
6
7 =over 8
8
9 =item 2.139 (Dec 12 2012)
10
11 Supply an explicit dynamic_config => 0 in META
12
13 Properly list BUILD_REQUIRES prereqs (P5-RT#116028)
14
15 Some optimizations. Removed useless "register" declarations.
16
17 =item 2.136 (Oct 04 2012)
18
19 Promote to stable release.
20
21 Drop some "register" declarations.
22
23 =item 2.135_07 (Aug 06 2012)
24
25 Use the new utf8 to code point functions - fixing a potential
26 reading buffer overrun.
27
28 Data::Dumper: Sparseseen option to avoid building much of the seen
29 hash: This has been measured to, in some cases, provide a 50% speed-up
30
31 Dumper.xs: Avoid scan_vstring on 5.17.3 and up
32
33 Avoid a warning from clang when compiling Data::Dumper
34
35 Fix DD's dumping of qr|\/|
36
37 Data::Dumper's Perl implementation was not working with overloaded
38 blessed globs, which it thought were strings.
39
40 Allow Data::Dumper to load on miniperl
41
42 =item 2.135_02 (Dec 29 2011)
43
44 Makes DD dump *{''} properly.
45
46 [perl #101162] DD support for vstrings:
47 Support for vstrings to Data::Dumper, in both Perl and XS
48 implementations.
49
50 =item 2.135_01 (Dec 19 2011)
51
52 Make Data::Dumper UTF8- and null-clean with GVs.
53
54 In Dumper.xs, use sv_newmortal() instead of sv_mortalcopy(&PL_sv_undef)
55 for efficiency.
56
57 Suppress compiler warning
58
59 Keep verbatim pod in Data::Dumper within 80 cols
60
61 =item 2.131 (May 27 2011)
62
63 Essentially the same as version 2.130_02, but a production release.
64
65 =item 2.130_03 (May 20 2011)
66
67 Essentially the same as version 2.130_02, but a CPAN release
68 for the eventual 2.131.
69
70 =item 2.130_02
71
72 This was only shipped with the perl core, never released to CPAN.
73
74 Convert overload.t to Test::More
75
76 Fix some spelling errors
77
78 Fix some compiler warnings
79
80 Fix an out of bounds write in Data-Dumper with malformed utf8 input
81
82 =item 2.130 (Nov 20 2010)
83
84 C<Dumpxs> can now handle malformed UTF-8.
85
86 =item 2.129 (Oct 20 2010)
87
88 C<Dumpxs> no longer crashes with globs returned by C<*$io_ref>
89 [perl #72332].
90
91 =item 2.128 (Sep 10 2010)
92
93 Promote previous release to stable version with the correct version.
94
95 =item 2.127 (Sep 10 2010)
96
97 Promote previous release to stable version.
98
99 =item 2.126_01 (Sep  6 2010)
100
101 Port core perl changes e3ec2293dc, fe642606b19.
102 Fixes core perl RT #74170 (handle the stack changing in the
103 custom sort functions) and adds a test.
104
105 =item 2.126 (Apr 15 2010)
106
107 Fix Data::Dumper's Fix Terse(1) + Indent(2):
108 perl-RT #73604: When $Data::Dumper::Terse is true, the indentation is thrown
109 off. It appears to be acting as if the $VAR1 = is still there.
110
111 =item 2.125 (Aug  8 2009)
112
113 CPAN distribution fixes (meta information for META.yml).
114
115 =item 2.124 (Jun 13 2009)
116
117 Add three missing test files.
118
119 =item 2.123 (Jun 11 2009)
120
121 Re-add the INSTALLDIRS => 'perl' directive to Makefile.PL
122 of the CPAN release.
123
124 =item 2.122 (Jun  9 2009)
125
126 Promote previous developer release to stable release.
127
128 =item 2.121_20 (Jun  6 2009)
129
130 A host of bug fixes and improvements that have
131 accumulated in the perl core
132
133 Updated backport to 5.6.1 by Steffen Mueller <smueller@cpan.org>.
134
135 =item 2.121 (Aug 24 2003)
136
137 Backport to 5.6.1 by Ilya Martynov <ilya@martynov.org>.
138
139 =item 2.11  (unreleased)
140
141 C<0> is now dumped as such, not as C<'0'>.
142
143 qr// objects are now dumped correctly (provided a post-5.005_58)
144 overload.pm exists).
145
146 Implemented $Data::Dumper::Maxdepth, which was on the Todo list.
147 Thanks to John Nolan <jpnolan@Op.Net>.
148
149 =item 2.101 (30 Apr 1999)
150
151 Minor release to sync with version in 5.005_03.  Fixes dump of
152 dummy coderefs.
153
154 =item 2.10  (31 Oct 1998)
155
156 Bugfixes for dumping related undef values, globs, and better double
157 quoting: three patches suggested by Gisle Aas <gisle@aas.no>.
158
159 Escaping of single quotes in the XS version could get tripped up
160 by the presence of nulls in the string.  Fix suggested by
161 Slaven Rezic <eserte@cs.tu-berlin.de>.
162
163 Rather large scale reworking of the logic in how seen values
164 are stashed. Anonymous scalars that may be encountered while
165 traversing the structure are properly tracked, in case they become
166 used in data dumped in a later pass.  There used to be a problem
167 with the previous logic that prevented such structures from being
168 dumped correctly.
169
170 Various additions to the testsuite.
171
172 =item 2.09  (9 July 1998)
173
174 Implement $Data::Dumper::Bless, suggested by Mark Daku <daku@nortel.ca>.
175
176 =item 2.081  (15 January 1998)
177
178 Minor release to fix Makefile.PL not accepting MakeMaker args.
179
180 =item 2.08  (7 December 1997)
181
182 Glob dumps don't output superflous 'undef' anymore.
183
184 Fixes from Gisle Aas <gisle@aas.no> to make Dumper() work with
185 overloaded strings in recent perls, and his new testsuite.
186
187 require 5.004.
188
189 A separate flag to always quote hash keys (on by default).
190
191 Recreating known CODE refs is now better supported.
192
193 Changed flawed constant SCALAR bless workaround.
194
195 =item 2.07  (7 December 1996)
196
197 Dumpxs output is now exactly the same as Dump.  It still doesn't
198 honor C<Useqq> though.
199
200 Regression tests test for identical output and C<eval>-ability.
201
202 Bug in *GLOB{THING} output fixed.
203
204 Other small enhancements.
205
206 =item 2.06  (2 December 1996)
207
208 Bugfix that was serious enough for new release--the bug cripples
209 MLDBM.  Problem was "Attempt to modify readonly value..." failures
210 that stemmed for a misguided SvPV_force() instead of a SvPV().)
211
212 =item 2.05  (2 December 1996)
213
214 Fixed the type mismatch that was causing Dumpxs test to fail
215 on 64-bit platforms.
216
217 GLOB elements are dumped now when C<Purity> is set (using the
218 *GLOB{THING} syntax).
219
220 The C<Freezer> option can be set to a method name to call
221 before probing objects for dumping.  Some applications: objects with
222 external data, can re-bless themselves into a transitional package;
223 Objects the maintain ephemeral state (like open files) can put
224 additional information in the object to facilitate persistence.
225
226 The corresponding C<Toaster> option, if set, specifies
227 the method call that will revive the frozen object.
228
229 The C<Deepcopy> flag has been added to do just that.
230
231 Dumper does more aggressive cataloging of SCALARs encountered
232 within ARRAY/HASH structures. Thanks to Norman Gaywood 
233 <norm@godel.une.edu.au> for reporting the problem.
234
235 Objects that C<overload> the '""' operator are now handled
236 properly by the C<Dump> method.
237
238 Significant additions to the testsuite.
239
240 More documentation.
241
242 =item 2.04beta  (28 August 1996)
243
244 Made dump of glob names respect C<Useqq> setting.
245
246 [@$%] are now escaped now when in double quotes.
247
248 =item 2.03beta  (26 August 1996)
249
250 Fixed Dumpxs.  It was appending trailing nulls to globnames.
251 (reported by Randal Schwartz <merlyn@teleport.com>).
252
253 Calling the C<Indent()> method on a dumper object now correctly
254 resets the internal separator (reported by Curt Tilmes
255 <curt@ltpmail.gsfc.nasa.gov>).
256
257 New C<Terse> option to suppress the 'C<VARI<n> = >' prefix 
258 introduced.  If the option is set, they are output only when
259 absolutely essential.
260
261 The C<Useqq> flag is supported (but not by the XSUB version
262 yet).
263
264 Embedded nulls in keys are now handled properly by Dumpxs.
265
266 Dumper.xs now use various integer types in perl.h (should
267 make it compile without noises on 64 bit platforms, although
268 I haven't been able to test this).
269
270 All the dump methods now return a list of strings in a list
271 context.
272
273
274 =item 2.02beta  (13 April 1996)
275
276 Non portable sprintf usage in XS code fixed (thanks to 
277 Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>).
278
279
280 =item 2.01beta  (10 April 1996)
281
282 Minor bugfix (single digit numbers were always getting quoted).
283
284
285 =item 2.00beta  (9 April 1996)
286
287 C<Dumpxs> is now the exact XSUB equivalent of C<Dump>.  The XS version
288 is 4-5 times faster.
289
290 C<require 5.002>.
291
292 MLDBM example removed (as its own module, it has a separate CPAN 
293 reality now).
294
295 Fixed bugs in handling keys with wierd characters.  Perl can be
296 tripped up in its implicit quoting of the word before '=>'.  The
297 fix: C<Data::Dumper::Purity>, when set, always triggers quotes
298 around hash keys.
299
300 Andreas Koenig <k@anna.in-berlin.de> pointed out that handling octals
301 is busted.  His patch added.
302
303 Dead code removed, other minor documentation fixes.
304
305
306 =item 1.23      (3 Dec 1995)
307
308 MLDBM example added.
309
310 Several folks pointed out that quoting of ticks and backslashes 
311 in strings is missing. Added.
312
313 Ian Phillipps <ian@pipex.net> pointed out that numerics may lose 
314 precision without quotes.  Fixed.
315
316
317 =item 1.21     (20 Nov 1995)
318
319 Last stable version I can remember.
320
321 =back
322
323 =cut