Releases: AurelicButter/AniList-Node
Releases · AurelicButter/AniList-Node
Release 1.14.1
Fixes
- Fixed typings and documentation for several properties around
Date
type returns. Some properties were meant to be expecting aFuzzyDate
object and others were meant to be expectingstring
ornumber
.
Full Changelog: v1.14.0...v1.14.1
Release 1.14.0
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
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
Release 1.13.0
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
Release 1.12.0
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
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
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
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
ordata.Recommendation.id
instead ofdata.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