Skip to content

v3.1.0

Choose a tag to compare

@Luc1412 Luc1412 released this 23 Oct 17:34
· 68 commits to master since this release
efe345b

This version introduces new data for shop-related objects, reflecting the updated shop layouts and the Fortnite webshop. Additionally, it includes functions that were omitted in version v3.0.0 and addresses a design decision that results in a breaking change.

Breaking Changes

  • ShopEntryNewDisplayAsset has been renamed to NewDisplayAsset.
  • Alias BannerColor.colour has been removed for consistency. The API does not use aliases, use BannerColor.color instead.

New Features

  • Added new object ProductTag.
  • Added attribute MaterialInstance.product_tag.
  • Added new object ShopEntryOfferTag.
  • Added new object ShopEntryColors.
  • Added new object RenderImage.
  • Added attribute ShopEntryLayout.rank.
  • Added attribute NewDisplayAsset.render_images.
  • Added attribute ShopEntry.offer_tag.
  • Added attribute ShopEntry.colors.

Bug Fixes

  • Fixed an issue where type and time_window parameters were not respected when fetching stats.
  • Playlist.images now returns None when no images are available, instead of an empty dict.
  • Bug fix for returning naive datetime objects in rare cases. All datetime objects are UTC aware.

Documentation

  • Added response flags documentation to explain how to use the ResponseFlags class, how to enable response flags, which response flags are available, and when you should enable them.
  • Added opt-in directive in the documentation on attributes that require a specific response flag to be set. This ensures users know of the response flags required to access certain attributes when using the API.

Miscellaneous

  • Previously, fetching specific game mode news raised ServiceUnavailable due to improper handling from Fortnite-API.com. This has been fixed within the API. Now, when no news is available, NotFound is raised instead. This change is also reflected in the documentation.