Releases: Sheppsu/osu.py
Releases · Sheppsu/osu.py
v3.2.0
v3.1.0
v3.0.2
v3.0.1
v3.0.0
New changes
- Added new attributes to
UserBeatmapTypeand updated docs ofClient.get_user_beatmapsaccordingly. - Added
api_versionparameter toClient - Added
set_domainfunction to `Client - Added chat endpoints
get_channel,craete_announcement_channel,create_pm_channel,get_channel_list,mark_channel_as_read,leave_channel,join_channel,send_message_to_channel,get_channel_messages,create_new_pm, andchat_keepalivetoClient - Added
DAILY_CHALLENGEtoRoomCategory(yes it's quite late...) - Change to the output of
FunctionalAuthHandler.get_save_data, which now includes the domain
Internal changes
- the logic for url constants was changed to accommodate easily using other domains, such as dev.ppy.sh
Clientwill set its domain to the oneBaseAuthHandleris using on instantiatiation- Switched from using python-dateutil to a minimal self-contained util function
Breaking changes
poll_optionsparameter onClient.create_topicchanged type fromOptional[str]toOptional[List[str]]aiohttpwas moved from requirements.txt to the "async" feature, which can be installed viapip install osu.py[async]
Tests
- added new and updated tests for all changes to
Client - implemented using dev.ppy.sh for certain tests, such as chat and forum
v2.3.2
v2.3.0
v2.2.3
v2.2.2
Deprecations
keyparameter onClient.get_useris deprecated in favor of prefixing usernames with "@"
New
- Added
orderparameter onBeatmapsetSearchFilter.set_sort - Added
Client.lookup_users
Docs
- Added missing enums on the docs:
BeatmapsetSearchSort,BeatmapsetSearchStatus,BeatmapsetSearchExtra,BeatmapsetSearchGeneral, andBeatmapsetSearchPlayed, ``
v2.2.1
Highly recommend switching to this version because of a crucial internal change.
Fixes
- Fix typing for
GameModeStr.get_int_equivalentandGameModeInt.get_str_equivalent
Internal changes
- Added
get_requiredfunction, which prevents key errors on expected data unless testing is in progress. So bugs can be found during testing but won't affect production code.