- .gitignore: Ignore *.dep files generated by build
- dev-tools/maintainer-clean.sh: Update to match `make distclean`
- dev-tools/maintainer-clean.sh: Delete more generated files
- dev-tools/test-build.sh: Allow selecting YAML dir with LIBYAML envvar
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)
Ignore warnings while running tests involving explicit null handling.
This avoids false test failures triggered by PHP 8.5 deprecation
warnings.
Bug: #97
* Update setup-php-sdk to v0.10 and enable caching
* Update AppVeyor CI
* use php-sdk 2.3.0 from php fork (the microsoft repo is archieved)
* switch to downloads.php.net
* update to latest releases of PHP 7.*
* Add jobs for PHP 8.4 (requires to use windows-2022 runners)
* Support for php8.3 on Windows using php/setup-php-sdk@v0.8
* Collect the build artifacts (.dll / .so) in the following format:
* Linux: `yaml_${{ matrix.php-version }}_linux`
* Windows: `yaml_${{ matrix.php-version }}_win32_${{ matrix.ts }}_${{ matrix.arch }}`
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)
We must not forget to release the previously created array in case we
return early due to an undefined value.
This memory leak could be observed when running `yaml_parse_003.phpt`
and `yaml_parse_004.phpt` under a debug build or with a leak checker.
We need to release the `retval` of `call_user_function()`.
This memory leak could be observed when running `yaml_emit_008.phpt`
and `yaml_emit_009.phpt` with a debug build or under a leak checker.
We must not assume that `key->val` is `sizeof(YAML_TIMESTAMP_TAG)` long
or longer. Actually, `zend_string_equals_literal()` (available as of
PHP 7.0.0) does exactly what we want.