diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-10-02 12:02:57 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-10-02 12:02:57 +0300 |
commit | cc557da049775209db4b09b29281cfff9070a110 (patch) | |
tree | 477d056ce34dba76f4d18888976323a679d4758a /CHANGELOG.md | |
parent | 0839f2e5e10dfb9908491f6bbf5bb3eaf9bb49b2 (diff) |
do not use eval in minified piwik.js, replace JSON2 with JSON3
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 61189c017e..fefbad8a7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,11 @@ This is a changelog for Piwik platform developers. All changes for our HTTP API' * `Tracker.recordEcommerceGoal` * `Tracker.recordStandardGoals` +### Internal change +* In `piwik.js` we replaced [JSON2](https://github.com/douglascrockford/JSON-js) with [JSON3](https://bestiejs.github.io/json3/) to implement CSP (Content Security Policy) as JSON3 does not use `eval()`. JSON3 will be used if a browser does not provide a native JSON API. We are using `JSON3` in a way that it will not conflict i your website is using `JSON3` as well. -### New APIs +### New APIs * The JavaScript Tracker `piwik.js` got a new method `logAllContentBlocksOnPage` to log all found content blocks within a page to the console. This is useful to debug / test content tracking. It can be triggered via `_paq.push(['logAllContentBlocksOnPage'])` * The Class `Piwik\Plugins\Login\Controller` is now considered a public API. |