Debian Codegraph @

Changes

raw
1 Revision history for Data-Printer
2
3 1.2.1 2024-01-21
4 BUG FIXES:
5 - Ensure that core boolean support doesn't fail on perls
6 older than 5.36 (Paul Evans)
7
8 1.2.0 2024-01-21
9 NEW FEATURES:
10 - support the core boolean type (true/false) in perl >= 5.36.0
11 OTHER:
12 - doc fixes and improvements (Florian Schlichting, Andre Klärner)
13
14 1.1.1 2023-07-30
15 BUG FIXES:
16 - explicitly mentions that native perl classes (perl 5.38) do not
17 have internals.
18 - 'quiet' now returns the data properly when return_value is 'pass'.
19 - cope with import and unimport in perl 5.39 UNIVERSAL (Graham Knop)
20 - fix tie issue (thank you Curtis 'Ovid' Poe for reporting and
21 Leon Timmermans for providing a patch)
22 - doc fixes and improvements (Matthias Muth, Elvin Aslanov)
23
24 1.1.0 2022-12-22
25 NEW FEATURES:
26 - new option 'coderef_stub' letting you customize what to show on
27 non-deparsed coderefs (default: 'sub { ... }')
28 - new option 'coderef_undefined' that checks if a given coderef points
29 to an existing reference at the time of inspection. Defaults to
30 '<undefined coderef>'. Set to 0 to disable this check.
31 - basic Object::Pad support.
32 - new option class.show_wrapped to expose methods modified with before,
33 after, around (Moose only for now)
34 - new option 'quiet' to avoid traversal and silence all output
35 from p() and np().
36 - new option 'live_update' to reload .dataprinter whenever
37 you make changes to it, applying them without needing to
38 restart your code.
39 BUG FIXES:
40 - properly shows inherited Moo(se) attributes.
41 - fix $@ clobbering when checking available modules.
42 - class.sort_methods also sorts attributes and roles.
43 - improved color reset.
44 - $DDP::VERSION is now hardcoded to avoid issues with PAUSE.
45
46
47 1.0.4 2021-03-03
48 BUG FIXES:
49 - fix DBIx::Class print when literal SQL is present (Veesh Goldman)
50
51 1.0.3 2021-03-02
52 OTHER:
53 - fixup documentation on how to convert from the old .dataprinter
54 format to the new one (GH#157)
55 - test fixes
56
57 1.0.2 2021-02-28
58 OTHER:
59 - Material's color for caller_info and code is now a bit brighter
60 to improve readability on terminals with dark background.
61 - improve MS Windows support
62 - increase test coverage
63
64 1.0.1 2021-02-25
65 BUG FIXES:
66 - properly parse the "n" option in regexes
67 - fix unwrap of __PACKAGE__, __FILENAME__ and __LINE__
68 on caller_message (GH#156)
69 - add a single space between caller message and data when
70 caller_message_newline is false
71 - proper colorization on caller message.
72 OTHER:
73 - improve documentation on caller message behavior
74 - document caveat of printing array/hash slices (GH#152)
75 - fix broken link in documentation (GH#155)
76 - improve tip on how to make a drop-in replacement
77 to Data::Dumper (GH#154)
78
79 1.0.0 2021-02-24
80 We are really excited to finally bring to you Data::Printer 1.0.0 \o/
81 This release includes all modifications from the 0.99_* series as
82 described below.
83
84 0.99_026 2021-02-19
85 BUG FIXES:
86 - test fixes/updates
87 - improved support for Cpanel::JSON::XS::Boolean
88
89 0.99_025 2021-02-18
90 BUG FIXES:
91 - improved support for perl 5.8.9 (thank you cpantesters!)
92
93 0.99_024 2021-02-17
94 NEW FEATURES:
95 - fix rc file conversor to change 'color' to 'colors'
96 (thanks Buddy Burden for reporting the issue!)
97 OTHER:
98 - massive documentation rewrite.
99 - drop support for "ignore_keys" for now.
100
101 0.99_023 2021-02-01
102 NEW FEATURES:
103 - profiles! Now you make complex settings using Perl code.
104 - allow .dataprinter files on the project home and subdirs.
105 - new option 'warnings', when set to 0 will make DDP silence
106 (almost) all warnings such as theme/profile not found. Default is 1.
107 - filter for the 'Date' module (the evolution of Panda::Date)
108 BUG FIXES:
109 - properly show roles' attributes from Role::Tiny, Moo and Moose;
110 - 'quote_keys' also quotes the path of circular references and found elements.
111 - when 'quote_keys' is set, hash keys are quoted with whatever 'scalar_quotes'
112 is set to.
113 - escape quote characters in quoted strings and hash keys
114 - blessed regexps (in objects different than the native 'Regexp') are now
115 properly displayed as objects of their class.
116 OTHER:
117 - new string_max default: 4096
118 - new array_max default: 100
119 - new hash_max default: 100
120 - dropped filter support for the deprecated Panda::Date dist
121 - dropped filter support for the Date::Pcalc dist (buggy in recent perls)
122 - lowercased all words in class dump for output consistency
123
124 0.99_022 2020-09-26
125 BUG FIXES:
126 - fix test case of rc option containing spaces
127
128 0.99_021 2020-09-26
129 NEW FEATURES:
130 - 'caller_message_position' option to control whether to show labels 'before'
131 or 'after' the dump (defaults to 'before');
132 - 'caller_message_newline' puts an automatic "\n" after the message;
133 - 'resolve_scalar_refs' option to show values instead of just
134 the reference indicator;
135 - when multiline is false, string/hash/array overflow become "(...)";
136 - filter loading errors are not fatal anymore, unless you set the
137 'die_on_filter_error' option;
138 BUG FIXES:
139 - allow quoted values when parsing .dataprinter;
140 - np() is never colored on 'auto' colors;
141 - printing to a file or to a variable is never colored on 'auto' colors;
142 - fulldump typo fix;
143 - fix filter test failure when Mojo::JSON loads ::XS backends (GH#136);
144 - do not call 'stringify' on PDF::API2 objects as it's a destructive op;
145 - allow code filters in the new .dataprinter format, but only if the
146 file meets certain permissions criteria;
147 - 'dump' mode working as expected again;
148 OTHER:
149 - simplified homedir logic for MSWin32, Linux and MacOS
150 (Karen Etheridge);
151 - new 'contributing to' data;
152 - minor color adjustments on Material theme to improve legibility
153 on lighter terminals;
154
155
156 0.99_020 2018-06-30
157 NEW FEATURES:
158 - new 'fulldump' option to ignore max string/array/hash.
159 - also stringify on to_string()
160 - ContentType filter shows utf8 symbol for image/audio/video/etc
161 - ContentType filter now has its own color
162 - ContentType filter understands Sereal binaries
163 BUG FIXES:
164 - prevent 'undefined' warning in ContentType filter
165 - fix test on old HTTP::Headers
166 OTHER:
167 - improved documentation
168
169 0.99_019 2018-06-27
170 BUG FIXES:
171 - more filter fixes on different module versions
172 (many thanks to Slaven Rezić and all other CPAN testers).
173
174 0.99_018 2018-06-25
175 BUG FIXES:
176 - fix filter test on older HTTP::Message
177
178 0.99_017 2018-06-25
179 BUG FIXES:
180 - fix filter test failure on older Mojolicious
181 - fix filter test failure on older Digest::MD5
182
183 0.99_016 2018-06-25
184 NEW FEATURES:
185 - unsee() method in DDP objects to ignore visits
186 - new Web filter bundle parsing JSON, Cookies and HTTP Request/Response.
187 - DateTime filter now understands Time::Seconds and Time::Moment.
188 BUG FIXES:
189 - fixed show_tied, which was not working properly since the refactor.
190 - prevent non-ref counters from being refcounted
191 - fix floating point test error in unusual hardware/OS combinations.
192 OTHER:
193 - improved implementation of "seen" counter
194 - improved documentation
195 - removed unused code
196
197 0.99_015 2018-06-14
198 NEW FEATURES:
199 - new ContentType filter to detect popular binaries in strings,
200 like images, videos and documents.
201 OTHER:
202 - code tidying
203 - greatly improved documentation
204 - test coverage increased
205 BUG FIXES:
206 - DateTime/Digest/DB filters now honor colorization from themes
207 - test fixes
208
209 0.99_014 2018-06-08
210 BUG FIXES:
211 - DateTime filter: fix Class::Date test on systems
212 that treat GMT as UTC.
213
214 0.99_013 2018-06-08
215 NEW FEATURES:
216 - dualvar lax mode accepts leading/trailing whitespace in numbers
217 - DB filter: improve display of replication lag
218 - DB filter: list unique constraints on DBIC
219 - DB filter: improved parsing of DBIC sources/resultsets/rows
220 BUG FIXES:
221 - filter listings in RC file now always an array ref
222 - DateTime filter: fix parsing of old Mojo::Date objects
223 - DB filter: test fixes
224 - Digest filter updated and re-added
225 OTHER:
226 - DB filter: improve documentation
227 - DB filter: increase test coverage
228 - Digest filter: show class name by default on parsing digests
229
230 0.99_012 2018-05-25
231 NEW FEATURES:
232 - show_dualvar now accepts 'strict', 'lax' and 'off'. Default is
233 'lax', ignoring decimal zeroes to the right (e.g. 1.00 and '1',
234 '1.10' and 1.1)
235 - multiline => 0 now also shortens the hash separator
236 OTHER:
237 - test improvements
238 - improved documentation
239
240 0.99_011 2018-05-24
241 BUG FIXES:
242 - proper color downgrade on terminals who only support 256 colors.
243 - fixed colorization tests
244 - fixed DB external filters
245
246 0.99_010 2018-05-21
247 BUG FIXES:
248 - extra debug info for failed colorization tests
249 - another fix for Panda::Date (Slaven Rezić)
250
251 0.99_009 2018-05-20
252 BUG FIXES:
253 - fix dualvar test on different locales (Slaven Rezić)
254 - fix Panda::Date test when en_US locale not present (Slaven Rezić)
255
256 0.99_008 2018-05-20
257 NEW FEATURES:
258 - show_dualvar (defaults to true) lets you know whenever both numeric
259 and string values of a variable are set to a different thing
260 (Philippe "BooK" Bruhat)
261 - maybe_colorize() accepts a 'default color' so filters can use it.
262 - extra_config() provies all non-core settings passed
263 to Data::Printer, so filters can use them.
264 - DateTime filter for Panda::Date (Sergey Aleynikov)
265 BUG FIXES:
266 - fixed DateTime external filters
267 - fix issue with dereferencing code refs (Håkon Hægland)
268 - fix 'pass' on globs, regexes and code references
269 (Håkon Hægland, Sergey Aleynikov)
270 OTHER:
271 - documentation improvements
272
273 0.99_007 2018-05-17
274 BUG FIXES:
275 - fix regex parsing in 5.10.1
276 - test fixes for 5.11
277
278 0.99_006 2018-05-17
279 BUG FIXES:
280 - fix longstanding issue of displaying weirdly-named objects
281 like 'HASH' or "0" (github issue #105) (bessarabov + dur-randir)
282 - fix test for UNIVERSAL::DOES
283 OTHER:
284 - documentation improvements
285 - remove undocumented and unsupported extra option in
286 external filters.
287
288 0.99_005 2018-05-13
289 BUG FIXES:
290 - fix regex filter on perl 5.8
291 - improve ISA detection in perl 5.8 without MRO::Compat
292
293 0.99_004 2018-05-12
294 BUG FIXES:
295 - fix tests on win32
296
297 0.99_003 2018-05-11
298 BUG FIXES:
299 - fix test plan issue on some versions of Test::More
300 - die from caller perspective on filter error
301 - drop support for Sort::Naturally::XS
302
303 0.99_002 2018-05-10
304 BUG FIXES:
305 - fix tests when bogus RC file is present
306 - fix colored tests on travis
307 - fix refcount test on perls <= 5.12
308 - reset internal state after parsing
309 - when scouting for methods, ensure GVs are named
310 - synced p() and np() code so they behave exactly the same
311 - fix use_prototypes => 0
312 - prevent "double plan" warninga on tests
313 OTHER:
314 - extra tests to increase code coverage
315 - improved error handling in themes
316 - function to convert old RC format to the new one
317 - improved README
318 - extra debug info on test failures
319 - cleanup on unreachable code
320
321 0.99_001 2018-04-21
322 BACKWARDS-INCOMPATIBLE CHANGE
323 - new format for the .dataprinterrc file
324 NEW FEATURES:
325 - Data::Printer::Object available for public usage!
326 (big thanks to frew && rjbs)
327 - use DDP; p $foo, as => 'this is a label';
328 Hopefully this helps people tag their debug code without having
329 to write caller_info => 1, caller_message => '...'
330 - theme => 'XXX' will try and load Data::Printer::Theme::XXX,
331 which you can create to share your colour scheme with the world!
332 - speaking of colours, you can now use up to 256 of them
333 (if your terminal supports them, of course)
334 - print only a slice of arrays and hashes with:
335 - array_max => 10 (default is 50, set it to 0 for unlimited)
336 - array_overflow => '(...skipping __SKIPPED__ items...)'
337 - array_preserve => 'begin'
338 if the array has more than array_max elements, preserve the first
339 array_max elements and replace the rest with '(...skipping XX items...)'.
340 Other available options are 'end', 'middle', 'extremes', and 'none'.
341 - hash_max / hash_overflow / hash_preserve (same! note however that
342 preserved keys will only be the same if hash keys are sorted)
343 Defaults to 50.
344 - ignore_keys to skip their dump (feature by Eugen Konkov)
345 - string_max/string_overflow/string_preserve to limit string entries (scalars),
346 just like arrays and hashes. Defaults to 1024 and 'begin'. Set it
347 to 0 for unlimited size.
348 - new 'separator', 'brackets' and 'overflow' colors to control
349 - unicode_charnames, when set to 1 (together with escape_chars)
350 will try and use the Unicode name when escaping strings.
351 So `$s = "\x{2603}"; p $s` will output "\N{SNOWMAN}"
352 - show_refcount => 1 exposes the reference count for the data structure
353 (and inner data) if the count is greater than 1. (default 0, showing no refcounts).
354 - show_memsize => 1 shows the (approximated) amount of memory the variable
355 occupies for all variables on that level. This means that '1' will show
356 the size of the entire data structure, while 2 will also show sizes of
357 inner data, 3 will go even deeper and so on. To get the size of everything,
358 use 'all' - though usually you'll probably want to just use '1'.
359 This requires Devel::Size, so the default is 0 for none.
360 - memsize_unit defined in which unit to show the memory usage. Can be
361 set to 'b'(ytes), 'k'(ilobytes), 'm'(egabytes) or 'auto' (the default).
362 - new property 'format_inheritance', defaults to "lines", a shiny and much
363 clearer new way to displays methods per inherited package. You may also
364 set it to 'string' to preserve the old behaviour.
365 - inheritance tree is considered when filtering objects unless you disable
366 it with 'parent_filters => 0' (Ovid)
367 - new option 'stringify' (default: 1) will return the stringified version
368 of the object, if one is available. It will try overloaded strings/numbers,
369 as_string() and stringify() calls, respectively. Note that this will efectivelly
370 ignore all other class details you may have chosen.
371 (Sergey Aleynikov, Benct Philip Jonsson)
372 - new option show_overloads (default: 1) will list all overloads
373 from the object's class.
374 - the standard class filter is now able to show internals in blessed subs
375 - support for faster natural sorting via Sort::Key::Natural
376 if the user has it installed (feature request by @grr on github)
377 BUG FIXES:
378 - fix array subelement alignment when index is shown (GARU)
379 - show UNIVERSAL in linear ISA if it's on (GARU)
380 - use "\n" instead of $/ as default line separator (Håkon Hægland && Chung-Kuan Tsai)
381 - less magic added to internal Perl representation of variables
382 (Jarrod Funnell, Sergey Aleynikov, Michael Conrad, Nicolas R.)
383 - show_methods is now independent from show_inherited, meaning you can
384 check all inherited methods and no local ones, or any combination thereof.
385 This is the expected behaviour from the documentation, but was not happening.
386
387 0.40 2017-08-01
388 BUG FIXES:
389 - fix tied hash test on blead perl (5.27.3)
390 https://rt.perl.org/Ticket/Display.html?id=131824
391 Thanks Jim Keenan, Dave Mitchell and Zefram for reporting
392 and debugging!
393
394 0.39 2016-04-15
395 BUG FIXES:
396 - display '-' as a string, not a number (Ivan Bessarabov)
397 - display "123\n" as a string, not a number (Ivan Bessarabov)
398 - fix test failures on newer perls (Sergey Aleynikov)
399 OTHER:
400 - document availability of np() on Data::Printer::Filter (Olaf Alders)
401
402 0.38 2016-01-28
403 BUG FIXES:
404 - removed Test::Most unlisted dependency
405 (thanks Marco Masetti for reporting)
406
407 0.37 2016-01-28
408 NEW FEATURES:
409 - Support for displaying scalar's unicode flag
410 (Michael Conrad)
411 BUG FIXES:
412 - Fixed test failure due to leaking environment variables
413 (Thomas Sibley)
414 - class_method only works if it's actually something we can call
415 (RenatoCRON)
416 - Attempt to fix a taint error on old Win32 systems
417 (Baldur Kristinsson)
418 - Prevent some 5.8 errors caused by the version module
419 (Baldur Kristinsson)
420 - Data::Printer::Filter should imports np() as well
421 (Olaf Alders)
422 - Multiline property is now properly propagated
423 (Adam Rosenstein)
424 OTHER:
425 - Removed some trailing whitespaces (Ivan Bessarabov)
426 - Extended tests for finding trailing whitespaces (Ivan Bessarabov)
427 - Documented caveat of using p() in variable declarations (vividsnow)
428 - Documented that the 'DB' filter supports DBIx::Class (Olaf Alders)
429 - New .gitignore file (David Lowe)
430 - Updated .travis.yml (Ivan Bessarabov)
431
432 0.36 2015-05-29
433 Bumping 0.35_01 to stable. Below is the (repeated) changelog,
434 with the single addition of the 'scalar_quotes' patch.
435
436 BACKWARDS-INCOMPATIBLE CHANGE
437 - p()'s return value now defaults to 'pass'. Please see
438 https://github.com/garu/Data-Printer/issues/16 for the
439 full discussion. THIS WILL BREAK CODE RELYING ON p() TO
440 RETURN A STRING. To fix your code, please set 'return_value'
441 to 'dump' explicitly, or use the experimental np() function.
442
443 NEW HIGHLY EXPERIMENTAL FEATURE:
444 - np(), a version of p() that always returns the string instead
445 of printing it.
446
447 NEW FEATURES:
448 - Add 'escape_chars' to allow \x{...} printing for chars
449 (patch by Mark Fowler)
450 - 'scalar_quotes' let you specify the quote to use when,
451 well, quoting (Ivan Bessarabov)
452 - Class::Date support in the DateTime filter (Ivan Bessarabov)
453
454 BUG FIXES:
455 - fixed crash in esoteric classes (github issue #41, thanks
456 Ivan Bessarabov for reporting)
457 - removed support for Digest::Haval256, as it can't really be
458 observed without damaging the original data. If future versions
459 provide a clone() function, it can be added again.
460 - Being extra loud when rc files fail to load (RT#89203, thanks
461 Caleb Cushing for reporting).
462 - Prevents PERL5OPT from interfering with deparse tests (github
463 issue #55, thanks David Precious for reporting)
464
465 OTHER:
466 - more tests
467 - new external filter indexed: PDL
468
469 0.35_01 2014-12-22
470 BACKWARDS-INCOMPATIBLE CHANGE
471 - p()'s return value now defaults to 'pass'. Please see
472 https://github.com/garu/Data-Printer/issues/16 for the
473 full discussion. THIS WILL BREAK CODE RELYING ON p() TO
474 RETURN A STRING. To fix your code, please set 'return_value'
475 to 'dump' explicitly, or use the experimental np() function.
476
477 NEW HIGHLY EXPERIMENTAL FEATURE:
478 - np(), a version of p() that always returns the string instead
479 of printing it.
480
481 NEW FEATURES:
482 - Add 'escape_chars' to allow \x{...} printing for chars
483 (patch by Mark Fowler)
484 - Class::Date support in the DateTime filter (Ivan Bessarabov)
485
486 BUG FIXES:
487 - fixed crash in esoteric classes (github issue #41, thanks
488 Ivan Bessarabov for reporting)
489 - removed support for Digest::Haval256, as it can't really be
490 observed without damaging the original data. If future versions
491 provide a clone() function, it can be added again.
492 - Being extra loud when rc files fail to load (RT#89203, thanks
493 Caleb Cushing for reporting).
494 - Prevents PERL5OPT from interfering with deparse tests (github
495 issue #55, thanks David Precious for reporting)
496
497 OTHER:
498 - more tests
499 - new external filter indexed: PDL
500
501 0.35 2012-11-25
502 BUG FIXES:
503 - fixed escaped chars colorization issue in bleadperl
504 (thanks Andreas Koenig for reporting!)
505 OTHER:
506 - more tests added
507
508 0.34 2012-11-11
509 NEW FEATURES:
510 - improved display of DBIC ResultSets
511 - 'Digest' filter now works on any Digest::base modules [RT#80039]
512 - enclosing quotes on strings are displayed using a different colour
513 (patch by Ivan Bessarabov)
514
515 OTHER:
516 - new tip by dirk: creating fiddling filters
517 - updated documentation including external filters
518 (JSON, ClassicRegex, URI)
519
520 0.33 2012-08-20
521 BUG FIXES:
522 - fixed warning in external filters for some
523 perl versions (thanks Stanislaw Pusep for reporting).
524 - prevented repeated tie display
525
526 OTHER:
527 - removed deprecated escape_chars, as promised in version 0.30.
528
529 0.32 2012-08-11
530 BUG FIXES:
531 - fixed (other) test failures in 5.8
532 - pod fix in DDP.pm (nuno carvalho)
533
534 NEW HIGHLY EXPERIMENTAL FEATURE:
535 - extra options for external filters. Right now
536 the only available one is 'show_repeated', to
537 let filters override Data::Printer's behaviour
538 of not showing duplicate variables.
539
540
541 0.31 2012-08-09
542 BUG FIXES:
543 - fixed test failures in 5.8
544
545 OTHER:
546 - releasing as stable version
547
548 0.30_06 2012-07-22
549 NEW FEATURES:
550 - new filter for DateTime::Tiny
551
552 OTHER:
553 - new tip: using DDP with Template Toolkit
554
555 0.30_05 2012-07-21
556 NEW FEATURES:
557 - Add support for FORMAT and LVALUE refs (Rebecca Turner)
558
559 BUG FIXES:
560 - prevent warning when dumping refs to unopened or closed
561 file handles (Rebecca Turner)
562 - on Win32, it is allowed to use an RC file without
563 read-only permissions
564
565 0.30_04 2012-07-08
566 NEW FEATURES:
567 - Improved support for unknown core datatypes (Rebecca Turner)
568
569 BUG FIXES:
570 - fixed indentation when using colored output (Stanislaw Pusep)
571 - fixed t/05-obj.t on older perls (Mike Doherty)
572 - fixed dev-only pod tests
573 - Issue warning (carp) when color/colour is not a hashref
574
575 0.30_03 2012-07-05
576 NEW FEATURES:
577 - new class property 'universal', letting you choose whether
578 to include UNIVERSAL methods during inheritance display
579 or not (default is 1, meaning to show).
580 - support for VSTRINGs (Rebecca Turner)
581
582 NEW ***EXPERIMENTAL*** FEATURES:
583 - new 'show_readonly' property, off by default, to show
584 variables marked as read-only
585 (scalars only for now, patches welcome!)
586
587 BUG FIXES:
588 - fixed issue with t/05-obj.t
589 - minor pod fixes (Rebecca Turner, myself)
590 - Protect against unknown core data types that don't implement "can" (Rebecca Turner)
591
592 0.30_02 2012-07-02
593 BUG FIXES:
594 - RC file under taint mode should be properly parsed now.
595
596 OTHER:
597 - Rob Hoeltz and Stephen Thirlwall added to the
598 contributors list. Thanks guys!
599
600 0.30_01 2012-07-02
601 CHANGES THAT BREAK BACKWARDS COMPATIBILITY:
602 - linear_isa option is now set to 'auto' by default (see below)
603
604 NEW FEATURES:
605 - linear_isa can now be set to 'auto', in which case
606 it will show the @ISA only if the object has more than
607 one parent. Other values are 0 (never show) and 1 (always show)
608 - new "Digest" filter bundle, for MD5, SHA and other Digest objects!
609 - separate colours for classes and methods (feature request
610 by Ivan Bessarabov)
611 - environment variable DATAPRINTERRC overrides .dataprinter
612 and lets you pick different RCs at will (Stephen Thirlwall)
613 - new option 'separator' lets you pick a custom separator
614 for array/hash elements, including none (''). Default is ','.
615 - new option 'end_separator' can be set to 1 to show the last
616 item of an array or hash with a separator (Ivan Bessarabov)
617 - DateTime filter bundle now also handles DateTime::TimeZone
618 objects (RT#77755)
619
620 BUG FIXES:
621 - RC file now works under taint mode, with restrictions
622 (feature request by Rob Hoelz)
623 - class_method call now includes properties hashref (Joel Berger)
624
625 OTHER:
626 - Replacement of dependencies to permit pure perl operation:
627 Class::MOP is replaced with mro and Package::Stash
628 Clone is replaced with Clone::PP
629 Hash::FieldHash is replaced with Hash::Util::FieldHash
630 Note that if <5.10 is detected, Data::Printer also requires:
631 MRO::Compat to provide mro
632 Hash::Util::FieldHash::Compat to provide Hash::Util::FieldHash
633 As a result, Data::Printer should now be fatpackable (cpan:MSTROUT)
634 - new /examples dir, with a sample file to let you easily try
635 different color schemes (Yanick Champoux)
636 - pod coverage tests (developer only)
637
638 0.30 2012-02-13
639 CHANGES THAT BREAK BACKWARDS COMPATIBILITY:
640 - 'escape_chars' was renamed 'print_escapes' to
641 avoid ambiguity. The old name will work until
642 v0.32, but will trigger a warning so you can
643 update your code. Sorry for the inconvenience,
644 the previous name was hard to figure out because
645 'escape' could be interpreted as a noun or as
646 an adjective (perigrin++ for suggesting the new
647 name).
648
649 NEW FEATURES:
650 - in hashes, surround key names with quotes if they
651 contain spaces (feature request by Maxim Vuets)
652 - escape_chars also works for hash keys now.
653 - new 'quote_keys' property to add quotes in hash
654 keys. Defaults to 'auto' which means it will
655 quote keys containing spaces (and empty keys)
656
657 BUG FIXES:
658 - fixed temporary file handling during tests. Thanks
659 Andy Bach for reporting and providing a patch.
660
661 OTHER:
662 - added documentation for the new 'rc_file' feature
663 introduced in the previous version.
664
665 0.29 2012-01-25
666 NEW FEATURES:
667 - custom rc file names via the new 'rc_file' property
668 (many thanks to Maxim Vuets for the idea and the
669 original implementation)
670
671 BUG FIXES:
672 - fixed unescaped null character during colored output
673 (reported by bowtie++)
674
675
676 0.28 2012-01-23
677 NEW FEATURES:
678 - new 'escape_chars' property to show '\t', '\n'
679 escaped (default is 1, meaning escape, which
680 will render the actual character instead). Note that
681 the '\0' special character is never escaped.
682 - new 'escaped' colour, defaults to bright red.
683
684 OTHER:
685 - fixed Changes file for compliance against latest
686 CPAN::Changes specification
687
688 0.27 2012-01-22
689 BUG FIXES:
690 - properly escape nulls in strings (oylenshpeegul)
691
692 NEW FEATURES:
693 - control the output target with the 'output' property.
694 It can be set to 'stdout', 'stderr', a file name,
695 a file handle or even a scalar reference! Default, as
696 usual, is 'stderr'
697
698 OTHER:
699 - added tests for auto-coloring (DOY)
700 - updated link to Any::Renderer::Data::Printer (Allan Whiteford)
701
702 0.26 2011-11-23
703 BUG FIXES:
704 - colored => 'auto' properly detects terminals again
705
706 0.25 2011-11-20
707 BUG FIXES:
708 - Increased version requirement for Test::Pod to 1.41 (Fitz Elliott)
709 - Updated tests to handle newer Class::MOP installations (J Mash)
710
711 OTHER:
712 - POD tests enabled only for developers
713 - Updated Class::MOP version requirement to 0.81 since
714 ActiveState was complaining about ancient versions.
715
716 0.24 2011-10-23
717 NEW FEATURES:
718 - link to the external URI filter (by SYP)
719 - display object's reference type (Denis Howe)
720
721 OTHER:
722 - only load Class::MOP when inspecting objects.
723
724 0.23 2011-08-30
725 NEW FEATURES:
726 - control the return value with the 'return_value'
727 property. This can be set to 'void', 'dump', and
728 'pass' (for pass-through). Default is 'dump',
729 which behaves exactly like previous versions. Note
730 that, as usual, the 'dump' mode will only print
731 the dump if called in void context. Otherwise, it
732 will only return it. (MST, GARU)
733
734 OTHER:
735 - more extra tips (HANEKOMU, RANDIR, MST)
736 - updated documentation
737
738 0.22 2011-07-19
739 NEW FEATURES:
740 - display taint information via the 'show_tainted'
741 display customization (default true)
742 - control weak information display via 'show_weak'
743 customization (default true)
744 OTHER:
745 - major documentation overhaul and update
746 - more extra tips (MST, HANEKOMU)
747
748 0.21 2011-07-01
749 BUG FIXES:
750 - removed legacy dependency on Object::ID
751 - increased Term::ANSIColor version (David Raab)
752 - switched to EU:MM to make people happy :)
753 (seriously though, M:I was being too clever
754 while resolving dependencies)
755 OTHER:
756 - adding bugtracker meta information
757
758 0.20 2011-06-23
759 CHANGES THAT BREAK BACKWARDS COMPATIBILITY:
760 - respect ANSI_COLORS_DISABLED if colored => 'auto',
761 but force color codes if colored => 1.
762 - colored => 'auto' prints colored output only
763 in void mode, not when returning a string. In other
764 words, doing p($var) will show colors, but
765 my $out = p($var) will not (unless you force it
766 via colored => 1). This behavior differs from
767 previous versions, but is more consistent and
768 we consider the previous way to have been a bug.
769
770 Many thanks to SZABGAB, CSJEWELL and specially RANDIR
771 for detecting, analyzing and helping to come up with
772 a solution, initially addressed as a Microsoft Windows
773 issue (RT#68630).
774
775 OTHER:
776 - reduced some dependencies to make installation even easier.
777
778 0.19 2011-06-08
779 NEW FEATURES:
780 - toggle 'parents' class display, activated by default (RANDIR)
781 - toggle 'show_methods' class display, activated by default (RANDIR, GARU)
782 - toggle 'linear_isa' class display, activated by default
783
784 BUG FIXES:
785 - specific class filters now fallback to generic -class
786 filters when used (RANDIR)
787 - show flags from handles even when not all flags are
788 implemented on the target system (DOHERTY, GARU)
789
790 0.18 2011-06-07
791 NEW FEATURES:
792 - toggle timezone display on DateTime filters (Elliot Shank)
793 - showing weak references (RANDIR)
794 - more concise output for empty structures (RANDIR)
795
796 OTHER:
797 - extra tip on unified dumping interfaces (cat|grep)
798 - extra tip on using Data::Printer with Devel::REPL
799
800 0.17 2011-06-06
801 NEW FEATURES:
802 - filter fallback also for Perl types (RANDIR, GARU)
803 - no need to pass arrayref in -external filters
804 if you only have one.
805 - new "use_prototypes" option, defaults to 1. Set to 0
806 to stop using prototypes in p(), which will let you
807 do p( { foo => "bar" } ); but you'll have to pass
808 the data to be printed as a reference.
809
810 BUG FIXES:
811 - corrected filter order (should be LIFO, not FIFO)
812 - fixed edge-case behavior of p() within standalone filters
813 - make sure filter output is defined, not just true (RANDIR)
814 - fixed filter tests for Date::Calc & Date::Pcalc (SUGYAN, GARU)
815
816 OTHER:
817 - more tests
818 - big internal refactoring
819 - extra tips on circumveinting prototypes (DAMS, GARU)
820 - extra tips on loading p() across all loaded modules (Árpád Szász)
821
822 0.16 2011-05-31
823 BUG FIXES:
824 - patch to make it work on 5.8.8 again (RANDIR)
825
826 0.15 2011-05-30
827 OTHERS:
828 - updating filters docs
829 - adding default color for DateTime filter
830
831 0.14 2011-05-30
832 NEW FEATURES:
833 - allowing 'colored' display customization to control colored
834 output. Default is 'auto', showing colors only when
835 output is not being piped. You may also set this to 0 to
836 disable colors completely, or 1 to enable output coloring
837 all the time (even when piped).
838 - new 'caller_info' display customization.
839 - default 'class_method' is now set to '_data_printer', so your
840 modules and apps can be aware of Data::Printer automatically.
841
842 BUG FIXES:
843 - Skipping calls to fcntl() in systems that don't support it.
844
845 0.13 2011-05-24
846 CHANGES THAT ***BREAK*** BACKWARDS COMPATIBILITY:
847 - 'external' is now called '-external' to avoid name clash
848 with a potential "external.pm" class;
849 - filters for the same type/class are now stacked and called
850 in order. The first one that returns a defined value (string)
851 is used, otherwise it will forward the call to the next filter.
852 In earlier versions, the last declared filter would be the one
853 used. Note that this feature is only available for stand-alone
854 filters, since inline filters are actually a hash.
855
856 NEW FEATURES:
857 - use a specific dump method via the 'class_method' display
858 customization (default undef)
859 - display tie information via the 'show_tied' display
860 customization (default true)
861 - display extra information (mode, flags, layers) on I/O handles
862 - new '-class' type (note the dash) called when we find a
863 non-native type (i.e. an object). If you return anything at
864 all - even an empty string - the filter will succeed. Otherwise
865 it will forward the call to the next '-class' filter, in order.
866 - new DDP package alias
867
868
869 OTHERS:
870 - improved test suite
871 - improved documentation
872
873 0.12 2011-05-03
874 BUG FIXES:
875 - fixed failing filter test due to timezone/epoch issues
876
877 0.11 2011-05-03
878 NEW FEATURES:
879 - allowing 'sort_keys' display customization (default true)
880 - allowing 'sort_methods' class display customization (default true)
881 - now you can add options to Data::Printer as a plain hash, not
882 just as a hash ref (feature request by edenc)
883
884 NEW ***EXPERIMENTAL*** FEATURES:
885 - Data::Printer::Filter, enabling separate filter classes
886 - filter for modules handling date and time (DateTime & friends)
887 - filter for database modules (DBI only for now)
888
889 OTHERS:
890 - more tests
891 - improved documentation, including how to turn output to HTML
892 - some internal refactorings
893
894 0.10 2011-04-18
895 NEW FEATURES:
896 - allowing toggle for array indices
897 - allowing 'multiline' display customization
898 - allowing 'deparse' display customization
899 - allowing 'max_depth' display customization
900 - allowing 'inherited' class display customization
901 - allowing 'expand' class display customization, defaults
902 to 1 (expand only the object itself)
903
904 OTHERS:
905 - removed ending comma from arrays and hashes
906 - showing parents/ISA information only when it's there
907 - default separator for key/values reduced to 3 spaces for
908 improved readability.
909 - improved test suite
910
911 0.09 2011-04-13
912 NEW FEATURES:
913 - allowing for 'internals' display customization
914
915 BUG FIXES:
916 - improving test suite
917 - improving documentation
918
919 0.08 2011-04-11
920 BUG FIXES:
921 - improving test suite (was still failing on NetBSD)
922 - Improved handling of extended regexps (thanks Getty for reporting)
923
924 0.07 2011-04-02
925 BUG FIXES:
926 - Making sure File::HomeDir is 0.91 or higher
927 - Making tests stricter, since they were failing on Win32
928
929 0.06 2011-03-31
930 BUG FIXES:
931 - if you want to call p() from within a filter, the
932 argument to p() must be passed as a *reference*. This
933 is now enforced to avoid users shooting themselves in the foot.
934 - more tests added
935
936 0.05 2011-03-23
937 NEW FEATURES:
938 - local configuration file support ($HOME/.dataprinter)
939 - you can now alias p() to whatever name you like
940
941 0.04 2011-02-21
942 NEW FEATURE (or BUGFIX depending on how you look at it):
943 - supporting the new (5.13.6) perl regex modifiers syntax
944
945 0.03 2011-02-14
946 BUG FIXES:
947 - reseting colors before starting
948
949 0.02 2011-02-13
950
951 CHANGES THAT BREAK BACKWARDS COMPATIBILITY:
952 - d() function removed. You can now call p($var) in void context to print,
953 or as "my $output = p($var)" to retrieve results without printing.
954
955 NEW FEATURES:
956 - new import syntax, use Data::Printer { option => value }
957 - new "filters" property available to filter certain types.
958 - updated documentation.
959
960 NEW ***EXPERIMENTAL*** FEATURES
961 - local properties setting, p($var, key => value).
962
963 BUG FIXES:
964 - properly handles GLOB references
965 - colors now work on Win32 as well.
966 - uncolors piped output, for "less" & friends (thanks Getty for reporting).
967 - added all possible regex modifiers to the regex output.
968 - more tests added.
969
970
971 0.01 2011-01-20
972 - First version, released on an unsuspecting world.
973