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 1
1
Revision history for Perl module YAML::PP
2
2
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
+
3
10
v0.38.0 2024-01-30 00:22:42+01:00
4
11
5
12
- 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 .
2
2
use strict;
3
3
use warnings;
4
4
@@ -53,7 +53,7 @@ my %WriteMakefileArgs = (
53
53
" Test::Warn" => 0,
54
54
" lib" => 0
55
55
},
56
- " VERSION" => " v0.38.0 " ,
56
+ " VERSION" => " v0.38.1 " ,
57
57
" test" => {
58
58
" TESTS" => " t/*.t"
59
59
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ license = Perl_5
4
4
copyright_holder = Tina Müller
5
5
copyright_year = 2024
6
6
7
- version = v0.38.0
7
+ version = v0.38.1
8
8
9
9
[@Filter]
10
10
-bundle = @Basic
Original file line number Diff line number Diff line change @@ -1029,18 +1029,26 @@ Serializing Perl objects and types
1029
1029
1030
1030
Serializing binary data
1031
1031
1032
- =item L<YAML::PP::Schema::Tie::IxHash>
1033
-
1034
- Deprecated. See option C<preserve >
1035
-
1036
1032
=item L<YAML::PP::Schema::Merge>
1037
1033
1038
1034
YAML 1.1 merge keys for mappings
1039
1035
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
+
1040
1044
=item L<YAML::PP::Schema::Include>
1041
1045
1042
1046
Include other YAML files via C<!include > tags
1043
1047
1048
+ =item L<YAML::PP::Schema::Tie::IxHash>
1049
+
1050
+ Deprecated. See option C<preserve >
1051
+
1044
1052
=back
1045
1053
1046
1054
To 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;
6
6
7
7
use Test::More;
8
8
9
- plan tests => 33 + ($ENV {AUTHOR_TESTING } ? 1 : 0);
9
+ plan tests => 34 + ($ENV {AUTHOR_TESTING } ? 1 : 0);
10
10
11
11
my @module_files = (
12
12
' YAML/PP.pm' ,
@@ -26,6 +26,7 @@ my @module_files = (
26
26
' YAML/PP/Representer.pm' ,
27
27
' YAML/PP/Schema.pm' ,
28
28
' YAML/PP/Schema/Binary.pm' ,
29
+ ' YAML/PP/Schema/Catchall.pm' ,
29
30
' YAML/PP/Schema/Core.pm' ,
30
31
' YAML/PP/Schema/Failsafe.pm' ,
31
32
' YAML/PP/Schema/Include.pm' ,
You can’t perform that action at this time.
0 commit comments