v3.2.0
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.statusandCreatorCode.disabledhave been removed, since both returned a static value. Disabled creator codes always raiseNotFoundwhen trying to fetch them.CreatorCode.verifiedhas been removed, since it isn't used within the affiliate system. It always returnsFalse.- 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
Forbiddento be raised byClient.fetch_br_statsandSyncClient.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. TileSizeno longer raisesValueErrorwhen an unknown value is passed to it. Instead, it now has a fallback value of-1for both width and height.
- 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