diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-10-05 00:09:21 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-10-05 00:09:21 +0300 |
commit | 757566b40a31144eff1633b1537afbfd14b48858 (patch) | |
tree | 46472591c8e47be6d05ba24a1b321b1e292a44c5 /CHANGELOG.md | |
parent | d6fc03d4401856a22173a00f56865ea4552455cb (diff) | |
parent | 64869239c289a3fedcba2bb0d741b14da8d18757 (diff) |
Merge pull request #8896 from piwik/1542
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 1f6c1e7c85..f2b9c62546 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,9 +23,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 if 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. |