v2.0.1 #42
TTTaevas
announced in
Announcements
v2.0.1
#42
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.
-
Hello! This is a minor release that focuses on updating the interfaces related to
getRoomEvents()
, a method that was added in the previous osu-api-v2-js version. The response returned by the server has changed through the osu-web PR 12192 which came into effect on 2025-06-05! (two days ago)Beatmapset
status
property ofBeatmapset
is now more strongly typed (to be one of specific strings instead of any string)Multiplayer
Event.GameStarted
,Event.Other
, andEvent.Any
have been removed (andevent_type
has been added toEvent
)events
property ofgetRoomEvents()
's response therefore became anEvent
(instead ofEvent.Any
)getRoomEvents()
's response has seen these properties added:beatmaps
,beatmapsets
,room
Room
now has astatus
property (can be either"idle"
or"playing"
)getRoom()
andgetRooms()
is nowRoom.WithHostRecentparticipants
(wasRoom
before, so no property has been removed)Because the osu-web PR 12912 was pending at the time of osu-api-v2-js 2.0.0's release, I had added a remark in
getRoomEvents()
's documentation that its response was likely to change soon. I have now removed that comment, but do keep in mind that the server can always change its responses at any time for any route!Enjoy!
Full Changelog: v2.0.0...v2.0.1
This discussion was created from the release v2.0.1.
Beta Was this translation helpful? Give feedback.
All reactions