yaml

YAML-1.1 parser and emitter


Support for YAML 1.1 (YAML Ain't Markup Language) serialization using the
LibYAML library.

License: MIT

Latest releases

Version Release Download
2.2.1 2020-12-20 yaml-2.2.1.tgz
2.2.0 2020-11-28 yaml-2.2.0.tgz
2.2.0b2 2020-09-13 yaml-2.2.0b2.tgz
2.2.0b1 2020-08-16 yaml-2.2.0b1.tgz
2.1.0 2020-04-22 yaml-2.1.0.tgz
Show all releases

Changelog

Version Message
2.2.1 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)
2.2.0 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)
2.2.0b2 New Features:
- PHP 8.0.0b3+ compatibility
2.2.0b1 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)
2.1.0 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)
Show complete changelog