Login  |  Packages  |  Support  |  Bugs

Return

Changelog for yaml
Release What has changed?
2.2.4 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 &$ndoc as expected (tomterl)
- Fix [-Wincompatible-pointer-types] warning (remicollet)
2.2.3 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)
2.2.2 Bugs Fixed:
- PHP 8.1 compilation fixes (remicollet)
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)
2.0.4 Bugs Fixed:
- #72540 yaml_parse_url: check php_stream_copy_to_mem return value
1.3.2 Bugs Fixed:
- #74886 Type confusion when processing yaml array merges
2.0.3 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)
2.0.2 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)
2.0.1 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)
1.3.1 Bugs Fixed:
- #72540 yaml_parse_url: check php_stream_copy_to_mem return value
1.3.0 New Features:
- Removed IS_UNICODE (PHP6) support
- Removed support for PHP <5.3.3
- Timestamps encoded according to https://www.w3.org/TR/NOTE-datetime

Bugs Fixed:
- Various missing free calls (remicollet, bd808)
- Fix parameter parsing for yaml_emit_file
- Fix callback handling for yaml_emit_file
- Fix result of tag callback to be copied to aliases (ranvis)
- #71696 Bad datetime management
2.0.0 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
2.0.0RC8 Bugs Fixed:
- 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
1.3.0b1 New Features:
- Removed IS_UNICODE (PHP6) support
- Removed support for PHP <5.3.3
- Timestamps encoded according to https://www.w3.org/TR/NOTE-datetime

Bugs Fixed:
- Various missing free calls (remicollet, bd808)
- Fix parameter parsing for yaml_emit_file
- Fix callback handling for yaml_emit_file
- Fix result of tag callback to be copied to aliases (ranvis)
- #71696 Bad datetime management
2.0.0RC7 Bugs Fixed:
- Fix handling of tag callbacks for aliased values (ranvis)
2.0.0RC6 Bugs Fixed:
- #71045 zend_mm_alloc_small crashes with zend_string_alloc
2.0.0RC5 Breaking changes:
- #69617 yaml.decode_php ini setting now defaults to false.
Bugs Fixed:
- Fixed parameter parsing for yaml_emit_file()
- Fixed callback usage for yaml_emit_file()
- Use smart_str_free() instead of smart_string_free() (remicollet)
2.0.0RC4 Bugs Fixed:
- Use zend_* datatypes (weltling)
- Fix handling of optional encoding argument to yaml_emit_file (weltling)
- Removed PHP6 compat IS_UNICODE support (bd808)
2.0.0RC3 Bugs Fixed:
- Premature free in y_write_object (remicollet)
- Uninitialized smart_str in convert_to_char (remicollet)
- Missing free in convert_to_char (remicollet)
2.0.0RC2 New Features:
- Change min PHP verison from 7.0.0RC5 to 7.0.0-dev
2.0.0RC1 New Features:
- PHP7 compatible
- 2.x series will no longer support PHP5
1.2.0 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
1.1.1 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
1.1.0 Marking 1.1.0 branch as stable. No change from 1.1.0RC2.
1.1.0RC2 Bugs Fixed:
- #61477 memset sizeof(struct) instead of sizeof(pointer)
- #61475 config.m4 honors `php-config --prefix`
1.1.0RC1 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
1.0.1 - 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
1.0.0 Marking package as stable after 12 months of daily production usage.
0.6.3 Fixed packaging problem that broke install via pecl channel.
0.6.2 First release from new hosting at svn.php.net via pecl.php.net

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks