Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-03-17 06:14:11 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-03-17 06:14:11 +0300
commitf76ec2495b19c8b33b8f74f6e3e7e8d9be45324a (patch)
treefa2483f6b20a43d3adb3beec18e44546ed16ada5 /CHANGELOG.md
parent42807de32ab64bef2c18eb1f6a6d0a0358f8c57f (diff)
parent3dabc9e1729b0c64240545b22387c4d36c9fbf3c (diff)
Merge pull request #7407 from piwik/di-api
Dependency injection in API classes
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md6
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.