Skip to content

Releases: AurelicButter/AniList-Node

Release 1.14.1

10 Feb 02:34
0d2347b
Compare
Choose a tag to compare

Fixes

  • Fixed typings and documentation for several properties around Date type returns. Some properties were meant to be expecting a FuzzyDate object and others were meant to be expecting string or number.

Full Changelog: v1.14.0...v1.14.1

Release 1.14.0

11 May 21:20
900e672
Compare
Choose a tag to compare

Added

  • Added function to get the site's statistics over the last seven days
  • Added function to get all character entries who's birthday is today
  • Added function to get all staff entries who's birthday is today
  • Added new properties to character and staff queries

Fixes

  • Added a check to the FilterBuilder utility to verify if the filter is an object
  • Alternative for names is now typed as a string array instead of a string
  • Updated typings for characters and staff to reflect changes and updates

Removed

  • Removed siteUrl from character and staff queries

Full Changelog: v1.13.2...v1.14.0

Release 1.13.2

31 Mar 18:17
d012c84
Compare
Choose a tag to compare

Fixes

  • Fixes an issue with string-based values for filtering needing quotations to work. (#61)
  • Fixes an issue with missing properties, isRecommendedBlocked and isLocked, in JSDoc for AnimeEntry and MangaEntry.
  • Fixes an issue with the response catch in the fetcher for rate limiting responses.
  • Fixes an issue with ES modules being unable to type and import AniList-Node in TypeScript projects (#64)

Also includes a possible fix for one issue:

  • Media.Anime function using MediaEntry type instead of AnimeEntry type.

Full Changelog: v1.13.1...v1.13.2

Release 1.13.1

09 Dec 02:16
1faa3a1
Compare
Choose a tag to compare

Fixes

  • Patched an issue for ListEntry Start & End Dates (#56)

Full Changelog: v1.13.0...v1.13.1

Release 1.13.0

12 Oct 01:09
1f8ff82
Compare
Choose a tag to compare

Added

  • Added addEntry method to AniList.lists to add an entry to a user's list
  • Added updateEntry method to AniList.lists to update an entry from a user's list
  • Added removeEntry method to AniList.lists to remove an entry from a user's list.

Full Changelog: v1.12.1...v1.13.0

Release 1.12.1

27 May 17:53
d2c42f5
Compare
Choose a tag to compare

Fixes

  • Patched an issue with user.follow method in typings. (#51)

Full Changelog: v1.12.0...v1.12.1

Release 1.12.0

27 Apr 20:30
Compare
Choose a tag to compare

Added

  • Added follow method to User class
  • Added method to get comments in threads by ID to Thread class
  • Added method to delete thread to Thread class
  • Added toggle favourite methods for anime, manga, characters, studios, and staff entries
  • Added methods to get media tags and genres

Fixes

  • Fixed non-promise labeling for methods in TypeScript definitions
  • Patched an issue where invalid JSON returns would crash
  • Updated Authorization section on README

Full Changelog: v1.11.2...v1.12.0

Release 1.11.2

16 Mar 23:59
7dd7b45
Compare
Choose a tag to compare

Fixes

  • Fixed an issue where if the request times out, it doesn't return a proper error. (#47)

Full Changelog: v1.11.1...v1.11.2

Release 1.11.1

21 Feb 22:14
bc9c7c1
Compare
Choose a tag to compare

Fixes

  • Fixed an issue where activity properties were missing from user.getRecentActivity method.
  • Fetcher will automatically throw an error if authorization is required but none is provided.
  • Updated all mutation functions to explicitly use the async keyword so it can relay the authorization error if needed.

Full Changelog: v1.11.0...v1.11.1

Release 1.11.0

06 Nov 16:10
Compare
Choose a tag to compare

Added

  • A new class: Thread. Get thread contents by its AniList ID
  • Added new methods to create activities. Post and delete activities on AniList when the user is logged in.
  • Added request timeout to automatically stop the request if AniList takes too long to respond. (#42)

Fixes

  • Fixed object keys on activity and recommendations data objects. Objects originally needed to do data.Activity.id or data.Recommendation.id instead of data.id.
  • Fixed Activity Typings as some typings only existed on ListActivity and not all three Activity types.
  • Fixed JSDoc Dependency for development (#42)
  • Fixed Anilist.Lists Still Appearing (#41)
  • Modified Fetcher to be synchronous instead of async/await (#42)

Depreciated

  • Removed likeCount in activities in favour of the new likes array.

Full Changelog: v1.10.0...v1.11.0