Skip to content

Releases: webfactory/WebfactoryPolyglotBundle

Avoid using reserved characters in PSR-6 cache keys (#71)

26 Apr 10:13
ccca471
Compare
Choose a tag to compare

Fix that `#[Polyglot\Translatable]` may be used on unmapped fields (#68)

26 Apr 08:49
Compare
Choose a tag to compare

What's Changed

  • Update PHP-CS-Fixer by @mpdude in #59
  • Fix that #[Polyglot\Translatable] may be used on unmapped fields by @mpdude in #68

Full Changelog: 4.1.0...4.1.1

Avoid using reserved characters in PSR-6 cache keys (#70)

26 Apr 10:12
7f3fdbb
Compare
Choose a tag to compare
3.3.1

Avoid using reserved characters in PSR-6 cache keys (#70)

Fix that `#[Polyglot\Translatable]` may be used on unmapped fields

26 Apr 08:44
9c3420b
Compare
Choose a tag to compare

... plus backporting some changes from the 4.x (master) branch necessary to enable or test this feature:

  • Keep declaration of Doctrine Event Listeners (backport to 3.x) by @mpdude in #65
  • Integration tests with the Symfony full-stack framework (backport to 3.x) by @mpdude in #66
  • Allow doctrine/persistence ^3.1 (backport to 3.x) by @mpdude in #67
  • Fix that #[Polyglot\Translatable] may be used on unmapped fields by @mpdude in #68

Full Changelog: 3.2.0...3.3.0

Compatibility with Doctrine/ORM 3.x

09 Apr 08:02
c212eb4
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.1...4.1.0

Fix Symfony 7.0 and doctrine/collections ^2.0 compatibility

07 Apr 13:26
1e21533
Compare
Choose a tag to compare

What's Changed

  • Keep declaration of Doctrine Event Listeners by @relthyg in #51
  • Add integration tests with the Symfony full-stack framework by @mpdude in #54
  • Allow doctrine/collections ^2.0 by @tacman in #53

New Contributors

Full Changelog: 4.0.0...4.1.0

Drop annotations support, compatibility with Symfony 7.x components

04 Apr 15:03
d7c85e1
Compare
Choose a tag to compare

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

Support Doctrine attributes alongside annotations in `BaseTranslation`

04 Apr 10:38
ca1a738
Compare
Choose a tag to compare

What's Changed

  • Support Doctrine attributes alongside annotations in BaseTranslation by @relthyg in #44

Full Changelog: 3.1.1...3.2.0

Configure the `BaseEntity` class with attributes, additionally (#41)

02 Apr 11:29
e310121
Compare
Choose a tag to compare

Prepare transitioning to PHP attributes

28 Mar 12:21
212f4e5
Compare
Choose a tag to compare

In this release, he annotations \Webfactory\Bundle\PolyglotBundle\Annotation\Locale, \Webfactory\Bundle\PolyglotBundle\Annotation\Translatable and \Webfactory\Bundle\PolyglotBundle\Annotation\TranslationCollection have been deprecated.

Replace them with the corresponding PHP attributes from the \Webfactory\Bundle\PolyglotBundle\Attribute namespace that have been added in #40.

Using annotations to configure entity classes for this bundle has been deprecated and will be removed in the next major release.