Skip to content

Releases: Squiddleton/Fortnite-API

v2.0.2

11 Sep 22:07
Compare
Choose a tag to compare

Documentation

Fix documentation for Client#cosmetics() when fetching only beans
Update documentation for Client#shop() to mention response flags

v2.0.1

11 Sep 22:00
Compare
Choose a tag to compare

Typings

Replace zh-CN language with zh-Hans

v2.0.0

11 Sep 21:52
Compare
Choose a tag to compare

Features

Add Bean cosmetics and images
Add optional key argument for Client#stats()
Add response flags options for cosmetic and shop endpoints
Add ResponseFlags enum

Types

Re-type all nullable properties as optional
Add NewDisplayAsset#renderImages
Add ShopEntry#colors
Add default type generic to CosmeticSearchOptions
Update AnyCosmetic union type
Remove deprecated types
Update all types in accordance with Fortnite-API documentation

Refactors

Replace node-fetch package with the Node.js native Fetch API

  • Node.js v18 or higher is now required.

Remove deprecated endpoints, functions, and types
Integrate Client#listCosmetics() into Client#cosmetics()
Rename Client#findCosmetic() to #brCosmeticsSearch()
Rename Client#filterCosmetics() to #brCosmeticsSearchAll()
Replace Client#brShop() and #newShop() with #shop()

v1.5.0

19 Feb 22:23
Compare
Choose a tag to compare

Features

Add endpoints for updated cosmetics, tracks, cars, instruments, LEGO, and updated shop
Add Client#cosmetics()
Add Client#newShop()

Types

Document LEGO images
Type MaterialInstance#scalings and #flags as nullable
Add BaseCosmetic and BaseShopEntry parent interfaces

Names

Rename Endpoints.CosmeticsList to Endpoints.BRCosmetics
Rename Endpoints.NewCosmetics to Endpoints.NewBRCosmetics
Rename Client#shop() to Client#brShop()
Rename Cosmetic to BRCosmetic
Rename NewCosmetics to NewBRCosmetics
Rename AllCosmeticsOptions to AllBRCosmeticsOptions
Rename Map to FortniteMap

  • Note: Old names are still usable in v1.x.x versions, but they will be removed in the next major version.

Refactors

Sort imports alphabetically
Downgrade @types/node dependency to match minimum NodeJS version

Documentation

Fix Endpoints typo in README
Update README with new example for fetching BR cosmetics

v1.4.0

27 Nov 21:10
Compare
Choose a tag to compare

Typings

Add ShopEntry.layout

v1.3.0

29 Sep 14:43
Compare
Choose a tag to compare

Typings

Type ShopEntry.section as nullable

v1.2.0

27 Jun 00:54
Compare
Choose a tag to compare

Typings

Type CosmeticImages.icon as nullable
Type FortniteAPIError.code and RawFortniteAPIError.status as number (e.g., 500 Internal Server Error)

v1.1.1

02 Mar 15:30
Compare
Choose a tag to compare

Typings

Type <Playlist>.name as nullable

v1.1.0

09 Dec 03:41
Compare
Choose a tag to compare

Typings

Add named union types for all string unions
Add interfaces for all nested objects

Other

Specify minimum node version in package.json

v1.0.1

21 Oct 17:33
Compare
Choose a tag to compare

Bug Fixes

Type cosmetic variants as nullable