Releases: tybug/ossapi
Releases · tybug/ossapi
v3.3.4
- update
api#rooms
with new parameters and search modes - add
Scope.{CHAT_WRITE_MANAGE, CHAT_READ}
- No chat endpoints are implemented yet. Coming soon tm.
- always return floats for float properties
- previously, if float properties were an integer in the json (
7
instead of7.0
), they would be returned asint
. This could cause issues for some type checkers.
- previously, if float properties were an integer in the json (
- port automatic reauth to
OssapiAsync
v3.3.3
- automatically ask for reauthentication when application user revokes application or refresh token is invalidated by osu-web
- only relevant for authorization code grant
- I've never seen osu-web invalidate a refresh token, but I think it may happen after several months of inactivity
- will raise instead of re-authing if you passed
access_token
orrefresh_token
, since it's assumed you have your own method of authenticating with the user in that case. You should handle the possibility that ossapi requests raiseReauthenticationRequired
in this case
- add
UserAccountHistoryType.TOURNAMENT_BAN
- add
UserAccountHistory.{id, permanent}
v3.3.2
v3.3.1
v3.3.0
- implement endpoint
api.events()
- add
ChatChannel.message_length_limit
- add
Build.youtube_id
- add
RoomCategory.FEATURED_ARTIST
- add
ChannelType.ANNOUNCE
- mark
UserCompact.default_group
as optional - move
Beatmapset.pack_tags
toBeatmapsetCompact
- move
Beatmapset.current_nominations
toBeatmapsetCompact
- add proper model for
UserStatistics.variants
(breaking change if you previously consumed the raw json of this attribute) - add proper model for
ForumTopic.poll
(breaking change if you previously consumed the raw json of this attribute) - rename
BeatmapDifficultyAttributes
attributes for typos:approach_raty
toapproach_rate
andgreat_hit_windoy
togreat_hit_window
. - remove unused
MessageType.{DISQUALIFY, NOMINATION_RESET}
- remove deprecated and no longer returned
ChatChannel.first_message_id
attribute
v3.2.0
Add support for the lazer (lazer.ppy.sh) and dev (dev.ppy.sh) domains, in addition to the default osu (osu.ppy.sh) domain. The short of it is that you will now be able to retrieve lazer-specific information (scores, leaderboards) by specifying domain="lazer"
to Ossapi
.
See https://circleguard.github.io/ossapi/domains.html for more information.