Releases: AurelicButter/AniList-Node
Releases · AurelicButter/AniList-Node
Release 1.10.0
Added
- Added a tutorial document for getting started
- Added a method to update user settings: User.update
- Added a check to prevent crashing if API returns empty string
- Added new types and typings for newly added features
- Added Contributing guide and Pull Request template
Changes
- Replaced moderatorStatus for moderatorRoles per API depreciation
- Fixed typing issue where AnimeUserStatistics and MangaUserStatistics were labeled as strings and not object arrays.
- Marked several properties in AnimeUserStatistics and MangaUserStatistics typings as optional as they are sometimes not present.
- Updated typing export name from UserSettings to MediaListSettings for better clarity
Release 1.9.1
Fixes
- ListEntry.media.title was listed as ListEntry.media.mediaTitle in the types. (#32)
- Added missing properties for staff & character images in the JSDocs.
- Staff.characters lists PersonRelation[] instead of Object[] in the JSDocs.
- isFavourite is not listed as optional for StaffEntry, CharacterEntry, and StudioRelation in the types. isFavourite will always return a boolean, even if there is no login.
Release 1.9.0
Added
- User now returns donatorBadge (#27)
- Users can now import AniList-Node typings into their files (#29)
Fixes
- Fixed several spelling mistakes across the repository. (#27)
- TypeScript typings for UserSetting.mangaList, UserProfile.isBlocked, and UserList.entries are no longer mamngaList, isBlcoekd, and enries (#27)
- Removed stray lines left over from v1.8.0 development (#28)
- Fixed TypeScript typings path (#29)
- Renamed Media interface to ImageSize in typing (#29)
- Renamed ImagesSize interface to CoverImage in typing (#29)
Release 1.8.1
Fixes
- Fixed a typo in typings for MediaTitle.romaji instead of MediaTitle.romanji. (#25)
- Fixed a mistype in PersonRelation.name. PersonRelation.name is a string and does not contain a english value. (#25)
- MediaEntry now list characters and staff as an array of PersonRelation instead of just one person.
- MediaEntry now lists relations as an array of MediaRelation instead of just one relation.
- MediaEntry now references PersonRelation instead of defining the value itself. Also, name does not have an english value and is a string.
Release 1.8.0
Added
- New Class: Recommendation
- get: Get a specific recommendation by its AniList ID
- getList: Get a list of recommendations for a specific media.
- Added getAuthorized method to User. Get a UserProfile object for the current authorized user.
- Added TypeScript types (#22)
Fixes
- Fixed a link issue with AniList.Lists in the documentation
- Added npmignore file to remove development files from release package
Release 1.7.0
Added
- New Class: Activity.
- Users can get a specific activity with an ID via the get method within the new class.
- Users can browse though user activities via the getUserActivity.
- New Class: Search (Available via AniList.searchEntry)
- Adds methods for all possible types previously searchable via the AniList.search method.
- Anime & Manga methods now allow for filtering. See documentation for filtering options.
- New method: Activity. Search and filter activity queries to find the activities users are looking for.
- Depreciated AniList.search method for replacement in the next major release (v2.0.0). New search class will replace the old method on v2.0.0.
Changes
- Improved inline JSDoc to provide better support with Intellisense. AniList.<Class> should now display all possible properties when Intellisense is on.
- Added a utility to clear the documentation files before rebuilding the website with new changes. Update contains a cleaned version of the docs folder.
- Added a new tutorial for filtering
Release 1.6.1
Changes
- Fixed an issue with fetching a user's list and "cannot read property 'activities' from undefined"
- Linked AnimeEntry and MangaEntry to their respective methods in the documentation.
Release 1.6.0
Added
- Added ability to search for users with AniList.search
- Added ability to get the 25 most recent activities of a user via User.getRecentActivities (#14)
Changes
API & Methods
- Media.coverImage returns a large, medium, and small version of the cover image as well as the average hex colour
- Added Media.isLocked to check if an entry has been locked (ie: media cannot be added to lists or favourites.)
- Standardized relations across the board. When referring to a media, character, or staff entry, the query will always return a specific object for that item (ie: ID and name for character and staff). Some keys have been removed or added. See documentation for specific changes.
- User.mediaListOptions no longer gives the useLegacyLists value as that's for the AniList site only.
Package Structure
- Updated inline documentation to be more through and descriptive.
- Depreciated documentation.md in favour of a static HTML site that's attached for offline use within the repository. Also began to host the static site at: https://www.katsurin.com/docs/anilist-node/
- Moved the index.js file into the lib folder with the other JS files.
Release 1.5.0
Changes
- Restructured the package to more class based.
- Fixed a bug with authorization and the token not being distributed to the Fetcher.send method.
- Fixed the NPM test script to use mediaTest instead of animeTest which was depreciated and deleted a few updates back.
- Added a new test: authTest.js