Skip to content

v2.0.1

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jul 00:00
· 116 commits to master since this release

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 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