Releases: Jonxslays/wom.py
Releases · Jonxslays/wom.py
v1.0.1
v1.0.0
v1.0.0-rc.2
Stable Release Candidate 2
Additions
- Added Araxxor to
Metric
andBosses
.
Diff: v1.0.0-rc.1...v1.0.0-rc.2
Changelog: v1.0.0-rc2
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
v0.9.5
v0.9.4
v0.9.3
v0.9.2
Additions
- Add
archive
property toPlayerDetail
. - Add
Archive
andPlayerArchive
models/serialization methods. - Add
get_archives
method toPlayerService
. - Add
to_dict
method toResult
.
Fixes
- Fix some Python 3.8 incompatible type hints.
Diff: v0.9.1...v0.9.2
Changelog: v0.9.2
v0.9.1
v0.9.0
Additions
- Add
at_random
method toBaseEnum
for generating an enum variant at random. - Add
levels
property toCompetitionParticipationDetail
. - Add
patron
,banner_image
, andprofile_image
properties toGroup
. - Add
SocialLinks
model andsocial_links
property toGroupDetail
. - Add getting started guide to the documentation.
Changes
- Methods that previously accepted only
GroupMemberFragment
now accept strings as well. - Update examples in
GroupService
that work withGroupMemberFragment
. - Remove usage of weakref slots throughout the project, improving memory footprint.
Diff: v0.8.1...v0.9.0
Changelog: v0.9.0