v2.1.0 #46
TTTaevas
announced in
Announcements
v2.1.0
#46
Replies: 0 comments
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.
-
Hi! This is a release that brings two new methods, some stricter typing, and some bug fixing. No breaking changes here, but feel free to read below if you'd like to know the details of this update!
Beatmap
status
of aBeatmap
is now strongly typed (specific strings instead of any string)Beatmapset
searchBeatmapsets()
where explicit content would be hidden even when not settinghide_explicit_content
Match
scoring_type
of aMatch.Event.game
is now strongly typed ("accuracy" | "combo" | "score" | "scorev2"
)team_type
of aMatch.Event.game
is now also strongly typed ("head-to-head" | "tag-coop" | "tag-team-vs" | "team-vs"
)Score
getScore()
0.9785
/97.85
for a score with 97.85% accuracy for example)A small comment: I think it would be a good idea to make the package only return a single accuracy format, but that would mean changing the format somewhere, which would qualify as a breaking change and I'm not releasing a version with breaking changes any time soon
User
getUserPassedBeatmaps()
getUserScores()
where some default arguments would not be properly appliedThank you for using osu-api-v2-js, I hope you'll have fun with this new release!
Full Changelog: v2.0.2...v2.1.0
This discussion was created from the release v2.1.0.
Beta Was this translation helpful? Give feedback.
All reactions