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-10 05:34:18 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-03-16 04:58:22 +0300
commitbbae3aecca789e3bde2878f05e8d82ad5d064fa6 (patch)
treeb4133ba09e7bba3e9d6093c88a5027195a2bf336 /CHANGELOG.md
parentca2f0d3047cee0e084bf02d1e6bae4761eb7c3c0 (diff)
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.