Skip to content

0.2.5b7 release.

Pre-release
Pre-release
Compare
Choose a tag to compare
@nxtlo nxtlo released this 27 Aug 00:56
· 539 commits to master since this release
0.2.5b7
e658e43

Break changes

This release includes huge break changes. Like classes renames. functions removed and different behavior to match the new bungie api design.

  • Renamed impl.BaseClient main client protocol to impl.RESTful
  • Removed Client.fetch_user_from_id since bungie removed this method.
  • Client.fetch_user_from_id is now Client.fetch_user
  • Client.fetch_player Now requires the full name bungie name with its code, i.e., Fate#1234
  • Removed some class attrs from crate.User repr.
  • The HTTPClient now raises an error before continuing the request if the API was down.
  • All id class attrs that used to return a str object of the id now returns an int object, i.e., '1234' -> 1234.
  • Removed PartialUser ABC since it was really slowing things up for no reason.

Features

  • New class attr unique_name that returns the Bungie user/player's unique name, i.e, Fate#1234.
  • New class attr code that returns the bungie user/player code, i.e, 1234.
  • Optimized HTTP requests speed.
  • type parameter is now optional to pass on Client.fetch_player.
  • Added ClanMember.types that returns all membership types for clan member.
  • Added Player.types that returns all membership types for player.
  • Added the version addition to the docs.
  • Removed overload methods __int__ and __str__ on all userlike crates and added them to the base UserLike object.

Bug fixes

  • Fixed a bug where bungie won't allow 301 without using www. redirect for SearchDestinyPlayer endpoint.