Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jul 23:05
· 118 commits to master since this release

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

Full Changelog: v1.5.0...v2.0.0