From 5b18757c9e94de8228d4d963ccb6de460ecd3a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Mon, 17 Aug 2020 12:09:22 +0200 Subject: [PATCH] v0.024 --- Changes | 24 ++++++++---------------- Makefile.PL | 2 +- dist.ini | 2 +- lib/YAML/PP.pm | 12 +++++++++--- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/Changes b/Changes index 311e5ecd..49b6ed95 100644 --- a/Changes +++ b/Changes @@ -1,24 +1,16 @@ Revision history for Perl module YAML::PP -0.023_003 2020-08-16 15:58:07+02:00 - - - Minor fixes for preserved nodes - - Minor fixes for the Perl schema and globs - - Update testsuite to data-2020-08-01 - -0.023_002 2020-08-15 18:23:07+02:00 +0.024 2020-08-17 12:07:01+02:00 + - Parser: fix flow mappings on one line + - Improve utility tools yamlpp-load(-dump) (add new options --merge, + --perl and --module) #35 + - Minor improvements to emitter scalar style output + - Emitter supports flow style - Support for preserving flow style in Loader/Dumper - Create preserved nodes from scratch with preserved_* methods - - Add option --perl to yamlpp-load(-dump) - -0.023_001 2020-08-10 20:44:05+02:00 - - - Improve utility tools yamlpp-load(-dump) (add new options --merge - and --module) #35 - - Emitter supports flow style now (not yet configurable in Dumper) - - Minor improvements to emitter scalar style output - - Parser: fix flow mappings on one line + - Minor fixes for the Perl schema and globs + - Update testsuite to data-2020-08-01 0.023 2020-07-09 22:09:50+02:00 diff --git a/Makefile.PL b/Makefile.PL index 99a9c003..9e908724 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -54,7 +54,7 @@ my %WriteMakefileArgs = ( "Test::Warn" => 0, "lib" => 0 }, - "VERSION" => "0.023_003", + "VERSION" => "0.024", "test" => { "TESTS" => "t/*.t" } diff --git a/dist.ini b/dist.ini index 9f63b8cf..ef713259 100644 --- a/dist.ini +++ b/dist.ini @@ -4,7 +4,7 @@ license = Perl_5 copyright_holder = Tina Müller copyright_year = 2020 -version = 0.023_003 +version = 0.024 [@Filter] -bundle = @Basic diff --git a/lib/YAML/PP.pm b/lib/YAML/PP.pm index 07387a6d..80817b4c 100644 --- a/lib/YAML/PP.pm +++ b/lib/YAML/PP.pm @@ -449,7 +449,7 @@ Some utility scripts, mostly useful for debugging: YAML::PP is a modular YAML processor. -It aims to support C and C. See L. +It aims to support C and C. See L. Some (rare) syntax elements are not yet supported and documented below. YAML is a serialization language. The YAML input is called "YAML Stream". @@ -622,7 +622,7 @@ Preserving scalar styles is still experimental. # Preserve the quoting style of scalars my $yp = YAML::PP->new( preserve => PRESERVE_SCALAR_STYLE ); - # Preserve block/flow style + # Preserve block/flow style (since 0.024) my $yp = YAML::PP->new( preserve => PRESERVE_FLOW_STYLE ); # Combine, e.g. preserve order and scalar style @@ -730,6 +730,8 @@ L and output a string. =head2 preserved_scalar +Since version 0.024 + Experimental. Please report bugs or let me know this is useful and works. You can define a certain scalar style when dumping data. @@ -754,6 +756,8 @@ it right for all cases. It's also a matter of taste. =head2 preserved_mapping, preserved_sequence +Since version 0.024 + Experimental. Please report bugs or let me know this is useful and works. With this you can define which nodes are dumped with the more compact flow @@ -1211,7 +1215,7 @@ and created a matrix view. L -You can find the latest build at L +You can find the latest build at L As of this writing, the test matrix only contains valid test cases. Invalid ones will be added. @@ -1248,6 +1252,8 @@ Felix answered countless questions about the YAML Specification. =item L +=item L + =back =head1 SPONSORS