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

Derive API response version from game version #28349

Merged
merged 2 commits into from
May 29, 2024

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented May 29, 2024

(Or local date, in the case of non-deployed builds).

Came up when I was looking at ppy/osu-web#11240 and found that we were still hardcoding this.

Thankfully, this should not cause issues, since there don't seem to be any (documented or undocumented) API response version checks for versions newer than 20220705 in osu-web master.

For clarity and possible debugging needs, the API response version is also logged.

bdach added 2 commits May 29, 2024 14:10
(Or local date, in the case of non-deployed builds).

Came up when I was looking at ppy/osu-web#11240
and found that we were still hardcoding this.

Thankfully, this *should not* cause issues, since there don't seem to be
any (documented or undocumented) API response version checks for
versions newer than 20220705 in osu-web master.

For clarity and possible debugging needs, the API response version is
also logged.
@smoogipoo smoogipoo merged commit 0a7336e into ppy:master May 29, 2024
8 of 11 checks passed
@bdach bdach deleted the do-not-hardcode-api-version branch May 29, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants