What was broken A PHP 8.6 deprecation on every HAL item
The HAL ItemNormalizer calls isHalCircularReference() for every item it normalises. That function used spl_object_hash(), which PHP 8.6 deprecates.
How we fixed it spl_object_id() as the counter key
The hash was only a key for the circular reference counters, so we replaced it with spl_object_id() without changing behaviour. We left ValidationException::getId() alone, because its value ends up in the error IRI.
#8657
What was broken A deprecated method when collecting errors
When collecting deserialisation errors, DeserializeProvider called PartialDenormalizationException::getErrors(), which Symfony Serializer 8.1 deprecates. The functional tests had to expect that deprecation.
How we fixed it The new method with a 7.4 fallback
DeserializeProvider uses getNotNormalizableValueErrors() when it exists and falls back to getErrors() on Symfony Serializer 7.4, the same guard as on the 5.0 branch. A new test checks that the error reaches the violation list with no deprecation, and the functional tests no longer expect one.
#8663