Data-Printer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    BUG FIXES:
        - proper color downgrade on terminals who only support 256 colors.
        - fixed colorization tests
        - fixed DB external filters

0.99_010 2018-05-21
    BUG FIXES:
        - extra debug info for failed colorization tests
        - another fix for Panda::Date (Slaven Rezić)

0.99_009 2018-05-20
    BUG FIXES:
        - fix dualvar test on different locales (Slaven Rezić)
        - fix Panda::Date test when en_US locale not present (Slaven Rezić)

0.99_008 2018-05-20
    NEW FEATURES:
        - show_dualvar (defaults to true) lets you know whenever both numeric
          and string values of a variable are set to a different thing
          (Philippe "BooK" Bruhat)
        - maybe_colorize() accepts a 'default color' so filters can use it.
        - extra_config() provies all non-core settings passed
          to Data::Printer, so filters can use them.
        - DateTime filter for Panda::Date (Sergey Aleynikov)
    BUG FIXES:
        - fixed DateTime external filters
        - fix issue with dereferencing code refs (Håkon Hægland)
        - fix 'pass' on globs, regexes and code references
          (Håkon Hægland, Sergey Aleynikov)
    OTHER:
        - documentation improvements

0.99_007 2018-05-17
    BUG FIXES:
        - fix regex parsing in 5.10.1
        - test fixes for 5.11

0.99_006 2018-05-17
    BUG FIXES:
        - fix longstanding issue of displaying weirdly-named objects
          like 'HASH' or "0" (github issue #105) (bessarabov + dur-randir)
        - fix test for UNIVERSAL::DOES
    OTHER:
        - documentation improvements
        - remove undocumented and unsupported extra option in
          external filters.

0.99_005 2018-05-13
    BUG FIXES:
        - fix regex filter on perl 5.8
        - improve ISA detection in perl 5.8 without MRO::Compat

0.99_004 2018-05-12
    BUG FIXES:
        - fix tests on win32

0.99_003 2018-05-11
    BUG FIXES:
        - fix test plan issue on some versions of Test::More
        - die from caller perspective on filter error
        - drop support for Sort::Naturally::XS

0.99_002 2018-05-10
    BUG FIXES:
        - fix tests when bogus RC file is present
        - fix colored tests on travis
        - fix refcount test on perls <= 5.12
        - reset internal state after parsing
        - when scouting for methods, ensure GVs are named
        - synced p() and np() code so they behave exactly the same
        - fix use_prototypes => 0
        - prevent "double plan" warninga on tests
    OTHER:
        - extra tests to increase code coverage
        - improved error handling in themes
        - function to convert old RC format to the new one
        - improved README
        - extra debug info on test failures
        - cleanup on unreachable code

0.99_001 2018-04-21
    BACKWARDS-INCOMPATIBLE CHANGE
        - new format for the .dataprinterrc file
    NEW FEATURES:
        - Data::Printer::Object available for public usage!
          (big thanks to frew && rjbs)
        - use DDP; p $foo, as => 'this is a label';
          Hopefully this helps people tag their debug code without having
          to write caller_info => 1, caller_message => '...'
        - theme => 'XXX' will try and load Data::Printer::Theme::XXX,
          which you can create to share your colour scheme with the world!
        - speaking of colours, you can now use up to 256 of them
          (if your terminal supports them, of course)
        - print only a slice of arrays and hashes with:
           - array_max => 10 (default is 50, set it to 0 for unlimited)
           - array_overflow => '(...skipping __SKIPPED__ items...)'
           - array_preserve => 'begin'
             if the array has more than array_max elements, preserve the first
             array_max elements and replace the rest with '(...skipping XX items...)'.
             Other available options are 'end', 'middle', 'extremes', and 'none'.
           - hash_max / hash_overflow / hash_preserve (same! note however that
             preserved keys will only be the same if hash keys are sorted)
             Defaults to 50.
        - ignore_keys to skip their dump (feature by Eugen Konkov)
        - string_max/string_overflow/string_preserve to limit string entries (scalars),
          just like arrays and hashes. Defaults to 1024 and 'begin'. Set it
          to 0 for unlimited size.
        - new 'separator', 'brackets' and 'overflow' colors to control
        - unicode_charnames, when set to 1 (together with escape_chars)
          will try and use the Unicode name when escaping strings.
          So `$s = "\x{2603}"; p $s` will output "\N{SNOWMAN}"
        - show_refcount => 1 exposes the reference count for the data structure
          (and inner data) if the count is greater than 1. (default 0, showing no refcounts).
        - show_memsize => 1 shows the (approximated) amount of memory the variable
          occupies for all variables on that level. This means that '1' will show
          the size of the entire data structure, while 2 will also show sizes of
          inner data, 3 will go even deeper and so on. To get the size of everything,
          use 'all' - though usually you'll probably want to just use '1'.
          This requires Devel::Size, so the default is 0 for none.
        - memsize_unit defined in which unit to show the memory usage. Can be
          set to 'b'(ytes), 'k'(ilobytes), 'm'(egabytes) or 'auto' (the default).



( run in 0.434 second using v1.01-cache-2.11-cpan-56fb94df46f )