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:
authordiosmosis <benakamoorthi@fastmail.fm>2014-08-25 23:13:37 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-08-25 23:31:50 +0400
commit1424764fc20f111cc7f6f189b69c3115f7d095ab (patch)
tree28d1f804eabe93ac4e179840070e5576987aebea /CHANGELOG.md
parentbfd484b35e5ec2544d462c9f5b53fa7e704a65e7 (diff)
Move JSON format bug fixes to new JSON2 format so existing clients will not fail. Add deprecation note for JSON format and use JSON2 in future proof code (angularjs/log importer).
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e21a5280bf..367e4b7bd4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,8 +15,9 @@ We removed our own autoloader that was used to load Piwik files in favor of the
### New commmands
* `core:run-scheduled-tasks` Let's you run all scheduled tasks due to run at this time. Useful for instance when testing tasks.
-### Breaking Changes
-* A bug in JSON formatting was fixed so API methods that return simple associative arrays like `array('name' => 'value', 'name2' => 'value2')` will now appear correctly as `{"name":"value","name2":"value2"}` in JSON API output instead of `[{"name":"value","name2":"value2"}]`. API methods like **SitesManager.getSiteFromId** & **UsersManager.getUser** are affected
+### Deprecations
+* The `'json'` API format is considered deprecated. We ask all new code to use the `'json2'` format. Eventually when Piwik 3.0 is released the `'json'` format will be replaced with `'json2'`. Differences in the json2 format include:
+ * A bug in JSON formatting was fixed so API methods that return simple associative arrays like `array('name' => 'value', 'name2' => 'value2')` will now appear correctly as `{"name":"value","name2":"value2"}` in JSON API output instead of `[{"name":"value","name2":"value2"}]`. API methods like **SitesManager.getSiteFromId** & **UsersManager.getUser** are affected.
## Piwik 2.5.0