Skip to content

Releases: Jonxslays/wom.py

v1.0.1

26 Sep 01:17
946ce1a
Compare
Choose a tag to compare

Additions

  • Added two new boss metrics Amoxliatl and Hueycoatl.

Diff: v1.0.0...v1.0.1
Changelog: v1.0.1

v1.0.0

22 Sep 00:25
3b7cd0e
Compare
Choose a tag to compare

Stable!

Changes

  • Group.clan_chat is now optional.

Bugfixes

  • Fix old groups with no clan chat failing to deserialize.

Diff: v1.0.0-rc.1...v1.0.0
Changelog: v1.0.0

v1.0.0-rc.2

29 Aug 19:22
Compare
Choose a tag to compare

Stable Release Candidate 2

Additions

  • Added Araxxor to Metric and Bosses.

Diff: v1.0.0-rc.1...v1.0.0-rc.2
Changelog: v1.0.0-rc2

v1.0.0-rc.1

08 Aug 04:01
Compare
Choose a tag to compare

Stable Release Candidate 1

10x performance increase when serializing/deserializing models!

Breaking changes

  • Removed internal wom._cli module.
  • Renamed project info wompy cli command to wom.
  • Models are now msgspec.Struct models instead of attrs models.
  • PlayerDetail now inherits from Player and so the player property was removed.
  • PlayerAchievementProgress now inherits from AchievementProgress and so the
    achievement property was removed.
  • PlayerCompetitionStanding now inherits from PlayerParticipation and so the
    participation property was removed.
  • GroupMembership and PlayerMembership now inherit from Membership and so the
    membership property was removed.
  • PlayerArchive now inherits from Archive and so the archive property was removed.
  • Renamed RecordService.get_global_record_leaderboards to get_global_leaderboards.
  • RecordLeaderboardEntry now inherits from Record and so the record property
    was removed.
  • Removed DeniedNameChangeReviewContext, and SkippedNameChangeReviewContext,
    their properties now live on NameChangeReviewContext.
  • CompetitionParticipationDetail now inherits from CompetitionParticipation
    and so the participation property was removed.
  • CompetitionDetail now inherits from Competition and so the competition
    property was removed.
  • CompetitionService.edit_competition now returns a Competition.
  • All methods in the Serializer prefixed with deserialize_ were removed.
  • GroupDetail now inherits from Group and so the group property was removed.
  • The verification_code property on GroupDetail was removed.
  • Converted the Skills, Activities, Bosses, and ComputedMetrics enums
    into frozensets.
  • CompetitionWithParticipations was renamed to CreatedCompetitionDetail because the
    participations property was removed and added to Competition and the name was no
    longer an accurate representation of the object.
  • EfficiencyService.get_global_leaderboard was renamed to get_global_leaderboards
    to be in line with the other leaderboard method names.
  • The from_str and from_str_maybe methods were removed from the Metric enum.

Additions

  • Added CreatedGroupDetail model which always has the verification code present.
  • Added previous_role property to GroupActivity.
  • 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 a float instead of an int.
  • ComputedMetricLeader.value is now a float instead of an int.
  • The Metric enum now includes all variants of the old Skills, Activities,
    Bosses, and ComputedMetrics enums.
  • GroupService.create_group now returns a CreatedGroupDetail 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

21 Mar 00:04
8ad83b6
Compare
Choose a tag to compare

Additions

  • Add varlamore metrics (ColosseumGlory, LunarChests, SolHeredit).

Diff: v0.9.4...v0.9.5
Changelog: v0.9.5

v0.9.4

09 Mar 14:59
7e7a913
Compare
Choose a tag to compare

Bugfixes

  • Fix bug where PlayerDetail with no latest snapshot would fail to deserialize.

Diff: v0.9.3...v0.9.4
Changelog: v0.9.4

v0.9.3

27 Jan 02:39
0f3b584
Compare
Choose a tag to compare

Additions

  • Add Scurrius to Bosses.

Diff: v0.9.2...v0.9.3
Changelog: v0.9.3

v0.9.2

05 Jan 03:39
c3dcec6
Compare
Choose a tag to compare

Additions

  • Add archive property to PlayerDetail.
  • Add Archive and PlayerArchive models/serialization methods.
  • Add get_archives method to PlayerService.
  • Add to_dict method to Result.

Fixes

  • Fix some Python 3.8 incompatible type hints.

Diff: v0.9.1...v0.9.2
Changelog: v0.9.2

v0.9.1

28 Nov 14:13
c17e121
Compare
Choose a tag to compare

Bugfixes

  • Fix invalid key regression for social links.

Diff: v0.9.0...v0.9.1
Changelog: v0.9.1

v0.9.0

28 Nov 13:49
8cff1ec
Compare
Choose a tag to compare

Additions

  • Add at_random method to BaseEnum for generating an enum variant at random.
  • Add levels property to CompetitionParticipationDetail.
  • Add patron, banner_image, and profile_image properties to Group.
  • Add SocialLinks model and social_links property to GroupDetail.
  • 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 with GroupMemberFragment.
  • Remove usage of weakref slots throughout the project, improving memory footprint.

Diff: v0.8.1...v0.9.0
Changelog: v0.9.0