Skip to content

v3.2.0

Choose a tag to compare

@Luc1412 Luc1412 released this 25 Nov 10:42
· 52 commits to master since this release

This version introduces support for new Shoes cosmetic type, drops support for Python 3.8, and adds safeguards and future proofing against potential API changes.

Breaking Changes

  • Drop support for Python 3.8. The minimum supported Python version is now 3.9.
  • CreatorCode.status and CreatorCode.disabled have been removed, since both returned a static value. Disabled creator codes always raise NotFound when trying to fetch them.
  • CreatorCode.verified has been removed, since it isn't used within the affiliate system. It always returns False.
  • All enums now use an internal "Enum-like" class to handle unknown values, instead of the built-in enum.Enum. This potentially breaks type checks, but does not break core functionality or change the enum interface; you can use them the same.

New Features

  • Added support for CosmeticType.SHOES.

Documentation

  • Document Forbidden to be raised by Client.fetch_br_stats and SyncClient.fetch_br_stats.

Miscellaneous

  • Add safeguards against Epic Games' API changing or providing invalid values in API responses.
    • All enums now can handle unknown values via an internally defined "Enum-like" class. If the API returns a value not in the enum, it will be stored as an attribute on the enum object. The interface for using this class is the same as using enum.Enum.
    • TileSize no longer raises ValueError when an unknown value is passed to it. Instead, it now has a fallback value of -1 for both width and height.