Skip to content

Commit

Permalink
v0.024
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Aug 17, 2020
1 parent 0f66cd7 commit 5b18757
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 21 deletions.
24 changes: 8 additions & 16 deletions Changes
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ my %WriteMakefileArgs = (
"Test::Warn" => 0,
"lib" => 0
},
"VERSION" => "0.023_003",
"VERSION" => "0.024",
"test" => {
"TESTS" => "t/*.t"
}
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 9 additions & 3 deletions lib/YAML/PP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ Some utility scripts, mostly useful for debugging:
YAML::PP is a modular YAML processor.
It aims to support C<YAML 1.2> and C<YAML 1.1>. See L<http://yaml.org/>.
It aims to support C<YAML 1.2> and C<YAML 1.1>. See L<https://yaml.org/>.
Some (rare) syntax elements are not yet supported and documented below.
YAML is a serialization language. The YAML input is called "YAML Stream".
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -730,6 +730,8 @@ L<YAML::PP::Writer> 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.
Expand All @@ -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
Expand Down Expand Up @@ -1211,7 +1215,7 @@ and created a matrix view.
L<https://github.com/perlpunk/yaml-test-matrix>
You can find the latest build at L<http://matrix.yaml.io>
You can find the latest build at L<https://matrix.yaml.io>
As of this writing, the test matrix only contains valid test cases.
Invalid ones will be added.
Expand Down Expand Up @@ -1248,6 +1252,8 @@ Felix answered countless questions about the YAML Specification.
=item L<YAML::LibYAML::API>
=item L<https://www.yaml.info>
=back
=head1 SPONSORS
Expand Down

0 comments on commit 5b18757

Please # to comment.