v1.0.0-rc.1
Stable Release Candidate 1
10x performance increase when serializing/deserializing models!
Breaking changes
- Removed internal
wom._cli
module. - Renamed project info
wompy
cli command towom
. - Models are now
msgspec.Struct
models instead ofattrs
models. PlayerDetail
now inherits fromPlayer
and so theplayer
property was removed.PlayerAchievementProgress
now inherits fromAchievementProgress
and so the
achievement
property was removed.PlayerCompetitionStanding
now inherits fromPlayerParticipation
and so the
participation
property was removed.GroupMembership
andPlayerMembership
now inherit fromMembership
and so the
membership
property was removed.PlayerArchive
now inherits fromArchive
and so thearchive
property was removed.- Renamed
RecordService.get_global_record_leaderboards
toget_global_leaderboards
. RecordLeaderboardEntry
now inherits fromRecord
and so therecord
property
was removed.- Removed
DeniedNameChangeReviewContext
, andSkippedNameChangeReviewContext
,
their properties now live onNameChangeReviewContext
. CompetitionParticipationDetail
now inherits fromCompetitionParticipation
and so theparticipation
property was removed.CompetitionDetail
now inherits fromCompetition
and so thecompetition
property was removed.CompetitionService.edit_competition
now returns aCompetition
.- All methods in the
Serializer
prefixed withdeserialize_
were removed. GroupDetail
now inherits fromGroup
and so thegroup
property was removed.- The
verification_code
property onGroupDetail
was removed. - Converted the
Skills
,Activities
,Bosses
, andComputedMetrics
enums
intofrozenset
s. CompetitionWithParticipations
was renamed toCreatedCompetitionDetail
because the
participations
property was removed and added toCompetition
and the name was no
longer an accurate representation of the object.EfficiencyService.get_global_leaderboard
was renamed toget_global_leaderboards
to be in line with the other leaderboard method names.- The
from_str
andfrom_str_maybe
methods were removed from theMetric
enum.
Additions
- Added
CreatedGroupDetail
model which always has the verification code present. - Added
previous_role
property toGroupActivity
. - Added
CompetitionService.get_details_csv
method. - Added
MetricLeader
class for the different flavors of leader to derive from. - Added
CompetitionCSVTableType
enum for the competition details csv endpoint. - Added pagination to
PlayerService.get_snapshots
.
Changes
Record.value
is now afloat
instead of anint
.ComputedMetricLeader.value
is now afloat
instead of anint
.- The
Metric
enum now includes all variants of the oldSkills
,Activities
,
Bosses
, andComputedMetrics
enums. GroupService.create_group
now returns aCreatedGroupDetail
model.- Updated docstrings for group classes.
- Fixed broken poetry install link in contributing guide.
Diff: v0.9.5...v1.0.0-rc.1
Changelog: v1.0.0-rc1