diff --git a/Changes b/Changes index a3914c19..3eb33f8a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl module YAML::PP +0.033 2022-06-27 16:31:32+02:00 + + - Fix add_mapping_resolver + on_create (tie existing data) + 0.032 2022-03-08 19:02:00+01:00 - Add missing '~' to allowed chars in tags diff --git a/Makefile.PL b/Makefile.PL index e002d972..bef07910 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -54,7 +54,7 @@ my %WriteMakefileArgs = ( "Test::Warn" => 0, "lib" => 0 }, - "VERSION" => "0.032", + "VERSION" => "0.033", "test" => { "TESTS" => "t/*.t" } diff --git a/dist.ini b/dist.ini index c521882f..849e3c4a 100644 --- a/dist.ini +++ b/dist.ini @@ -4,7 +4,7 @@ license = Perl_5 copyright_holder = Tina Müller copyright_year = 2022 -version = 0.032 +version = 0.033 [@Filter] -bundle = @Basic diff --git a/lib/YAML/PP/Schema/Include.pm b/lib/YAML/PP/Schema/Include.pm index 6c616ea4..98a29c8c 100644 --- a/lib/YAML/PP/Schema/Include.pm +++ b/lib/YAML/PP/Schema/Include.pm @@ -164,7 +164,7 @@ YAML::PP::Schema::Include - Include YAML files my $include = YAML::PP::Schema::Include->new; - my $yp = YAML::PP->new( schema => ['JSON', $include] ); + my $yp = YAML::PP->new( schema => ['+', $include] ); # we need the original YAML::PP object for getting the current filename # and for loading another file $include->yp($yp); @@ -188,7 +188,7 @@ Specify paths to search for includes: my $include = YAML::PP::Schema::Include->new( paths => \@include_paths, ); - my $yp = YAML::PP->new( schema => ['JSON', $include] ); + my $yp = YAML::PP->new( schema => ['+', $include] ); $include->yp($yp); # /path/to/include/yaml/1/file1.yaml