diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-17 06:14:11 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-17 06:14:11 +0300 |
commit | f76ec2495b19c8b33b8f74f6e3e7e8d9be45324a (patch) | |
tree | fa2483f6b20a43d3adb3beec18e44546ed16ada5 /CHANGELOG.md | |
parent | 42807de32ab64bef2c18eb1f6a6d0a0358f8c57f (diff) | |
parent | 3dabc9e1729b0c64240545b22387c4d36c9fbf3c (diff) |
Merge pull request #7407 from piwik/di-api
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. |