Files
Bryan Davis c1f0d8ba5e Make a 2.3.0 release
New Features:
- Add a composer.json to enable support for PIE (asgrim)
Bugs Fixed:
- #97: Ignore null array offset warnings in explicit null tests (bd808)
- avoid unexpected NAN value was coerced to string (remicollet)
2025-11-11 19:20:54 -07:00

626 lines
19 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.8.0" version="2.0"
xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>yaml</name>
<channel>pecl.php.net</channel>
<summary>YAML-1.1 parser and emitter</summary>
<description>
Support for YAML 1.1 (YAML Ain&apos;t Markup Language) serialization using the
LibYAML library.
</description>
<lead>
<name>Bryan Davis</name>
<user>bd808</user>
<email>bd808@bd808.com</email>
<active>yes</active>
</lead>
<date>2025-11-12</date>
<version>
<release>2.3.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT</license>
<notes>
New Features:
- Add a composer.json to enable support for PIE (asgrim)
Bugs Fixed:
- #97: Ignore null array offset warnings in explicit null tests (bd808)
- avoid unexpected NAN value was coerced to string (remicollet)
</notes>
<contents>
<dir name="/">
<file role="doc" name="CREDITS" />
<file role="doc" name="LICENSE" />
<file role="doc" name="README" />
<file role="src" name="config.m4" />
<file role="src" name="config.w32" />
<file role="src" name="detect.c" />
<file role="src" name="emit.c" />
<file role="src" name="parse.c" />
<file role="src" name="php_yaml.h" />
<file role="src" name="php_yaml_int.h" />
<file role="src" name="yaml.c" />
<dir name="tests">
<file role="test" name="bug_21995.phpt" />
<file role="test" name="bug_59860.phpt" />
<file role="test" name="bug_60628.phpt" />
<file role="test" name="bug_61770.phpt" />
<file role="test" name="bug_61923.phpt" />
<file role="test" name="bug_64019.phpt" />
<file role="test" name="bug_64694.phpt" />
<file role="test" name="bug_69465.phpt" />
<file role="test" name="bug_69616.phpt" />
<file role="test" name="bug_69617.phpt" />
<file role="test" name="bug_72204.phpt" />
<file role="test" name="bug_72540.phpt" />
<file role="test" name="bug_74799.phpt" />
<file role="test" name="bug_74799.yaml" />
<file role="test" name="bug_75029.phpt" />
<file role="test" name="bug_76309.phpt" />
<file role="test" name="bug_77720.phpt" />
<file role="test" name="bug_79494.phpt" />
<file role="test" name="bug_79567.phpt" />
<file role="test" name="bug_79866.phpt" />
<file role="test" name="bug_80324.phpt" />
<file role="test" name="bug_parsing_alias.phpt" />
<file role="test" name="yaml_001.phpt" />
<file role="test" name="yaml_002.phpt" />
<file role="test" name="yaml_emit_001.phpt" />
<file role="test" name="yaml_emit_002.phpt" />
<file role="test" name="yaml_emit_003.phpt" />
<file role="test" name="yaml_emit_004.phpt" />
<file role="test" name="yaml_emit_005.phpt" />
<file role="test" name="yaml_emit_006.phpt" />
<file role="test" name="yaml_emit_007.phpt" />
<file role="test" name="yaml_emit_008.phpt" />
<file role="test" name="yaml_emit_009.phpt" />
<file role="test" name="yaml_emit_file_basic.phpt" />
<file role="test" name="yaml_parse_001.phpt" />
<file role="test" name="yaml_parse_002.phpt" />
<file role="test" name="yaml_parse_003.phpt" />
<file role="test" name="yaml_parse_004.phpt" />
<file role="test" name="yaml_parse_005.phpt" />
<file role="test" name="yaml_parse_006.phpt" />
<file role="test" name="yaml_parse_007.phpt" />
<file role="test" name="yaml_parse_008.phpt" />
<file role="test" name="yaml_parse_file_001.phpt" />
<file role="test" name="yaml_parse_file_001.yaml" />
<file role="test" name="yaml_parse_file_002.phpt" />
<file role="test" name="yaml_parse_file_003.phpt" />
<file role="test" name="yaml_parse_file_003.yaml" />
<file role="test" name="yaml_parse_spec_binary.phpt" />
<file role="test" name="yaml_parse_spec_bool.phpt" />
<file role="test" name="yaml_parse_spec_float.phpt" />
<file role="test" name="yaml_parse_spec_int.phpt" />
<file role="test" name="yaml_parse_spec_map.phpt" />
<file role="test" name="yaml_parse_spec_merge.phpt" />
<file role="test" name="yaml_parse_spec_null.phpt" />
<file role="test" name="yaml_parse_spec_omap.phpt" />
<file role="test" name="yaml_parse_spec_pairs.phpt" />
<file role="test" name="yaml_parse_spec_seq.phpt" />
<file role="test" name="yaml_parse_spec_set.phpt" />
<file role="test" name="yaml_parse_spec_str.phpt" />
<file role="test" name="yaml_parse_spec_timestamp.phpt" />
<file role="test" name="yaml_parse_url_001.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_001.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_002.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_003.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_004.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_005.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_006.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_007.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_008.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBasicTests_009.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBlockMapping_001.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBlockMapping_002.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBlockMapping_003.phpt" />
<file role="test" name="yaml_parse_wiki_YtsBlockMapping_004.phpt" />
<file role="test" name="yaml_parse_wiki_YtsMapInSeq_001.phpt" />
<file role="test" name="yaml_parse_wiki_YtsMapInSeq_002.phpt" />
<file role="test" name="yaml_parse_wiki_YtsMapInSeq_003.phpt" />
<file role="test" name="yaml_parse_wiki_YtsStrangeKeys_001.phpt" />
<file role="test" name="yaml_parse_wiki_YtsStrangeKeys_002.phpt" />
</dir> <!-- /tests -->
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>7.1.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
<optional>
<extension>
<name>date</name>
</extension>
</optional>
</dependencies>
<providesextension>yaml</providesextension>
<extsrcrelease>
<configureoption default="autodetect" name="with-yaml" prompt="Please provide the prefix of libyaml installation" />
</extsrcrelease>
<changelog>
<release>
<date>2025-08-02</date>
<version>
<release>2.2.5</release>
<api>2.0.0</api>
</version>
<notes>
Bugs Fixed:
- use Zend/zend_smart_string.h (remicollet)
</notes>
</release>
<release>
<date>2024-10-07</date>
<version>
<release>2.2.4</release>
<api>2.0.0</api>
</version>
<notes>
Bugs Fixed:
- #85: PHP 8.4.0 beta4 test yaml_parse_file_002.phpt fails (andypost)
- emit.c: fix -Wsign-compare (bd808)
- #75: yaml_parse_file does not set &amp;$ndoc as expected (tomterl)
- Fix [-Wincompatible-pointer-types] warning (remicollet)
</notes>
</release>
<release>
<date>2023-03-05</date>
<version>
<release>2.2.3</release>
<api>2.0.0</api>
</version>
<notes>
Bugs Fixed:
- Fixed memory release on error handling (negram)
- Fix test for PHP 8.2 (andypost)
- #65: Fix #65 yaml_parse_url method not working (remicollet)
</notes>
</release>
<release>
<date>2021-10-24</date>
<version>
<release>2.2.2</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Bugs Fixed:
- PHP 8.1 compilation fixes (remicollet)
</notes>
</release>
<release>
<date>2020-12-20</date>
<version>
<release>2.2.1</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Bugs Fixed:
- #80324: Segfault in YAML with anonymous functions (cmb69)
- Fix memory leak in y_write_object_callback() (cmb69)
- Fix memory leak in handle_mapping() (cmb69)
</notes>
</release>
<release>
<date>2020-11-28</date>
<version>
<release>2.2.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
New Features:
- PHP 8.0 compatibility
Bugs Fixed:
- #79866 Use serialize_precision when encoding double values (bd808)
- yaml_parse_file_002.phpt: Fix expectations for PHP 8.0.0beta1 (bd808)
- Remove use of call_user_function_ex() for compat with PHP 8.0.0a2 (andypost)
- Adjust test values for compat with 32bit platforms (bd808)
- Fix memory leaks (cmb69)
- #79567 Parsing long long values leads to truncation on LLP64 platforms (bd808)
- #77720 Out of memory error when parsing yaml file (bd808)
- [-Wformat=] issue on 32-bit (remicollet)
- relax test on 32-bit (overflow to float) (remicollet)
</notes>
</release>
<release>
<date>2020-09-13</date>
<version>
<release>2.2.0b2</release>
<api>2.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<notes>
New Features:
- PHP 8.0.0b3+ compatibility
</notes>
</release>
<release>
<date>2020-08-16</date>
<version>
<release>2.2.0b1</release>
<api>2.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<notes>
New Features:
- PHP 8.0.0b1 compatibility
Bugs Fixed:
- #79866 Use serialize_precision when encoding double values (bd808)
- yaml_parse_file_002.phpt: Fix expectations for PHP 8.0.0beta1 (bd808)
- Remove use of call_user_function_ex() for compat with PHP 8.0.0a2 (andypost)
- Adjust test values for compat with 32bit platforms (bd808)
- Fix memory leaks (cmb69)
- #79567 Parsing long long values leads to truncation on LLP64 platforms (bd808)
- #77720 Out of memory error when parsing yaml file (bd808)
- [-Wformat=] issue on 32-bit (remicollet)
- relax test on 32-bit (overflow to float) (remicollet)
</notes>
</release>
<release>
<date>2020-04-22</date>
<version>
<release>2.1.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
New Features:
- Basic PHP8 (master branch) compatiblity
Bugs Fixed:
- #79494: The 64-bit YAML ext uses 32-bit signed integer arithmetics (cmb69)
- Use ZEND_LONG_FMT to fix -Wformat warnings (carusogabriel)
- Fix memory leaks when writing timestamps (cmb69)
- Update tests/yaml_parse_file_002.phpt for PHP8 (carusogabriel)
- #78353: Remove deprecated TSRM macros (a.dankovtsev)
</notes>
</release>
<release>
<date>2018-11-24</date>
<version>
<release>2.0.4</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Bugs Fixed:
- #72540 yaml_parse_url: check php_stream_copy_to_mem return value
</notes>
</release>
<release>
<date>2018-11-13</date>
<version>
<release>2.0.3</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Bugs Fixed:
- #75029 Empty documents are valid (bd808)
- #75213 Fix float parsing on Alpine (neclimdul)
- #76309 Quote strings like "0." when emitting (bd808)
- #76522 PHP 7.3 compilation fixes (dktapps, remicollet)
- CRLF and whitespace fixes (petk)
</notes>
</release>
<release>
<date>2017-07-29</date>
<version>
<release>2.0.2</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Same as 2.0.1, but marked correctly as a stable release
Bugs Fixed:
- relax tests to pass with 7.1.4RC1 (remicollet)
- #74799 fix memory leak in apply_filter function (gleb-svitelskiy)
- #72540 fix crash in yaml_parse_url when stream/file is empty (bd808)
</notes>
</release>
<release>
<date>2016-09-24</date>
<version>
<release>2.0.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Breaking changes:
- #69617 yaml.decode_php ini setting now defaults to false.
New Features:
- PHP7 compatible
- 2.x series will no longer support PHP5
Bugs Fixed:
- Premature free in y_write_object (remicollet)
- Uninitialized smart_str in convert_to_char (remicollet)
- Missing free in convert_to_char (remicollet)
- Use zend_* datatypes (weltling)
- Fix handling of optional encoding argument to yaml_emit_file (weltling)
- Removed PHP6 compat IS_UNICODE support (bd808)
- Fixed parameter parsing for yaml_emit_file()
- Fixed callback usage for yaml_emit_file()
- Use smart_str_free() instead of smart_string_free() (remicollet)
- #71045 zend_mm_alloc_small crashes with zend_string_alloc
- Fix handling of tag callbacks for aliased values (ranvis)
- Quick fix on handle_mapping. arrval should be used instead of retval (jabiinfante)
- #71696 Bad datetime management (bocharov)
- Fix memory leak in mapping with sequence (bocharov)
- Fix anchor in anchor problemo (bocharov)
- Fix tests bug_64019.phpt, bug_parsing_alias.phpt (bocharov)
- #72204 Crash when try to parse yaml file
</notes>
</release>
<release>
<date>2015-05-18</date>
<version>
<release>1.2.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
New Features:
- #69617 Allow unserialize for !php/object to be disabled
New yaml.decode_php ini setting to enable/disable serialized php object
processing. Deployments relying on !php/object are encouraged to
explicitly set yaml.decode_php=1 as default will change to disabled in
a future release.
Bugs Fixed:
- Honour --with-libdir
- Fix package.xml schema validation
- Add const for pointers where possible
- Explicitly cast emalloc returns
- #69465 Resolve quoted and non-specific scalars as strings
- #69616 Fix double free when unserialize fails
</notes>
</release>
<release>
<date>2013-11-19</date>
<version>
<release>1.1.1</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
New Features:
- Removed "not yet implemented" warning and deliberate abort from
yaml_emit_file()
Bugs Fixed:
- #61770 Crash on nonunicode character
- #61923 Detect_scalar_type() is not aware of base 60 representation
- #63086 Compiling PHP with YAML as static extension fails
- #64019 Segmentation fault if yaml anchor ends with a colon
- #64694 Segfault when array used as mapping key
</notes>
</release>
<release>
<date>2011-04-15</date>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Marking 1.1.0 branch as stable. No change from 1.1.0RC2.
</notes>
</release>
<release>
<date>2011-03-27</date>
<version>
<release>1.1.0RC2</release>
<api>1.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<notes>
Bugs Fixed:
- #61477 memset sizeof(struct) instead of sizeof(pointer)
- #61475 config.m4 honors `php-config --prefix`
</notes>
</release>
<release>
<date>2011-03-12</date>
<version>
<release>1.1.0RC1</release>
<api>1.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<notes>
New Features:
- #59860 Callback support when parsing implicit tags
- #60711 Callback support when emitting objects
Bugs Fixed:
- #59765 Build process does not honour custom CFLAGS
- #60628 Mystery circular references after tag callback
</notes>
</release>
<release>
<date>2011-02-20</date>
<version>
<release>1.0.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
- Bug #21995: fixed double free bug when a callback mapping is provided
- corrected string length issue with callback "tag" argument
- added "tag" and "flags" arguments to sequence and map callbacks
</notes>
</release>
<release>
<date>2011-02-20</date>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
Marking package as stable after 12 months of daily production usage.
</notes>
</release>
<release>
<date>2010-02-09</date>
<version>
<release>0.6.3</release>
<api>0.6.3</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<notes>
Fixed packaging problem that broke install via pecl channel.
</notes>
</release>
<release>
<version>
<release>0.6.2</release>
<api>0.6.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-02-06</date>
<notes>
First release from new hosting at svn.php.net via pecl.php.net
</notes>
</release>
<release>
<version>
<release>0.6.1</release>
<api>0.6.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-01-25</date>
<notes>
Fixed bad pecl package.
</notes>
</release>
<release>
<version>
<release>0.6.0</release>
<api>0.6.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-01-25</date>
<notes>
Support for '&lt;&lt;' (merge) in mappings. Fixed issues with php 5.3 and
ZTS compilation. Added support for emitting recursive arrays.
</notes>
</release>
<release>
<version>
<release>0.5.0</release>
<api>0.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2009-11-24</date>
<notes>
Implemented yaml_emit and yaml_emit_file. Wrote basic phpdoc content. Lots
and lots of new unit tests.
</notes>
</release>
<release>
<version>
<release>0.4.0</release>
<api>0.4.0</api>
</version>
<stability>
<release>devel</release>
<api>devel</api>
</stability>
<date>2009-11-12</date>
<notes>
Initial release of fork from rsky&apos;s 0.3.0 tarball found at
http://www.opendogs.org/pub/php_yaml-0.3.0.tgz
</notes>
</release>
</changelog>
</package>
<!-- Keep this comment at the end of the file
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=xml
vi: ts=1 sw=1
-->