Skip to content

Releases: webfactory/WebfactoryPolyglotBundle

Drop annotations support, compatibility with Symfony 7.x components

04 Apr 15:03
d7c85e1

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

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

Choose a tag to compare

Prepare transitioning to PHP attributes

28 Mar 12:21
212f4e5

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.

Modernize integration with Doctrine internals

27 Mar 17:39

Choose a tag to compare

This 3.0.0 release improves the integration with Doctrine internals and adds support for type-safe TranslatableInterface fields.

Unless you extend classes that were meant to be internal to this bundle and never used as extension points (see #23), you should be able to upgrade without further ado.

What's Changed

  • Update test matrix for PHP 8.1 and above, Symfony 6.4 and above by @mpdude in #20
  • Mark classes internal to this bundle as final by @mpdude in #23
  • Make members private instead of protected, where possible by @mpdude in #24
  • Use PHP 8.1+ language features by @mpdude in #25
  • Improve test code style by @mpdude in #27
  • Improve and simplify integration with ORM internals by @mpdude in #28
  • Test that Translatables can be used for values beyond strings, e. g. objects by @mpdude in #30
  • Show that new translations can be persisted by @mpdude in #29
  • Add support for type-safe TranslatableInterface fields (Case 167550) by @mpdude in #31

Full Changelog: 2.5.0...3.0.0

Erlaube PHP 8.3

15 Mar 14:40
6d6c49f

Choose a tag to compare

2.5.0

Erlaube PHP 8.3 (Case 169277) (#35)

Erlaubt die Verwendung mit Symfony 6.x

31 Mar 07:14
44a0939

Choose a tag to compare

2.4.0

Bereite Symfony 6 Kompatibilität vor (Case 157813) (#19)

Allow Symfony 5.x components and PHP 8.0/8.1 to be used

17 Jan 09:47
51586e6

Choose a tag to compare

2.3.0

Update test matrix to include PHP 8.1 and Symfony 5 (#12)

Fixes a warning when using file-based caching with symfony/cache

22 Dec 08:54
d4183d8

Choose a tag to compare

Allows Symfony 4.x components

10 Jul 21:33
814a923

Choose a tag to compare

2.1.0

Update Travis configuration and allow Symfony 4.x components (#8)