Skip to content

Drop annotations support, compatibility with Symfony 7.x components

Compare
Choose a tag to compare
@mpdude mpdude released this 04 Apr 15:03
· 22 commits to master since this release
d7c85e1

This major release drops support for the configuration annotations from the Webfactory\Bundle\PolyglotBundle\Annotation namespace. Annotations have been deprecated by the 3.1.0 release, where corresponding PHP 8 attributes were added.

Dropping annotations helps us to get rid of the doctrine/annotations dependency, being able to use Symfony 7 (especially symfony/framework-bundle) with no further configuration.

What's Changed

  • Drop annotations support by @mpdude in #42
  • Update tests to use only attributes to configure Doctrine ORM mappings by @mpdude in #46
  • Fix direct doctrine/* deprecation messages by @mpdude in #47
  • Remove the doctrine/annotations dependency by @mpdude in #48
  • Allow doctrine/persistence:^3.1 by @relthyg in #38
  • Replace annotations by attributes in README.md by @relthyg in #49

Full Changelog: 3.2.0...4.0.0