Skip to content
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

Document which APIs break in particular for JSON response #16061

Merged
merged 1 commit into from Jun 12, 2020
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jun 12, 2020

fix #16009

These were the API's I could identify. Should there be more then we'll need to add them later too.

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Jun 12, 2020
@tsteur tsteur added this to the 4.0.0 milestone Jun 12, 2020
* Goals.getGoal
* UsersManager.getUser
* UsersManager.getUserByEmail
* SitesManager.getSiteFromId
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if it would make sense to add tests for those methods. Guess they are currently untested, as we didn't have any changes in expected results 🤔 Not needed for this PR though, but might be worth to create an issue maybe

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was wondering this initially as well. Noticed we're using XML format in system tests and tests are actually covered by json renderer test itself. There shouldn't be a need to run each method with every format as be bit too much and making build slower etc. We even knew it was breaking API it was just not clear which ones are affected

@tsteur tsteur merged commit 9fe5065 into 4.x-dev Jun 12, 2020
@tsteur tsteur deleted the m16009 branch June 12, 2020 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Breaking HTTP API change in Matomo 4 in getSiteFromId
2 participants