Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-YAML-LibYAML for
openSUSE:Factory checked in at 2026-07-08 17:32:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-YAML-LibYAML (Old)
and /work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-YAML-LibYAML"
Wed Jul 8 17:32:54 2026 rev:35 rq:1364285 version:0.910.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-YAML-LibYAML/perl-YAML-LibYAML.changes
2026-06-28 21:05:54.384805091 +0200
+++
/work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new.1982/perl-YAML-LibYAML.changes
2026-07-08 17:34:21.492905250 +0200
@@ -1,0 +2,6 @@
+Fri Jul 3 09:37:37 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 0.910.0 (v0.910.0)
+ see /usr/share/doc/packages/perl-YAML-LibYAML/Changes
+
+-------------------------------------------------------------------
Old:
----
YAML-LibYAML-v0.908.0.tar.gz
New:
----
YAML-LibYAML-v0.910.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-YAML-LibYAML.spec ++++++
--- /var/tmp/diff_new_pack.kkwRtJ/_old 2026-07-08 17:34:22.312933970 +0200
+++ /var/tmp/diff_new_pack.kkwRtJ/_new 2026-07-08 17:34:22.316934110 +0200
@@ -18,10 +18,10 @@
%define cpan_name YAML-LibYAML
Name: perl-YAML-LibYAML
-Version: 0.908.0
+Version: 0.910.0
Release: 0
-# v0.908.0 -> normalize -> 0.908.0
-%define cpan_version v0.908.0
+# v0.910.0 -> normalize -> 0.910.0
+%define cpan_version v0.910.0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl YAML Serialization using XS and libyaml
URL: https://metacpan.org/release/%{cpan_name}
++++++ YAML-LibYAML-v0.908.0.tar.gz -> YAML-LibYAML-v0.910.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/Changes
new/YAML-LibYAML-v0.910.0/Changes
--- old/YAML-LibYAML-v0.908.0/Changes 2026-06-21 00:20:31.375438677 +0200
+++ new/YAML-LibYAML-v0.910.0/Changes 2026-07-03 11:26:05.643875806 +0200
@@ -1,376 +1,387 @@
-0.01 Fri May 11 14:08:54 PDT 2007
- - First Version. Very alpha. Not for production!
+v0.910.0 2026-07-03 11:13:32+02:00
+ - fix(OOP Interface): Fix default boolean option (missing default lead to
+ random default on some architectures) #133
+
+v0.909.0 2026-07-02 16:20:58+02:00
+ - fix(OOP Interface test): Do not crash on missing JSON::PP dependency
+ (@jplesnik)
+ - fix(OOP interface): Fix for quadmath builds of perl (@sisyphus)
+ - fix: Add YAML::XS::LibYAML back to list of provided modules (@haarg)
+ - feat(OOP interface): Add boolean option
-0.02 Mon May 14 23:27:17 PDT 2007
- - Implement initial Dump function. Now supports basic Dump and Load.
+v0.908.0 2026-06-21 00:15:34+02:00
+ - fix(OOP interface): Improve handling of mapping keys, for example
+ numbers
-0.03 Mon May 14 23:27:17 PDT 2007
- - Fixed Dump call stack bugs reported by vhold. Made Dump work like Load.
- - Made this very 'Changes' file loadable, and have a test to prove it.
- - As a result Load now handles a multiple document stream correctly.
- - Added a 'loader' typedef to the C code. This is kinda like a self object
- for the Loader and maybe I'll expose this to the Perl API at some point.
- - Made Dump and Load not be proxy subs from YAML::LibYAML to
- YAML::LibYAML::XS. This removes one level of Perl sub calling which
- should improve benchmarks.
+v0.907.0 2026-05-10 19:47:04+02:00
+ - sec(OOP interface): Turn off cyclic references by default
-0.04 Sat May 19 20:04:04 PDT 2007
- - Added a typedef 'dumper' like 'loader'. Makes internals nicer and more
- exposable.
- - Support dumping undef as ~ and "~" as '~', and loading them correctly.
+v0.906.0 2026-04-26 11:12:32+02:00
+ - Fix detecting floats in YAML 1.2 Core Schema (issue#125)
-0.05 Mon May 21 00:14:40 PDT 2007
- - TonyC pointed out the error in my ways for using newSVpvf for strings.
+v0.905.0 2026-04-24 09:37:22+02:00
+ - Fix memory leak for trailing UTF8 octets (PR#123)
-0.06 Tue May 22 23:37:40 PDT 2007
- - Support dumping zero objects, and loading empty or comment only streams
- to produce zero objects.
+v0.904.0 2025-05-08 14:12:41+02:00
+ - Experimental OOP Interface, YAML 1.2
-0.07 Wed May 23 00:04:42 PDT 2007
- - TonyC showed me how to use '...' in my XS prototype to say zero or more
- args.
+v0.903.0 2025-02-03 00:12:41+01:00
+ - Security fix: Use 3-arg form of open in LoadFile (issue#120 PR#121)
-0.08 Wed May 23 19:34:35 PDT 2007
- - Make sure dumped empty strings have quotes
- - Add boolean roundtrip support
- - Add full anchor/alias support
+v0.902.0 2024-09-20 21:39:00+02:00
+ - Loaded builtin booleans are not readonly anymore for perl >= v5.36
-0.09 Mon May 28 00:38:19 PDT 2007
- - Dump and Load scalar refs
- - Handle alias scalar refs
+v0.901.0 2024-09-06 23:56:41+02:00
+ - Change version scheme
+ - Fix missing linebreak in pod from Dist::Zilla conversion
-0.10 Mon May 28 03:17:29 PDT 2007
- - Integrated with YAML::Tests test suite.
+0.90 2024-09-06 23:44:13+02:00
+ - Change from Zilla::Dist to Dist::Zilla
-0.11 Tue May 29 17:25:18 PDT 2007
- - Fixed false YAML::Tiny dependency
- - Support blessed hashes and arrays
+0.89 Sat 27 Jan 2024 01:44:08 AM CET
+ - Recognise core booleans on Perl 5.36+ at dump time (PR#114 PEVANS++)
-0.12 Wed May 30 01:08:52 PDT 2007
- - Add support for dumping code refs and blessed code refs
+0.88 Fri May 12 05:28:05 AM PDT 2023
+ - REVERT "Turn off internal POK flag for number scalars"
-0.14 Wed May 30 02:31:39 PDT 2007
- - Plain empty strings should load as undef
+0.87 Thu May 4 09:37:26 PM CEST 2023
+ - Turn off internal POK flag for number scalars
-0.15 Wed May 30 20:16:22 PDT 2007
- - Use 'Perl_form' to generate tags. Don't use memory allocating.
- - Can correctly load a scalar ref to itself.
+0.86 Wed Jan 25 09:34:14 PM EST 2023
+ - Fix YAML::XS pod in cpanminus
-0.16 Thu May 31 13:46:50 PDT 2007
- - Using a newer version of libyaml (0.1.1 cut of trunk).
- - Can dump scalars that need quoting without getting a !
+0.85 Mon Sep 12 08:20:19 AM EDT 2022
+ - Convert doc from Swim to Markdown
+ - Remove travis testing
-0.17 Wed Jun 6 19:48:52 PDT 2007
- - Support code and glob dumping
- - Much refactoring.
+0.84 Sat 03 Sep 2022 09:20:20 PM CEST
+ - Add option ForbidDuplicateKeys (PR#105 tinita)
-0.18 Sun Jun 17 18:33:41 PDT 2007
- - Renamed to shorter YAML::XS
- - Load and Dump blessed scalar refs
- - Report Load errors
- - Allow !!hash and !!array
+0.83 Sat 08 May 2021 11:51:32 PM CEST
+ - Recognize tied variables (PR#101 tinita)
+ - Add license file from included libyaml code (PR#102 tinita)
-0.19 Mon Jun 18 00:54:40 PDT 2007
- - Fixed memory bugs. Reported_by avar
+0.82 Sat 02 May 2020 08:39:03 PM CEST
+ - Updated libyaml sources to 0.2.4. Changes affecting YAML::XS are
+ - Output '...' at the stream end after a block scalar with trailing empty
+ lines
+ - Accept '%YAML 1.2' directives (they are ignored and do not change
+ behaviour though)
-0.20 Mon Jun 18 16:29:33 PDT 2007
- - Better parse error messaging
+0.81 Mon 27 Jan 2020 11:05:46 PM CET
+ - Breaking Change: Set $YAML::XS::LoadBlessed default to false to make it
+ more secure
-0.21 Thu Jun 21 15:08:03 PDT 2007
- - Add Loadfile and Dumpfile functions
- - Support !foo private tags for Load - for David Garamond
- - Support Dump/Load of strings with nulls
+0.80 Thu 22 Aug 2019 01:17:13 PM CEST
+ - Fix memory leak when loading invalid YAML (PR#93 tinita)
-0.22 Fri Jun 22 00:38:14 PDT 2007
- - Support !foo private tags for Loading scalar refs - for David Garamond
+0.79 Tue 11 Jun 2019 09:35:22 PM CEST
+ - Support aliasing scalars resolved as null or booleans (tinita)
+ - Add YAML::XS::LibYAML::libyaml_version() (tinita)
+ - Support standard !!int/!!float tags instead of dying (tinita)
-0.23 Fri Jun 22 17:56:50 PDT 2007
- - Added full regexp Dump and Load support. Borrowed code from YAML::Syck.
- Discovered/reported bugs in the same.
+0.78 Sat 18 May 2019 06:35:21 PM CEST
+ - Fix double free/core dump when Dump()ing binary data, see issue#91
+ (tinita)
+ - Update config.h from libyaml (tinita)
-0.24 Sun Jun 24 10:29:03 PDT 2007
- - Turn on unicode dumping support.
- - Make anchor numbers Dump in order.
+0.77 Mon 15 Apr 2019 10:55:13 PM CEST
+ - Update libyaml to version 0.2.2. Most important change for users is that
+ plain urls in flow style can be parsed now. Example: `[ http://yaml.org
+ ]`. (tinita)
-0.25 Sun Jun 24 17:39:13 PDT 2007
- - Squelch most -pedantic C warnings. Thanks audreyt.
- - Allow anchored and aliased scalars (and regexps) to be Loaded
+0.76 Sun Dec 30 20:10:16 CET 2018
+ - Add $Indent - number of spaces when dumping. PR#89 @zdm++
+ - Fix typo in docs. PR#87 @mr-mixas++
+ - Fix links in docs. @manwar++
-0.26 Mon Jun 25 00:14:19 PDT 2007
- - Refactor to consistent pointer & declaration syntax
- - Start commenting the C code.
- - Make YAML::XS work on Win32 by adding -DYAML_DECLARE_EXPORT. (Tested on
- StrawberryPerl)
+0.75 Sat Nov 3 14:17:28 CET 2018
+ - Implement $LoadCode (tinita)
-0.27 Fri Jun 6 22:05:29 PDT 2008
- - Apply patches from Gisle Aas and Jan Dubois of ActiveState.
+0.74 Fri Aug 31 18:06:17 PDT 2018
+ - Fix tests on older perls
+ - Support back to perl.5.8.1
-0.28 Mon Jun 23 15:23:24 PDT 2008
- - Apply UTF8 patch supplied by KLEINJ in rt.cpan#36734
+0.72 Sun Jul 8 17:03:08 CEST 2018
+ - Update to libyaml 0.2.1 (tinita) It's forbidden now to escape single
+ quotes inside double quotes
+ - When disabling $LoadBlessed, return scalars not refs (tinita)
+ - Save anchors also for blessed scalars (tinita)
-0.29 Tue Nov 11 22:57:07 PST 2008
- - Check SvNIOK when dumping and format if quotes when it's a string that
- looks like a number
- - Parse plain scalars as numbers when they look like numbers
- - Load nulls as newSV(0) instead of &PL_sv_undef to avoid "Modification of
- non-creatable hash value attempted" errors
+0.70 Sat Jun 9 21:53:05 CEST 2018
+ - Fix format specifier/argument mismatch PR#79 @a3f++
+ - Travis CI: Test on Perl 5.26 PR#80 @a3f++
+ - Fix a C90-compatibility issue PR#81 @stphnlyd++
-0.30 Sun Jan 11 12:53:55 IST 2009
- - Plug a leak in Load
- - More efficient intermediate structure allocation
+0.69 Tue Dec 26 18:37:25 CET 2017
+ - Security fix Add $LoadBlessed option to turn on/off loading objects
+ PR#73 PR#74 TINITA++
-0.31 Mon Jan 12 11:23:55 IST 2009
- - Fix the leak test so it doesn't load an unused, undeclared dependency
- (Test::LongString)
+0.68 Mon Dec 18 20:01:05 CET 2017
+ - Fix regex roundtrip (fixes issue#69) PR#70 (TINITA++)
+ - Fix loading of many regexes (fixes issue#64) PR#71 (TINITA++)
-0.32 Mon Jan 12 11:23:55 IST 2009
- - newSVpvs is not portable, change to newSVpvn
- - update ppport.h options
+0.67 Wed Nov 15 18:59:33 CET 2017
+ - Support standard tags !!str, !!map and !!seq instead of dying. PR#67
+ (TINITA++)
+ - Support JSON::PP::Boolean and boolean.pm via $YAML::XS::Boolean. PR#66
+ (TINITA++) Thanks also to Björn Höhrmann for SvPV_nolen()
-0.33 Wed Apr 14 17:57:10 PDT 2010
- - Applied Gisle Aas' patch from
- https://rt.cpan.org/Ticket/Display.html?id=43115
+0.66 Thu Aug 17 20:06:06 CEST 2017
+ - Apply PR#55 (@vti++)
+ - Dump() was modifying original data, adding a PV to numbers
+ - Added a test for this (TINITA++)
-0.34 Wed Apr 14 17:57:10 PDT 2010
- - These changes from chansen++
- - Handle misbehaved tied hashes
- - Handle 'get' magic
- - Added support for tied arrays and hashes
- - Don't turn on the UTF-8 flag for strings containing US-ASCII (0x00-0x7F)
+0.65 Thu 18 May 23:09:38 CEST 2017
+ - Prevent warning about unused variables (see issue#59)
+ - Clarify documentation about exported functions
-0.35 Mon Apr 4 00:33:09 CST 2011
- - Apply bdfoy patch from rt-46172
- - Update ppport.h to fix rt-64749 & rt-62054
- - Add ANDK's regexp.t patch from rt-62266
+0.64 Fri 7 Apr 20:32:01 CEST 2017
+ - use lib FindBin::Bin in tests, preparing for perl 5.26 where '.' gets
+ removed from @INC. Fixes issue#54 TINITA++
+ - Use the latest libyaml sources.
+ - Lazy load B::Deparse for faster startup time. Applied PR/53 by
+ @perlpunk++ (submitted by @carnil++ from a Debian issue as GitHub
+ issue#52)
-0.36 Sun Sep 25 22:08:53 CEST 2011
- - Switch to Module::Package
- - Fix LoadFile on empty file failure.
- - Released from Wendy++ and Liz++'s Basement Server Room.
+0.63 Fri Jul 8 14:40:35 UTC 2016
+ - Apply PR/48 by @perlpunk++
+ - Fixes memory leaks
-0.37 Thu Sep 29 20:09:20 CEST 2011
- - Fix the bug that accidentally released YAML-XS instead of YAML-LibYAML.
- - Released from Wendy++ and Liz++'s Guest Bedroom.
+0.62 Mon Feb 22 15:46:06 UTC 2016
+ - Apply PR/42 @perlpunk++ (fix for detecting filehandles)
-0.38 Tue Jan 3 22:56:01 PST 2012
- - Apply SPROUT++ deparse test patch. Thanks!
+0.61 Sat Feb 20 18:04:19 UTC 2016
+ - Apply PR/37 @perlpunk++ (includes PR/36 @lameventanas++)
-0.39 Mon Feb 11 18:08:04 PST 2013
- - Using the latest libyaml codebase
- - https://github.com/yaml/libyaml/tree/perl-yaml-xs
- - Changes have been made to start moving libyaml to 1.2
+0.60 Tue Feb 9 14:36:09 EST 2016
+ - Apply PR/33. @andygrundman++. Solaris fixes.
-0.40 Tue Mar 12 11:05:34 PDT 2013
- - Removed C++ // style comments, for better portability. jdb++
+0.59 Mon Jan 26 15:04:10 PST 2015
+ - PR/23 Better scalar dump heuristics
+ - More closely match YAML.pm
+ - Thanks Matthias Bethke
-0.41 Wed Mar 13 10:34:55 PDT 2013
- - Removed another C++ // style comment. jdb++
+0.58 Tue Jan 20 21:01:49 PST 2015
+ - Add a VERSION statement to YAML::LibYAML (issue#8)
-0.42 Fri Jul 11 14:45:58 PDT 2014
- - Switch to Zilla::Dist
- - No longer dep on Test::Base, Spiffy, and Filter::Util::Call
- - Remove test/changes.t
+0.57 Thu Jan 15 23:05:15 EST 2015
+ - Applied fix for PR/21. nawglan++
-0.43 Sat Jul 12 10:04:07 PDT 2014
- - Test::Base tests needed 'inc' in @INC
+0.56 Thu Jan 15 22:21:47 EST 2015
+ - Update copyright year
+ - Use Swim cpan-tail block functions in doc
-0.44 Sun Jul 13 15:19:41 PDT 2014
- - Doc fix. GitHub-Issue-#6. Thanks to Debian Perl Group for finding this.
+0.55 Mon Dec 22 17:26:27 PST 2014
+ - Get YAML::XS using latest libyaml
-0.45 Mon Aug 4 01:23:10 PDT 2014
- - Fix Meta and add Contributing.
+0.54 Sat Nov 29 11:47:10 PST 2014
+ - Reverted an old patch with 0.53. Unreverted.
-0.46 Tue Aug 5 10:32:41 PDT 2014
- - Add badges to doc
- - Fix ReadMe
+0.53 Fri Nov 28 09:20:08 PST 2014
+ - Fix for
+
https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure
-0.47 Sat Aug 9 00:29:29 PDT 2014
- - Fix swim errors
+0.52 Fri Aug 22 21:03:19 PDT 2014
+ - Fix e1 test failure on 5.21.4
-0.48 Fri Aug 15 21:07:12 PDT 2014
- - Add t/000-compile-modules.t
+0.51 Sat Aug 16 14:28:45 PDT 2014
+ - Remove =travis section
+
+0.50 Sat Aug 16 12:57:04 PDT 2014
+ - Meta 0.0.2
0.49 Sat Aug 16 04:23:17 PDT 2014
- Eliminate spurious trailing whitespace
-0.50 Sat Aug 16 12:57:04 PDT 2014
- - Meta 0.0.2
+0.48 Fri Aug 15 21:07:12 PDT 2014
+ - Add t/000-compile-modules.t
-0.51 Sat Aug 16 14:28:45 PDT 2014
- - Remove =travis section
+0.47 Sat Aug 9 00:29:29 PDT 2014
+ - Fix swim errors
-0.52 Fri Aug 22 21:03:19 PDT 2014
- - Fix e1 test failure on 5.21.4
+0.46 Tue Aug 5 10:32:41 PDT 2014
+ - Add badges to doc
+ - Fix ReadMe
-0.53 Fri Nov 28 09:20:08 PST 2014
- - Fix for
-
https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure
+0.45 Mon Aug 4 01:23:10 PDT 2014
+ - Fix Meta and add Contributing.
-0.54 Sat Nov 29 11:47:10 PST 2014
- - Reverted an old patch with 0.53. Unreverted.
+0.44 Sun Jul 13 15:19:41 PDT 2014
+ - Doc fix. GitHub-Issue-#6. Thanks to Debian Perl Group for finding this.
-0.55 Mon Dec 22 17:26:27 PST 2014
- - Get YAML::XS using latest libyaml
+0.43 Sat Jul 12 10:04:07 PDT 2014
+ - Test::Base tests needed 'inc' in @INC
-0.56 Thu Jan 15 22:21:47 EST 2015
- - Update copyright year
- - Use Swim cpan-tail block functions in doc
+0.42 Fri Jul 11 14:45:58 PDT 2014
+ - Switch to Zilla::Dist
+ - No longer dep on Test::Base, Spiffy, and Filter::Util::Call
+ - Remove test/changes.t
-0.57 Thu Jan 15 23:05:15 EST 2015
- - Applied fix for PR/21. nawglan++
+0.41 Wed Mar 13 10:34:55 PDT 2013
+ - Removed another C++ // style comment. jdb++
-0.58 Tue Jan 20 21:01:49 PST 2015
- - Add a VERSION statement to YAML::LibYAML (issue#8)
+0.40 Tue Mar 12 11:05:34 PDT 2013
+ - Removed C++ // style comments, for better portability. jdb++
-0.59 Mon Jan 26 15:04:10 PST 2015
- - PR/23 Better scalar dump heuristics
- - More closely match YAML.pm
- - Thanks Matthias Bethke
+0.39 Mon Feb 11 18:08:04 PST 2013
+ - Using the latest libyaml codebase
+ - https://github.com/yaml/libyaml/tree/perl-yaml-xs
+ - Changes have been made to start moving libyaml to 1.2
-0.60 Tue Feb 9 14:36:09 EST 2016
- - Apply PR/33. @andygrundman++. Solaris fixes.
+0.38 Tue Jan 3 22:56:01 PST 2012
+ - Apply SPROUT++ deparse test patch. Thanks!
-0.61 Sat Feb 20 18:04:19 UTC 2016
- - Apply PR/37 @perlpunk++ (includes PR/36 @lameventanas++)
+0.37 Thu Sep 29 20:09:20 CEST 2011
+ - Fix the bug that accidentally released YAML-XS instead of YAML-LibYAML.
+ - Released from Wendy++ and Liz++'s Guest Bedroom.
-0.62 Mon Feb 22 15:46:06 UTC 2016
- - Apply PR/42 @perlpunk++ (fix for detecting filehandles)
+0.36 Sun Sep 25 22:08:53 CEST 2011
+ - Switch to Module::Package
+ - Fix LoadFile on empty file failure.
+ - Released from Wendy++ and Liz++'s Basement Server Room.
-0.63 Fri Jul 8 14:40:35 UTC 2016
- - Apply PR/48 by @perlpunk++
- - Fixes memory leaks
+0.35 Mon Apr 4 00:33:09 CST 2011
+ - Apply bdfoy patch from rt-46172
+ - Update ppport.h to fix rt-64749 & rt-62054
+ - Add ANDK's regexp.t patch from rt-62266
-0.64 Fri 7 Apr 20:32:01 CEST 2017
- - use lib FindBin::Bin in tests, preparing for perl 5.26 where '.' gets
- removed from @INC. Fixes issue#54 TINITA++
- - Use the latest libyaml sources.
- - Lazy load B::Deparse for faster startup time. Applied PR/53 by
- @perlpunk++ (submitted by @carnil++ from a Debian issue as GitHub
- issue#52)
+0.34 Wed Apr 14 17:57:10 PDT 2010
+ - These changes from chansen++
+ - Handle misbehaved tied hashes
+ - Handle 'get' magic
+ - Added support for tied arrays and hashes
+ - Don't turn on the UTF-8 flag for strings containing US-ASCII (0x00-0x7F)
-0.65 Thu 18 May 23:09:38 CEST 2017
- - Prevent warning about unused variables (see issue#59)
- - Clarify documentation about exported functions
+0.33 Wed Apr 14 17:57:10 PDT 2010
+ - Applied Gisle Aas' patch from
+ https://rt.cpan.org/Ticket/Display.html?id=43115
-0.66 Thu Aug 17 20:06:06 CEST 2017
- - Apply PR#55 (@vti++)
- - Dump() was modifying original data, adding a PV to numbers
- - Added a test for this (TINITA++)
+0.32 Mon Jan 12 11:23:55 IST 2009
+ - newSVpvs is not portable, change to newSVpvn
+ - update ppport.h options
-0.67 Wed Nov 15 18:59:33 CET 2017
- - Support standard tags !!str, !!map and !!seq instead of dying. PR#67
- (TINITA++)
- - Support JSON::PP::Boolean and boolean.pm via $YAML::XS::Boolean. PR#66
- (TINITA++) Thanks also to Björn Höhrmann for SvPV_nolen()
+0.31 Mon Jan 12 11:23:55 IST 2009
+ - Fix the leak test so it doesn't load an unused, undeclared dependency
+ (Test::LongString)
-0.68 Mon Dec 18 20:01:05 CET 2017
- - Fix regex roundtrip (fixes issue#69) PR#70 (TINITA++)
- - Fix loading of many regexes (fixes issue#64) PR#71 (TINITA++)
+0.30 Sun Jan 11 12:53:55 IST 2009
+ - Plug a leak in Load
+ - More efficient intermediate structure allocation
-0.69 Tue Dec 26 18:37:25 CET 2017
- - Security fix Add $LoadBlessed option to turn on/off loading objects
- PR#73 PR#74 TINITA++
+0.29 Tue Nov 11 22:57:07 PST 2008
+ - Check SvNIOK when dumping and format if quotes when it's a string that
+ looks like a number
+ - Parse plain scalars as numbers when they look like numbers
+ - Load nulls as newSV(0) instead of &PL_sv_undef to avoid "Modification of
+ non-creatable hash value attempted" errors
-0.70 Sat Jun 9 21:53:05 CEST 2018
- - Fix format specifier/argument mismatch PR#79 @a3f++
- - Travis CI: Test on Perl 5.26 PR#80 @a3f++
- - Fix a C90-compatibility issue PR#81 @stphnlyd++
+0.28 Mon Jun 23 15:23:24 PDT 2008
+ - Apply UTF8 patch supplied by KLEINJ in rt.cpan#36734
-0.72 Sun Jul 8 17:03:08 CEST 2018
- - Update to libyaml 0.2.1 (tinita) It's forbidden now to escape single
- quotes inside double quotes
- - When disabling $LoadBlessed, return scalars not refs (tinita)
- - Save anchors also for blessed scalars (tinita)
+0.27 Fri Jun 6 22:05:29 PDT 2008
+ - Apply patches from Gisle Aas and Jan Dubois of ActiveState.
-0.74 Fri Aug 31 18:06:17 PDT 2018
- - Fix tests on older perls
- - Support back to perl.5.8.1
+0.26 Mon Jun 25 00:14:19 PDT 2007
+ - Refactor to consistent pointer & declaration syntax
+ - Start commenting the C code.
+ - Make YAML::XS work on Win32 by adding -DYAML_DECLARE_EXPORT. (Tested on
+ StrawberryPerl)
-0.75 Sat Nov 3 14:17:28 CET 2018
- - Implement $LoadCode (tinita)
+0.25 Sun Jun 24 17:39:13 PDT 2007
+ - Squelch most -pedantic C warnings. Thanks audreyt.
+ - Allow anchored and aliased scalars (and regexps) to be Loaded
-0.76 Sun Dec 30 20:10:16 CET 2018
- - Add $Indent - number of spaces when dumping. PR#89 @zdm++
- - Fix typo in docs. PR#87 @mr-mixas++
- - Fix links in docs. @manwar++
+0.24 Sun Jun 24 10:29:03 PDT 2007
+ - Turn on unicode dumping support.
+ - Make anchor numbers Dump in order.
-0.77 Mon 15 Apr 2019 10:55:13 PM CEST
- - Update libyaml to version 0.2.2. Most important change for users is that
- plain urls in flow style can be parsed now. Example: `[ http://yaml.org
- ]`. (tinita)
+0.23 Fri Jun 22 17:56:50 PDT 2007
+ - Added full regexp Dump and Load support. Borrowed code from YAML::Syck.
+ Discovered/reported bugs in the same.
-0.78 Sat 18 May 2019 06:35:21 PM CEST
- - Fix double free/core dump when Dump()ing binary data, see issue#91
- (tinita)
- - Update config.h from libyaml (tinita)
+0.22 Fri Jun 22 00:38:14 PDT 2007
+ - Support !foo private tags for Loading scalar refs - for David Garamond
-0.79 Tue 11 Jun 2019 09:35:22 PM CEST
- - Support aliasing scalars resolved as null or booleans (tinita)
- - Add YAML::XS::LibYAML::libyaml_version() (tinita)
- - Support standard !!int/!!float tags instead of dying (tinita)
+0.21 Thu Jun 21 15:08:03 PDT 2007
+ - Add Loadfile and Dumpfile functions
+ - Support !foo private tags for Load - for David Garamond
+ - Support Dump/Load of strings with nulls
-0.80 Thu 22 Aug 2019 01:17:13 PM CEST
- - Fix memory leak when loading invalid YAML (PR#93 tinita)
+0.20 Mon Jun 18 16:29:33 PDT 2007
+ - Better parse error messaging
-0.81 Mon 27 Jan 2020 11:05:46 PM CET
- - Breaking Change: Set $YAML::XS::LoadBlessed default to false to make it
- more secure
+0.19 Mon Jun 18 00:54:40 PDT 2007
+ - Fixed memory bugs. Reported_by avar
-0.82 Sat 02 May 2020 08:39:03 PM CEST
- - Updated libyaml sources to 0.2.4. Changes affecting YAML::XS are
- - Output '...' at the stream end after a block scalar with trailing empty
- lines
- - Accept '%YAML 1.2' directives (they are ignored and do not change
- behaviour though)
+0.18 Sun Jun 17 18:33:41 PDT 2007
+ - Renamed to shorter YAML::XS
+ - Load and Dump blessed scalar refs
+ - Report Load errors
+ - Allow !!hash and !!array
-0.83 Sat 08 May 2021 11:51:32 PM CEST
- - Recognize tied variables (PR#101 tinita)
- - Add license file from included libyaml code (PR#102 tinita)
+0.17 Wed Jun 6 19:48:52 PDT 2007
+ - Support code and glob dumping
+ - Much refactoring.
-0.84 Sat 03 Sep 2022 09:20:20 PM CEST
- - Add option ForbidDuplicateKeys (PR#105 tinita)
+0.16 Thu May 31 13:46:50 PDT 2007
+ - Using a newer version of libyaml (0.1.1 cut of trunk).
+ - Can dump scalars that need quoting without getting a !
-0.85 Mon Sep 12 08:20:19 AM EDT 2022
- - Convert doc from Swim to Markdown
- - Remove travis testing
+0.15 Wed May 30 20:16:22 PDT 2007
+ - Use 'Perl_form' to generate tags. Don't use memory allocating.
+ - Can correctly load a scalar ref to itself.
-0.86 Wed Jan 25 09:34:14 PM EST 2023
- - Fix YAML::XS pod in cpanminus
+0.14 Wed May 30 02:31:39 PDT 2007
+ - Plain empty strings should load as undef
-0.87 Thu May 4 09:37:26 PM CEST 2023
- - Turn off internal POK flag for number scalars
+0.12 Wed May 30 01:08:52 PDT 2007
+ - Add support for dumping code refs and blessed code refs
-0.88 Fri May 12 05:28:05 AM PDT 2023
- - REVERT "Turn off internal POK flag for number scalars"
+0.11 Tue May 29 17:25:18 PDT 2007
+ - Fixed false YAML::Tiny dependency
+ - Support blessed hashes and arrays
-0.89 Sat 27 Jan 2024 01:44:08 AM CET
- - Recognise core booleans on Perl 5.36+ at dump time (PR#114 PEVANS++)
+0.10 Mon May 28 03:17:29 PDT 2007
+ - Integrated with YAML::Tests test suite.
-0.90 2024-09-06 23:44:13+02:00
- - Change from Zilla::Dist to Dist::Zilla
+0.09 Mon May 28 00:38:19 PDT 2007
+ - Dump and Load scalar refs
+ - Handle alias scalar refs
-v0.901.0 2024-09-06 23:56:41+02:00
- - Change version scheme
- - Fix missing linebreak in pod from Dist::Zilla conversion
+0.08 Wed May 23 19:34:35 PDT 2007
+ - Make sure dumped empty strings have quotes
+ - Add boolean roundtrip support
+ - Add full anchor/alias support
-v0.902.0 2024-09-20 21:39:00+02:00
- - Loaded builtin booleans are not readonly anymore for perl >= v5.36
+0.07 Wed May 23 00:04:42 PDT 2007
+ - TonyC showed me how to use '...' in my XS prototype to say zero or more
+ args.
-v0.903.0 2025-02-03 00:12:41+01:00
- - Security fix: Use 3-arg form of open in LoadFile (issue#120 PR#121)
+0.06 Tue May 22 23:37:40 PDT 2007
+ - Support dumping zero objects, and loading empty or comment only streams
+ to produce zero objects.
-v0.904.0 2025-05-08 14:12:41+02:00
- - Experimental OOP Interface, YAML 1.2
+0.05 Mon May 21 00:14:40 PDT 2007
+ - TonyC pointed out the error in my ways for using newSVpvf for strings.
-v0.905.0 2026-04-24 09:37:22+02:00
- - Fix memory leak for trailing UTF8 octets (PR#123)
+0.04 Sat May 19 20:04:04 PDT 2007
+ - Added a typedef 'dumper' like 'loader'. Makes internals nicer and more
+ exposable.
+ - Support dumping undef as ~ and "~" as '~', and loading them correctly.
-v0.906.0 2026-04-26 11:12:32+02:00
- - Fix detecting floats in YAML 1.2 Core Schema (issue#125)
+0.03 Mon May 14 23:27:17 PDT 2007
+ - Fixed Dump call stack bugs reported by vhold. Made Dump work like Load.
+ - Made this very 'Changes' file loadable, and have a test to prove it.
+ - As a result Load now handles a multiple document stream correctly.
+ - Added a 'loader' typedef to the C code. This is kinda like a self object
+ for the Loader and maybe I'll expose this to the Perl API at some point.
+ - Made Dump and Load not be proxy subs from YAML::LibYAML to
+ YAML::LibYAML::XS. This removes one level of Perl sub calling which
+ should improve benchmarks.
-v0.907.0 2026-05-10 19:47:04+02:00
- - sec(OOP interface): Turn off cyclic references by default
+0.02 Mon May 14 23:27:17 PDT 2007
+ - Implement initial Dump function. Now supports basic Dump and Load.
-v0.908.0 2026-06-21 00:15:34+02:00
- - fix(OOP interface): Improve handling of mapping keys, for example
- numbers
+0.01 Fri May 11 14:08:54 PDT 2007
+ - First Version. Very alpha. Not for production!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/LibYAML/LibYAML.xs
new/YAML-LibYAML-v0.910.0/LibYAML/LibYAML.xs
--- old/YAML-LibYAML-v0.908.0/LibYAML/LibYAML.xs 2026-06-21
00:20:31.383240899 +0200
+++ new/YAML-LibYAML-v0.910.0/LibYAML/LibYAML.xs 2026-07-03
11:26:05.651804311 +0200
@@ -65,6 +65,7 @@
yaml->anchor_prefix = "";
yaml->cyclic_refs = 0;
yaml->utf8 = 0;
+ yaml->boolean = 0;
hash = newHV();
if (items > 1) {
@@ -121,6 +122,23 @@
hv_store(hash, "cyclic_refs", 11, sv, 0);
yaml->cyclic_refs = intvalue;
}
+ else if (strEQ(key, "boolean")) {
+ stringvalue = SvPV_nolen(ST(i+1));
+ intvalue = 0;
+ if (strEQ(stringvalue, "JSON::PP")) {
+ intvalue = BOOLEAN_JSON_PP;
+ }
+ else if (strEQ(stringvalue, "boolean")) {
+ intvalue = BOOLEAN_BOOLEAN;
+ }
+ else {
+ croak("%s",
+ "YAML::XS->new: boolean only accepts
'JSON::PP', 'boolean' or a false value");
+ }
+ SV *sv = newSViv(intvalue);
+ hv_store(hash, "boolean", 7, sv, 0);
+ yaml->boolean = intvalue;
+ }
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/LibYAML/Makefile.PL
new/YAML-LibYAML-v0.910.0/LibYAML/Makefile.PL
--- old/YAML-LibYAML-v0.908.0/LibYAML/Makefile.PL 2026-06-21
00:20:31.383975075 +0200
+++ new/YAML-LibYAML-v0.910.0/LibYAML/Makefile.PL 2026-07-03
11:26:05.652536113 +0200
@@ -30,5 +30,6 @@
INC => '-I.',
OBJECT => $obj_files,
ABSTRACT_FROM => 'lib/YAML/XS/LibYAML.pm',
+ VERSION_FROM => 'lib/YAML/XS/LibYAML.pm',
AUTHOR => 'Ingy döt Net <[email protected]>',
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/LibYAML/lib/YAML/XS/LibYAML.pm
new/YAML-LibYAML-v0.910.0/LibYAML/lib/YAML/XS/LibYAML.pm
--- old/YAML-LibYAML-v0.908.0/LibYAML/lib/YAML/XS/LibYAML.pm 2026-06-21
00:20:31.385270707 +0200
+++ new/YAML-LibYAML-v0.910.0/LibYAML/lib/YAML/XS/LibYAML.pm 2026-07-03
11:26:05.653932668 +0200
@@ -3,6 +3,8 @@
use strict;
use warnings;
+our $VERSION = 'v0.910.0'; # VERSION
+
use XSLoader;
XSLoader::load 'YAML::XS::LibYAML';
use base 'Exporter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/LibYAML/perl_libyaml.c
new/YAML-LibYAML-v0.910.0/LibYAML/perl_libyaml.c
--- old/YAML-LibYAML-v0.908.0/LibYAML/perl_libyaml.c 2026-06-21
00:20:31.384541072 +0200
+++ new/YAML-LibYAML-v0.910.0/LibYAML/perl_libyaml.c 2026-07-03
11:26:05.653090796 +0200
@@ -1,5 +1,8 @@
#include <perl_libyaml.h>
+int BOOLEAN_JSON_PP = 1;
+int BOOLEAN_BOOLEAN = 2;
+
#if (PERL_REVISION > 5) || (PERL_REVISION == 5 && PERL_VERSION >= 36)
# define PERL_HAVE_BOOLEANS
#endif
@@ -1734,11 +1737,23 @@
/* bool true */
if (scalar_type == YAML_XS_SCALAR_TYPE_BOOL_TRUE) {
+ if (self->boolean == BOOLEAN_JSON_PP) {
+ char *name = "JSON::PP::Boolean";
+ scalar = newSV(1);
+ scalar = sv_setref_iv(scalar, name, 1);
+ }
+ else if (self->boolean == BOOLEAN_BOOLEAN) {
+ char *name = "boolean";
+ scalar = newSV(1);
+ scalar = sv_setref_iv(scalar, name, 1);
+ }
+ else {
#ifdef PERL_HAVE_BOOLEANS
- scalar = newSVsv(&PL_sv_yes);
+ scalar = newSVsv(&PL_sv_yes);
#else
- scalar = &PL_sv_yes;
+ scalar = &PL_sv_yes;
#endif
+ }
if (tag && ! strEQ(tag, YAML_BOOL_TAG)) {
croak("%s", oo_loader_error_msg( self, form("Invalid tag '%s' for
value '%s'", tag, string)));
}
@@ -1747,11 +1762,23 @@
/* bool false */
if (scalar_type == YAML_XS_SCALAR_TYPE_BOOL_FALSE) {
+ if (self->boolean == BOOLEAN_JSON_PP) {
+ char *name = "JSON::PP::Boolean";
+ scalar = newSV(1);
+ scalar = sv_setref_iv(scalar, name, 0);
+ }
+ else if (self->boolean == BOOLEAN_BOOLEAN) {
+ char *name = "boolean";
+ scalar = newSV(1);
+ scalar = sv_setref_iv(scalar, name, 0);
+ }
+ else {
#ifdef PERL_HAVE_BOOLEANS
- scalar = newSVsv(&PL_sv_no);
+ scalar = newSVsv(&PL_sv_no);
#else
- scalar = &PL_sv_no;
+ scalar = &PL_sv_no;
#endif
+ }
if (tag && ! strEQ(tag, YAML_BOOL_TAG)) {
croak("%s", oo_loader_error_msg( self, form("Invalid tag '%s' for
value '%s'", tag, string)));
}
@@ -1931,6 +1958,8 @@
oo_dump_node(perl_yaml_xs_t *self, SV *node)
{
yaml_char_t *anchor = NULL;
+ const char *class = NULL;
+
if (SvROK(node)) {
SV *rnode = SvRV(node);
U32 ref_type = SvTYPE(rnode);
@@ -1939,6 +1968,25 @@
else if (ref_type == SVt_PVAV) {
oo_dump_array(self, node, anchor);
}
+ else if (ref_type == SVt_PVMG) {
+ if (!SvMAGICAL(rnode)) {
+ class = sv_reftype(rnode, TRUE);
+ if (
+ self->boolean == BOOLEAN_JSON_PP
+ && strEQ(class, "JSON::PP::Boolean")
+ ||
+ self->boolean == BOOLEAN_BOOLEAN
+ && strEQ(class, "boolean")
+ ) {
+ if (SvIV(node)) {
+ oo_dump_scalar(self, &PL_sv_yes);
+ }
+ else {
+ oo_dump_scalar(self, &PL_sv_no);
+ }
+ }
+ }
+ }
}
else {
oo_dump_scalar(self, node);
@@ -2059,12 +2107,12 @@
string_len = 5;
style = YAML_PLAIN_SCALAR_STYLE;
}
- else if (isnan(val)) {
+ else if (Perl_isnan(val)) {
string = ".nan";
string_len = 4;
style = YAML_PLAIN_SCALAR_STYLE;
}
- else if (isinf(val)) {
+ else if (Perl_isinf(val)) {
if (val == -NV_INF) {
string = "-.inf";
string_len = 5;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/LibYAML/perl_libyaml.h
new/YAML-LibYAML-v0.910.0/LibYAML/perl_libyaml.h
--- old/YAML-LibYAML-v0.908.0/LibYAML/perl_libyaml.h 2026-06-21
00:20:31.384782235 +0200
+++ new/YAML-LibYAML-v0.910.0/LibYAML/perl_libyaml.h 2026-07-03
11:26:05.653353680 +0200
@@ -24,6 +24,14 @@
#define LOADERRMSG "YAML::XS::Load Error: "
#define DUMPERRMSG "YAML::XS::Dump Error: "
+#ifndef LIBYAML_H
+#define LIBYAML_H
+
+extern int BOOLEAN_JSON_PP;
+extern int BOOLEAN_BOOLEAN;
+
+#endif
+
typedef enum yaml_xs_scalar_type_e {
YAML_XS_SCALAR_TYPE_STRING,
YAML_XS_SCALAR_TYPE_BOOL_TRUE,
@@ -74,6 +82,7 @@
int require_footer;
char *anchor_prefix;
int cyclic_refs;
+ int boolean;
int document;
} perl_yaml_xs_t;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/MANIFEST
new/YAML-LibYAML-v0.910.0/MANIFEST
--- old/YAML-LibYAML-v0.908.0/MANIFEST 2026-06-21 00:20:31.376747370 +0200
+++ new/YAML-LibYAML-v0.910.0/MANIFEST 2026-07-03 11:26:05.645131560 +0200
@@ -82,6 +82,7 @@
t/oop/13-utf8.t
t/oop/14-options.pl
t/oop/15-various.t
+t/oop/16-boolean.t
t/oop/schema-core.yaml
t/path-class.t
t/pl_sv_undef.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/META.json
new/YAML-LibYAML-v0.910.0/META.json
--- old/YAML-LibYAML-v0.908.0/META.json 2026-06-21 00:20:31.377477355 +0200
+++ new/YAML-LibYAML-v0.910.0/META.json 2026-07-03 11:26:05.645834308 +0200
@@ -68,11 +68,15 @@
"provides" : {
"YAML::LibYAML" : {
"file" : "lib/YAML/LibYAML.pm",
- "version" : "v0.908.0"
+ "version" : "v0.910.0"
},
"YAML::XS" : {
"file" : "lib/YAML/XS.pm",
- "version" : "v0.908.0"
+ "version" : "v0.910.0"
+ },
+ "YAML::XS::LibYAML" : {
+ "file" : "LibYAML/lib/YAML/XS/LibYAML.pm",
+ "version" : "v0.910.0"
}
},
"release_status" : "stable",
@@ -87,7 +91,7 @@
"web" : "https://github.com/ingydotnet/yaml-libyaml-pm"
}
},
- "version" : "v0.908.0",
+ "version" : "v0.910.0",
"x_generated_by_perl" : "v5.42.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.38",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/META.yml
new/YAML-LibYAML-v0.910.0/META.yml
--- old/YAML-LibYAML-v0.908.0/META.yml 2026-06-21 00:20:31.376847034 +0200
+++ new/YAML-LibYAML-v0.910.0/META.yml 2026-07-03 11:26:05.645212507 +0200
@@ -37,10 +37,13 @@
provides:
YAML::LibYAML:
file: lib/YAML/LibYAML.pm
- version: v0.908.0
+ version: v0.910.0
YAML::XS:
file: lib/YAML/XS.pm
- version: v0.908.0
+ version: v0.910.0
+ YAML::XS::LibYAML:
+ file: LibYAML/lib/YAML/XS/LibYAML.pm
+ version: v0.910.0
requires:
B::Deparse: '0'
Exporter: '0'
@@ -54,7 +57,7 @@
bugtracker: https://github.com/ingydotnet/yaml-libyaml-pm/issues
homepage: https://github.com/ingydotnet/yaml-libyaml-pm
repository: https://github.com/ingydotnet/yaml-libyaml-pm.git
-version: v0.908.0
+version: v0.910.0
x_generated_by_perl: v5.42.0
x_serialization_backend: 'YAML::Tiny version 1.76'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/Makefile.PL
new/YAML-LibYAML-v0.910.0/Makefile.PL
--- old/YAML-LibYAML-v0.908.0/Makefile.PL 2026-06-21 00:20:31.378503329
+0200
+++ new/YAML-LibYAML-v0.910.0/Makefile.PL 2026-07-03 11:26:05.646811185
+0200
@@ -43,7 +43,7 @@
"lib" => 0,
"utf8" => 0
},
- "VERSION" => "v0.908.0",
+ "VERSION" => "v0.910.0",
"test" => {
"TESTS" => "t/*.t t/oop/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/README
new/YAML-LibYAML-v0.910.0/README
--- old/YAML-LibYAML-v0.908.0/README 2026-06-21 00:20:31.375324207 +0200
+++ new/YAML-LibYAML-v0.910.0/README 2026-07-03 11:26:05.643757564 +0200
@@ -259,6 +259,7 @@
# load and dump options
# utf8 => 0,
+ # boolean => 0,
);
Options:
@@ -331,6 +332,19 @@
defaults to not allowing it. It will just behave as if the anchor was
never created in this case. You an set it to 1 to allow it.
+ boolean
+
+ Since version v0.909
+
+ Default: 0
+
+ Booleans will be loaded as real booleans since perl 5.36.0, and as
+ 1|'' before.
+
+ You can set the value to JSON::PP or boolean to load and dump
+ booleans as instances of those classes. Mainly useful for older perl
+ versions where booleans could not roundtrip.
+
load
my $yaml = <<'EOM';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/lib/YAML/LibYAML.pm
new/YAML-LibYAML-v0.910.0/lib/YAML/LibYAML.pm
--- old/YAML-LibYAML-v0.908.0/lib/YAML/LibYAML.pm 2026-06-21
00:20:31.383883023 +0200
+++ new/YAML-LibYAML-v0.910.0/lib/YAML/LibYAML.pm 2026-07-03
11:26:05.652449229 +0200
@@ -1,6 +1,6 @@
use strict; use warnings;
package YAML::LibYAML;
-our $VERSION = 'v0.908.0'; # VERSION
+our $VERSION = 'v0.910.0'; # VERSION
sub import {
die "YAML::LibYAML has been renamed to YAML::XS. Please use YAML::XS
instead.";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/lib/YAML/XS.pm
new/YAML-LibYAML-v0.910.0/lib/YAML/XS.pm
--- old/YAML-LibYAML-v0.908.0/lib/YAML/XS.pm 2026-06-21 00:20:31.379777521
+0200
+++ new/YAML-LibYAML-v0.910.0/lib/YAML/XS.pm 2026-07-03 11:26:05.648090057
+0200
@@ -1,7 +1,7 @@
use strict; use warnings;
package YAML::XS;
-our $VERSION = 'v0.908.0'; # VERSION
+our $VERSION = 'v0.910.0'; # VERSION
use base 'Exporter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/lib/YAML/XS.pod
new/YAML-LibYAML-v0.910.0/lib/YAML/XS.pod
--- old/YAML-LibYAML-v0.908.0/lib/YAML/XS.pod 2026-06-21 00:20:31.380339537
+0200
+++ new/YAML-LibYAML-v0.910.0/lib/YAML/XS.pod 2026-07-03 11:26:05.648752366
+0200
@@ -241,6 +241,7 @@
# load and dump options
# utf8 => 0,
+ # boolean => 0,
);
Options:
@@ -318,6 +319,19 @@
created in this case.
You an set it to 1 to allow it.
+=item boolean
+
+Since version v0.909
+
+Default: 0
+
+Booleans will be loaded as real booleans since perl 5.36.0, and
+as C<1|''> before.
+
+You can set the value to L<JSON::PP> or L<boolean> to load and dump booleans as
+instances of those classes. Mainly useful for older perl versions
+where booleans could not roundtrip.
+
=back
=head3 load
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/t/oop/13-utf8.t
new/YAML-LibYAML-v0.910.0/t/oop/13-utf8.t
--- old/YAML-LibYAML-v0.908.0/t/oop/13-utf8.t 2026-06-21 00:20:31.380243015
+0200
+++ new/YAML-LibYAML-v0.910.0/t/oop/13-utf8.t 2026-07-03 11:26:05.648645089
+0200
@@ -44,7 +44,7 @@
$ENV{TEST_VERBOSE} and Dump $yaml;
}
-if (require JSON::PP) {
+if (eval {require JSON::PP; 1}) {
my $j = JSON::PP->new;
my $ju = JSON::PP->new->utf8;
my ($json, $data);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-v0.908.0/t/oop/16-boolean.t
new/YAML-LibYAML-v0.910.0/t/oop/16-boolean.t
--- old/YAML-LibYAML-v0.908.0/t/oop/16-boolean.t 1970-01-01
01:00:00.000000000 +0100
+++ new/YAML-LibYAML-v0.910.0/t/oop/16-boolean.t 2026-07-03
11:26:05.651606519 +0200
@@ -0,0 +1,44 @@
+use strict;
+use warnings;
+use Test::More;
+use YAML::XS;
+
+my $yaml = <<'EOM';
+---
+a: true
+b: false
+EOM
+subtest 'JSON::PP' => sub {
+ my $ok = eval "use JSON::PP; 1";
+ unless ($ok) {
+ plan skip_all => "JSON::PP not installed";
+ }
+ my $xs = YAML::XS->new(boolean => 'JSON::PP');
+ my $data = $xs->load($yaml);
+ is ref $data->{a}, 'JSON::PP::Boolean', 'true loaded as expected';
+ is ref $data->{b}, 'JSON::PP::Boolean', 'false loaded as expected';
+
+ my $out = $xs->dump($data);
+ is $out, $yaml, 'dump as expected';
+};
+
+subtest 'boolean.pm' => sub {
+ my $ok = eval "use boolean; 1";
+ unless ($ok) {
+ plan skip_all => "boolean not installed";
+ }
+ my $xs = YAML::XS->new(boolean => 'boolean');
+ my $data = $xs->load($yaml);
+ is ref $data->{a}, 'boolean', 'true loaded as expected';
+ is ref $data->{b}, 'boolean', 'false loaded as expected';
+
+ my $out = $xs->dump($data);
+ is $out, $yaml, 'dump as expected';
+};
+
+subtest invalid => sub {
+ eval { YAML::XS->new(boolean => 'foo') };
+ like $@, qr/YAML::XS->new: boolean only accepts 'JSON::PP', 'boolean' or a
false value/;
+};
+
+done_testing;
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.kkwRtJ/_old 2026-07-08 17:34:22.600944035 +0200
+++ /var/tmp/diff_new_pack.kkwRtJ/_new 2026-07-08 17:34:22.608944312 +0200
@@ -1,6 +1,6 @@
-mtime: 1782032620
-commit: 3c30b8930313e62a65bfdea1b050e0eae01c12e7353c936e1d00a1d216505d8e
+mtime: 1783071457
+commit: 2bb32e4663a553283ef03c6675dc4b40eedfc5a226d45c8e3fb2fb725342d3d0
url: https://src.opensuse.org/perl/perl-YAML-LibYAML
-revision: 3c30b8930313e62a65bfdea1b050e0eae01c12e7353c936e1d00a1d216505d8e
+revision: 2bb32e4663a553283ef03c6675dc4b40eedfc5a226d45c8e3fb2fb725342d3d0
projectscmsync: https://src.opensuse.org/perl/_ObsPrj
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-07-03 11:37:37.000000000 +0200
@@ -0,0 +1 @@
+.osc