diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-06-18 05:30:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 05:30:13 +0300 |
commit | b4cf4587cd49a80f2c29a1592ef0e100c9927630 (patch) | |
tree | c3f13e5b8a854271a98bca33c127fa22189b8dd1 /CHANGELOG.md | |
parent | 7edb0c7296fe5e97626d50a85c8b1a89ce4053d6 (diff) |
Document StaticContainer considered no longer API (#16084)
Forgot to document this one earlier. If somewhere constructor injection doesn't work, we'll need to either try to make it work there or tell them to still use staticcontainer for now. But it might just work for most plugins.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index fc4d13e38a..a69fdb8092 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,6 +92,7 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)* * The class `\Piwik\ScheduledTask` has been removed. Use `\Piwik\Scheduler\Task` instead. * The class `\Piwik\Translate` has been removed. Use `\Piwik\Translation\Translator` instead. * The class `\Piwik\Plugins\Login\SessionInitializer` is no longer considered API as it is no longer needed. +* The class `\Piwik\Container\StaticContainer` still exists but we no longer consider it an API and constructor injection should be used instead where possible. * The method `Piwik\Columns\Dimension::factory` has been removed. Use `DimensionsProvider::factory` instead. * The method `Piwik\Config::reset` has been removed. Use the `reload` method instead. * The method `Piwik\Config::init` has been removed. Use the `reload()` method instead. |