New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reporting API: remove the PHP serialization response format #8100
Comments
+1 |
Sounds good to me too. Hi @braekling - FYI: we may deprecate serialised PHP api output in Piwik 3.0.0. maybe it would be possible to plan ahead of this change, and make WP-Piwik use another API format eg. JSON? (IIRC wp-piwik is using php serialised api) |
|
@mattab Thanks for the advise. I'm working on this. |
FYI: WP-Piwik is using JSON now. |
Hi @braekling great to know! |
Note: search in codebase for |
Moving tentatively to Piwik 4.0.0 (PHP format export causes some issues such as #11108 ) Maybe we could announce the PHP format deprecation in Piwik 4 and remove it completely in Piwik 5 |
@mattab I reckon it should be fine to directly remove as part of Matomo 4. It be rarely used I suppose and it's quite easy to migrate to JSON for example. (all you need to do is basically a |
since it's so easy to change to json instead, sounds good to remove the PHP format in Matomo 4 directly 👍 |
A possible response format for APIs is in a PHP serialized string. This isn't good for many reasons:
We could deprecate it for 3.0 and remove it later.
The text was updated successfully, but these errors were encountered: