Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
Description: 

Methods in \Drupal\Component\Serialization\Yaml no longer checks for the YAML PECL extension, and now only uses the Symfony YAML implementation.

  • \Drupal\Component\Serialization\YamlSymfony is deprecated and all methods on \Drupal\Component\Serialization\Yaml now use the Symfony implementation
  • \Drupal\Core\Serialization\Yaml is now an alias for Drupal\Component\Serialization\Yaml
  • The yaml_parser_class setting is deprecated and there is no replacement. It can be removed safely from your settings.php
Impacts: 
Module developers

Comments

mattew’s picture

Hi,
It seems that this settings remain in the code here: https://git.drupalcode.org/project/drupal/-/blob/10.3.x/core/lib/Drupal/...
This is normal?
We continue to get a deprecation messages about this setting.
Thanks a lot