Skip to content

Releases: Sheppsu/osu.py

v3.0.0

23 Oct 07:51
Compare
Choose a tag to compare

New changes

  • Added new attributes to UserBeatmapType and updated docs of Client.get_user_beatmaps accordingly.
  • Added api_version parameter to Client
  • 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, and chat_keepalive to Client
  • Added DAILY_CHALLENGE to RoomCategory (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 one BaseAuthHandler is using on instantiatiation
  • Switched from using python-dateutil to a minimal self-contained util function

Breaking changes

  • poll_options parameter on Client.create_topic changed type from Optional[str] to Optional[List[str]]
  • aiohttp was moved from requirements.txt to the "async" feature, which can be installed via pip 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

12 Oct 08:20
Compare
Choose a tag to compare

Bugs

  • Fixes support for older versions

Docs

  • Slight improvement to docs

v2.3.0

12 Oct 07:52
Compare
Choose a tag to compare

New changes

  • Added beatmap and beatmapset to SoloScore
  • Added profile_hue to User

Internal changes

  • Change logic of get_score_object to rely on type attribute

v2.2.3

09 Oct 01:23
Compare
Choose a tag to compare

Bug fix

  • Removes debug code that accidentally made it into the last release

v2.2.2

08 Oct 09:17
Compare
Choose a tag to compare

Deprecations

  • key parameter on Client.get_user is deprecated in favor of prefixing usernames with "@"

New

  • Added order parameter on BeatmapsetSearchFilter.set_sort
  • Added Client.lookup_users

Docs

  • Added missing enums on the docs: BeatmapsetSearchSort, BeatmapsetSearchStatus, BeatmapsetSearchExtra, BeatmapsetSearchGeneral, and BeatmapsetSearchPlayed, ``

v2.2.1

06 Aug 18:10
Compare
Choose a tag to compare

Highly recommend switching to this version because of a crucial internal change.

Fixes

  • Fix typing for GameModeStr.get_int_equivalent and GameModeInt.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

29 Jul 02:57
Compare
Choose a tag to compare

Changes

  • Deprecated Client.from_client_credentials in favor of Client.from_credentials and same for AsynchronousClient.from_credentials, which has a new parameter lazily_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 and DailyChallengeUserStats

v2.1.2

09 Jun 02:45
Compare
Choose a tag to compare

Removes some uncaught debug code

v2.1.1

08 Jun 16:21
Compare
Choose a tag to compare

This version complies with changes to beatmapset nomination requirements

  • BeatmapsetRequirement has two new optional attributes: eligible_main_rulesets and required_meta and required is now optional
  • Added BeatmapsetRequiredNominations as the type of required_meta

v2.1.0

31 May 15:32
Compare
Choose a tag to compare

New features

  • Add UserStatistics.rank_change_since_30_days