Releases: NiceAesth/aiosu
Releases · NiceAesth/aiosu
v2.1.4
What's Changed
- feat: add
get_beatmap_packs
andget_beatmap_pack
by @NiceAesth in #191 - feat: make
UserGradeCounts
attributes not nullable by @NiceAesth in #193 - chore: add sorting for
__all__
by @NiceAesth in #194 - fix: properly implement beatmapset search by @NiceAesth in #195
Full Changelog: v2.1.3...v2.1.4
v2.1.3
What's Changed
- fix: decrease replay timestamp precision by @NiceAesth in #180
- tests: mod type testing by @NiceAesth in #181
- refactor: improve typing by @NiceAesth in #182
- Move py.typed into the aiosu folder by @mayacopeland in #186
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
- chore: rewrite property pr by @NiceAesth in #174
- feat: add
@2x
field for user badge image by @NiceAesth in #177 - feat: add
get_rankings_kudosu
; addbeatmapset_id
param toget_beatmapset_events
by @NiceAesth in #178 - chore(deps): update actions/checkout action to v4 by @renovate in #175
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #176
Full Changelog: v2.1.0...v2.1.2
v2.1.0
What's Changed
- fix: typos in models by @EnricoBaivo in #164
- fix: change mods param to use array by @NiceAesth in #162
- feat: add new chat scopes by @NiceAesth in #165
- feat: add more literal types by @NiceAesth in #166
- fix: only cast to datetime if str by @NiceAesth in #168
- feat: add events endpoint by @NiceAesth in #169
- fix: change type of
UserLevel.progress
to int by @NiceAesth in #170 - feat: add test generator by @NiceAesth in #171
- fix: possible division by 0 in
average_gain
by @NiceAesth in #172 - feat: add
has_replay
alias toLazerScore
, improve property handling by @NiceAesth in #173
New Contributors
- @EnricoBaivo made their first contribution in #164
Full Changelog: v2.0.3...v2.1.0
v2.0.3
Breaking changes
models.Replay
has been moved and renamed tomodels.files.ReplayFile
to facilitate future file serialization
Smaller changes
Score.completion
andLazerScore.completion
no longer raise ValueError. Instead they are now ofOptional
types.Beatmap.count_objects
no longer raises ValueError. Instead it is now ofOptional
type.
What's Changed
- feat: move file related models to separate directory by @lenforiee in #153
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #157
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #158
- fix: remove exceptions from
computed_field()
by @NiceAesth in #160
New Contributors
- @lenforiee made their first contribution in #153
Full Changelog: v2.0.2...v2.0.3
Note: This will be (hopefully) the only time a patch release will have breaking changes. The reason for this happening was that 2.1.0
is reserved for the release that will contain file serialization for other types.
v2.0.2
This release does NOT contain #153
Hotfix release:
- Add workaround for https://bugs.python.org/issue37527 (changed default OAuthToken expiry to 1971 instead of 1970)
- Fix type of
pack_tags
to belist[str]
- Added
track_id: int
,related_users: list[User]
,current_user_attributes: CurrentUserAttributes
,description: BeatmapDescription
,genre: BeatmapGenre
,language: BeatmapLanguage
,converts: list[Beatmap]
toBeatmapset
object - Add beatmap-related fields to
CurrentUserAttributes
v2.0.1
Hotfix release, made model_validate_file
a classmethod
v2.0.0 Changelog
Breaking changes
- Updated the library to use
Pydantic v2
- The
dict
method has been renamed tomodel_dump
- The
json
method has been renamed tomodel_dump_json
- The
parse_obj
method has been renamed tomodel_validate
- The
parse_raw
method has been renamed tomodel_validate_json
- The
parse_file
method has been renamed tomodel_validate_file
- Renamed
Beatmapset.nomination_summary
toBeatmapset.nominations
What's changed
- Updated
models.Mods
to be natively serializable, removing a lot of overhead - Added
Beatmapset.pack_tags
- Added
Beatmapset.current_nominations
- Added
Build.youtube_id
- Added
ChatChannel.message_length_limit
- Added
UserStats.variants
for osu! Mania per-key ranking info
Should see fairly massive performance improvements on any operations with models.
New Contributors
Full Changelog: v1.5.0...v2.0.0
v2.0.0
Breaking changes
- Updated the library to use
Pydantic v2
- The
dict
method has been renamed tomodel_dump
- The
json
method has been renamed tomodel_dump_json
- The
parse_obj
method has been renamed tomodel_validate
- The
parse_raw
method has been renamed tomodel_validate_json
- The
parse_file
method has been renamed tomodel_validate_file
- Renamed
Beatmapset.nomination_summary
toBeatmapset.nominations
What's changed
- Updated
models.Mods
to be natively serializable, removing a lot of overhead - Added
Beatmapset.pack_tags
- Added
Beatmapset.current_nominations
- Added
Build.youtube_id
- Added
ChatChannel.message_length_limit
- Added
UserStats.variants
for osu! Mania per-key ranking info
Should see fairly massive performance improvements on any operations with models.
New Contributors
Full Changelog: v1.5.0...v2.0.0
v1.5.0
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #138
- feat: make public scope optional by @NiceAesth in #139
- style: remove headers from session refresh by @NiceAesth in #140
Full Changelog: v1.4.1...v1.5.0
v1.4.1
What's Changed
- chore(deps): update dependency pytest-asyncio to ^0.21.0 by @renovate in #136
- fix: preserve original function types by @NiceAesth in #137
Full Changelog: v1.4.0...v1.4.1