File tree Expand file tree Collapse file tree 5 files changed +24
-8
lines changed Expand file tree Collapse file tree 5 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 11Revision history for Perl module YAML::PP
22
3+ v0.38.1 2025-01-25 00:30:13+01:00
4+
5+ - Add --duplicate-keys commandline flag
6+ - Forbid unknown tags by default
7+ - Add a 'Catchall' schema to allow unknen tags
8+ - Add a --catchall commandline flag
9+
310v0.38.0 2024-01-30 00:22:42+01:00
411
512 - Add support for builtin booleans by default
Original file line number Diff line number Diff line change 1- # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030 .
1+ # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.032 .
22use strict;
33use warnings;
44
@@ -53,7 +53,7 @@ my %WriteMakefileArgs = (
5353 " Test::Warn" => 0,
5454 " lib" => 0
5555 },
56- " VERSION" => " v0.38.0 " ,
56+ " VERSION" => " v0.38.1 " ,
5757 " test" => {
5858 " TESTS" => " t/*.t"
5959 }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ license = Perl_5
44copyright_holder = Tina Müller
55copyright_year = 2024
66
7- version = v0.38.0
7+ version = v0.38.1
88
99[@Filter]
1010-bundle = @Basic
Original file line number Diff line number Diff line change @@ -1029,18 +1029,26 @@ Serializing Perl objects and types
10291029
10301030Serializing binary data
10311031
1032- =item L<YAML::PP::Schema::Tie::IxHash>
1033-
1034- Deprecated. See option C<preserve >
1035-
10361032=item L<YAML::PP::Schema::Merge>
10371033
10381034YAML 1.1 merge keys for mappings
10391035
1036+ =item L<YAML::PP::Schema::Catchall>
1037+
1038+ Adding this allows (and ignores) all unknown tags, like
1039+
1040+ key: !something value
1041+
1042+ By default they will result in an error.
1043+
10401044=item L<YAML::PP::Schema::Include>
10411045
10421046Include other YAML files via C<!include > tags
10431047
1048+ =item L<YAML::PP::Schema::Tie::IxHash>
1049+
1050+ Deprecated. See option C<preserve >
1051+
10441052=back
10451053
10461054To make the parsing process faster, you can plugin the libyaml parser
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use warnings;
66
77use Test::More;
88
9- plan tests => 33 + ($ENV {AUTHOR_TESTING } ? 1 : 0);
9+ plan tests => 34 + ($ENV {AUTHOR_TESTING } ? 1 : 0);
1010
1111my @module_files = (
1212 ' YAML/PP.pm' ,
@@ -26,6 +26,7 @@ my @module_files = (
2626 ' YAML/PP/Representer.pm' ,
2727 ' YAML/PP/Schema.pm' ,
2828 ' YAML/PP/Schema/Binary.pm' ,
29+ ' YAML/PP/Schema/Catchall.pm' ,
2930 ' YAML/PP/Schema/Core.pm' ,
3031 ' YAML/PP/Schema/Failsafe.pm' ,
3132 ' YAML/PP/Schema/Include.pm' ,
You can’t perform that action at this time.
0 commit comments