Releases: Sheppsu/osu.py
Releases · Sheppsu/osu.py
v3.0.0
New changes
- Added new attributes to
UserBeatmapType
and updated docs ofClient.get_user_beatmaps
accordingly. - Added
api_version
parameter toClient
- Added
set_domain
function 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_keepalive
toClient
- Added
DAILY_CHALLENGE
toRoomCategory
(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
Client
will set its domain to the oneBaseAuthHandler
is using on instantiatiation- Switched from using python-dateutil to a minimal self-contained util function
Breaking changes
poll_options
parameter onClient.create_topic
changed type fromOptional[str]
toOptional[List[str]]
aiohttp
was 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
key
parameter onClient.get_user
is deprecated in favor of prefixing usernames with "@"
New
- Added
order
parameter 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_equivalent
andGameModeInt.get_str_equivalent
Internal changes
- Added
get_required
function, 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.
v2.2.0
Changes
- Deprecated
Client.from_client_credentials
in favor ofClient.from_credentials
and same forAsynchronousClient.from_credentials
, which has a new parameterlazily_authenticate
that determines whether to immediately authenticate or not (defaults to lazy). Additionally,AsynchronousClient.from_credentials
is no longer asynchronous, but returns an awaitable if lazily_authenticate is false.
New
- Added
UserScoreType.PINNED
- Added
User.daily_challenge_user_stats
andDailyChallengeUserStats
v2.1.2
v2.1.1
This version complies with changes to beatmapset nomination requirements
BeatmapsetRequirement
has two new optional attributes:eligible_main_rulesets
andrequired_meta
andrequired
is now optional- Added
BeatmapsetRequiredNominations
as the type ofrequired_meta