diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-10 05:34:18 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-16 04:58:22 +0300 |
commit | bbae3aecca789e3bde2878f05e8d82ad5d064fa6 (patch) | |
tree | b4133ba09e7bba3e9d6093c88a5027195a2bf336 /CHANGELOG.md | |
parent | ca2f0d3047cee0e084bf02d1e6bae4761eb7c3c0 (diff) |
Dependency injection in API classes
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 321875df34..90bc9d3cb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,12 @@ This is a changelog for Piwik platform developers. All changes for our HTTP API' * `isIpInRange()` * `getHostByAddr()` +### Deprecations +* `API` classes should no longer have a protected constructor. Classes with a protected constructor will generate a notice in the logs and should expose a public constructor instead. + +### New features +* `API` classes can now use dependency injection in their constructor to inject other instances. + ### New commands * There is now a command `core:purge-old-archive-data` that can be used to manually purge temporary, error-ed and invalidated archives from one or more archive tables. |