By dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.1.x
Issue links:
Description:
Various symfony components got updated to version 2.8
Dependency injection: The scope feature is deprecated
Scoped services are deprecated (and removed in 3.0). The alternative is to provide stacked services, like the RequestStack
Dependency injection: The prototype scope is replaced with a shared flag
See:
feed.reader.dublincoreentry:
class: Zend\Feed\Reader\Extension\DublinCore\Entry
- scope: prototype
+ shared: false
Some services are explicitly marked as deprecated using
deprecated: true
Drupal though, opts out of that behaviour for its own service (entity.manager), because symfony throws deprecation errors by default.
A more detailed list of changes can be found on https://github.com/symfony/symfony/blob/2.8/CHANGELOG-2.8.md
Impacts:
Module developers