Aiosu

Latest version: v2.3.1

Safety actively analyzes 629959 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

2.1.2

What's Changed
* chore: rewrite property pr by NiceAesth in https://github.com/NiceAesth/aiosu/pull/174
* feat: add `2x` field for user badge image by NiceAesth in https://github.com/NiceAesth/aiosu/pull/177
* feat: add `get_rankings_kudosu`; add `beatmapset_id` param to `get_beatmapset_events` by NiceAesth in https://github.com/NiceAesth/aiosu/pull/178
* chore(deps): update actions/checkout action to v4 by renovate in https://github.com/NiceAesth/aiosu/pull/175
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/NiceAesth/aiosu/pull/176


**Full Changelog**: https://github.com/NiceAesth/aiosu/compare/v2.1.0...v2.1.2

2.1.0

What's Changed
* fix: typos in models by EnricoBaivo in https://github.com/NiceAesth/aiosu/pull/164
* fix: change mods param to use array by NiceAesth in https://github.com/NiceAesth/aiosu/pull/162
* feat: add new chat scopes by NiceAesth in https://github.com/NiceAesth/aiosu/pull/165
* feat: add more literal types by NiceAesth in https://github.com/NiceAesth/aiosu/pull/166
* fix: only cast to datetime if str by NiceAesth in https://github.com/NiceAesth/aiosu/pull/168
* feat: add events endpoint by NiceAesth in https://github.com/NiceAesth/aiosu/pull/169
* fix: change type of `UserLevel.progress` to int by NiceAesth in https://github.com/NiceAesth/aiosu/pull/170
* feat: add test generator by NiceAesth in https://github.com/NiceAesth/aiosu/pull/171
* fix: possible division by 0 in `average_gain` by NiceAesth in https://github.com/NiceAesth/aiosu/pull/172
* feat: add `has_replay` alias to `LazerScore`, improve property handling by NiceAesth in https://github.com/NiceAesth/aiosu/pull/173

New Contributors
* EnricoBaivo made their first contribution in https://github.com/NiceAesth/aiosu/pull/164

**Full Changelog**: https://github.com/NiceAesth/aiosu/compare/v2.0.3...v2.1.0

2.0.3

Breaking changes
* `models.Replay` has been moved and renamed to `models.files.ReplayFile` to facilitate future file serialization

Smaller changes
* `Score.completion` and `LazerScore.completion` no longer raise ValueError. Instead they are now of `Optional` types.
* `Beatmap.count_objects` no longer raises ValueError. Instead it is now of `Optional` type.

What's Changed
* feat: move file related models to separate directory by lenforiee in https://github.com/NiceAesth/aiosu/pull/153
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/NiceAesth/aiosu/pull/157
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/NiceAesth/aiosu/pull/158
* fix: remove exceptions from `computed_field()` by NiceAesth in https://github.com/NiceAesth/aiosu/pull/160

New Contributors
* lenforiee made their first contribution in https://github.com/NiceAesth/aiosu/pull/153

**Full Changelog**: https://github.com/NiceAesth/aiosu/compare/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.

2.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 be `list[str]`
- Added `track_id: int`, `related_users: list[User]`, `current_user_attributes: CurrentUserAttributes`, `description: BeatmapDescription`, `genre: BeatmapGenre`, `language: BeatmapLanguage`, `converts: list[Beatmap]` to `Beatmapset` object
- Add beatmap-related fields to `CurrentUserAttributes`

2.0.1

Hotfix release, made `model_validate_file` a classmethod

2.0.0

Breaking changes
- Updated the library to use `Pydantic v2`
- The `dict` method has been renamed to `model_dump`
- The `json` method has been renamed to `model_dump_json`
- The `parse_obj` method has been renamed to `model_validate`
- The `parse_raw` method has been renamed to `model_validate_json`
- The `parse_file` method has been renamed to `model_validate_file`
- Renamed `Beatmapset.nomination_summary` to `Beatmapset.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
* Kuro-Rui made their first contribution in https://github.com/NiceAesth/aiosu/pull/142

**Full Changelog**: https://github.com/NiceAesth/aiosu/compare/v1.5.0...v2.0.0

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.