Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Oct 29, 2025

Q A
Type bug
BC Break yes
Fixed issues -

Summary

I was wrong in #2791 (comment). The symfony/var-exporter package still exists in version 8.0, but does not provide the lazy objects trait.

I'm allowing its installation, but throw an exception when Configuration::setUseLazyGhostObject() is called.

With Symfony 8.0, only the proxy manager and native lazy objects can be used. The bundle will default to native lazy objects.

It's a breaking change for people that uses doctrine/mongodb-odm standalone and call Configuration::setUseLazyGhostObject(true). They will update to symfony/var-exporter: 8.0.0 and get an exception.

@GromNaN GromNaN merged commit 2287b06 into doctrine:2.15.x Oct 30, 2025
27 checks passed
@GromNaN GromNaN deleted the symfony8 branch October 30, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants