Skip to content

Commit

Permalink
v0.025
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Sep 6, 2020
1 parent 931e752 commit 006d03c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Revision history for Perl module YAML::PP

0.025 2020-09-06 22:14:07+02:00

- Emitter: Fix indentation issues for non-default indents
- Emitter: Add option 'width' for maximum columns
- Improve error message for unhandled reftypes

0.024 2020-08-17 12:07:01+02:00

- Parser: fix flow mappings on one line
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.024",
"VERSION" => "0.025",
"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.024
version = 0.025

[@Filter]
-bundle = @Basic
Expand Down
12 changes: 12 additions & 0 deletions lib/YAML/PP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,18 @@ Default: 2
Use that many spaces for indenting
=item width
Since version 0.025
Default: 80
Maximum columns when dumping.
This is only respected when dumping flow collections right now.
in the future it will be used also for wrapping long strings.
=item header
Default: 1
Expand Down
3 changes: 3 additions & 0 deletions lib/YAML/PP/Schema/Merge.pm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ Note that if you enable this schema, a plain scalar `<<` will be seen as
special anywhere in your document, so if you want a literal `<<`, you have
to put it in quotes.
Note that the performed merge is not a "deep merge". Only top-level keys are
merged.
=head1 METHODS
=over
Expand Down

0 comments on commit 006d03c

Please sign in to comment.