v2.0.0 #41
TTTaevas
announced in
Announcements
v2.0.0
#41
Replies: 1 comment
-
Updated recently without any major issues, thanks for your work! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
New major update for osu-api-v2-js! It has many breaking changes, so if you are updating from a previous version, please carefully review the changelog below for a good understanding of changes and additions
General and API object
getBeatmapSoloScores()
, User'sglobal_rank_exp
&pp_exp
)route_api
,route_token
,request()
andAPIError
's endpoint) are now Arrays instead of Stringsheaders
propertyBeatmap namespace
current_user_playcount
is now a thing for some BeatmapsgetBeatmapUserScore()
's config doesn't allow to specify unsupported properties anymoregetBeatmapUserScores()
's configBeatmapset namespace
genre_id
and alanguage_id
Chat namespace
generateWebSocket()
has been renamed togenerateChatWebsocket()
generateChatWebsocket()
is no longer generated by thews
dependencygetChatWebsocketHeaders()
has been added to help you generate Websockets your own way!Event namespace
getEvents()
's arguments have merged (sort
&cursor_string
intoconfig
)Forum namespace
forum_id
now also support getting Forum objects insteadgetForumTopicAndPosts()
has been renamed togetForumTopic()
Match namespace
scores
ofMatch.Event.game
have been completely changed by the API server, changes to interfaces have been made to reflect thatMiscellaneous namespace
getSeasonalBackgrounds()
is now accessible from there as wellgetCountryRanking()
has been moved there, away from the Ranking namespaceMultiplayer namespace
getRoomLeaderboard()
is no longer locked behind any Scopes, documentation has been udpated to reflect thatgetRoomEvents()
has been added, although its response is currently subject to change by the API serverfreestyle
property toRoom.PlaylistItem
Score namespace
Grade
typegetScores()
has been addedSpotlight namespace
getSpotlightRanking()
has been moved there, away from the Ranking namespaceRanking namespace
User namespace
getUserKudosu()
has been renamed togetUserKudosuHistory()
getUserRanking()
has been moved there, away from the Ranking namespacegetKudosuRanking()
There are a lot of changes, some of them are actually from a couple of months, this changelog doesn't even mention internal changes that shouldn't impact you, so it is definitely possible that I may have forgotten to mention something important. Regardless, I'm ready to help you upgrade from v1.1.3 if you ever find yourself struggling with that!
If you find something that doesn't work as expected, please open an issue!
Thank you very much for using osu-api-v2-js!!
Full Changelog: v1.1.3...v2.0.0
This discussion was created from the release v2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions