Releases: duck7000/imdbGraphQLPHP
Releases · duck7000/imdbGraphQLPHP
New method and bug fixes
There shouldn't be any user changes other than category names might be different, the working is the same.
- Title class goof(), trivia() and connection() removed hard-coded category names, use real categoryID's instead.
- Name class credit() removed hard-coded category names, use real categoryID's instead.
This is a new method that returns credits for voice actors. This is new on IMDb
- Title class Added a new method voiceActor
New method interests
- Title class renamed interests() to interestingKeywords() to better suit its purpose
- Title class Added a new interests() method, this will get real interests including language interests and id's
Bug fixes
- Updated Logger and LoggerInterface to PSR-3 only (PSR-1 and 2 are no longer supported as only one version can be added)
- Title class search() now has image urls included
- Config class cacheUseZip default is changed to false as it can in rare cases lead to issues. Cache files will be saved uncompressed but the size is not a big difference.
Added new method and changed several existing methods
This will be the last version that supports php 7.2-7.4 as master branch will be updated to php 8.3 or higher with backwards incompatible changes!
- Title class metacritics() overhaul and added all remaining available data like reviews (user changes to output array())
- Title class alsoknow() removed ucwords of title and originalTitle so all names are now returned as they are
- PSR log v3.0 is now supported
- Title class merged votes() and rating() into new method ratingVotes(), removed votes() and rating()
- Title class merged title(), originalTitle(), year(), endYear() and movietype() into new method titleYearMovietype(), and removed the separate methods
- Title class video() added mature filter (set in config), added image width and height set in config, added config setting to return trailers only
- Title class removed trailer() method, use video() instead
- Title class added new method interests() this will get interests as shown on imdb title pages (not 100% accurate as this is not in GraphQL API)
- Title class country() added country ID, language() added language ID
Warning: there are user changes, they are listed in issues and documented in the wiki
Bug fix release
- TitleSearch class fixed bug $year wrong typehint and nullable not added, Thanks @jcvignoli
- Updated readme for php 8.4
Fixed php errors
This release contains only fixes for several PHP 8.4 Errors/warnings.
PHP 8.4 deprecates a few things that raises warnings, so this is fixed now
Bug fixes
- GraphQL class fixed logger bugs and TitleSearch not working due to GraphQL change Thanks @jcvignoli
- MdbBase class php 8.4 compatibility, Implicitly nullable parameter declarations deprecated Thanks @jcvignoli
- Calendar class added missing helper method..
- Title class added missing award helper method..
- Name class checkRedirect fixed bug wrong path name
- Added property $throwHttpExceptions in Config class to allow or prevent throwing Exceptions in GraphQL Thanks @jcvignoli
- Name and Title class added extra check if the object exists in loop while methods graphQlGetAll() Thanks @jcvignoli
- Title, TitleCombined and Name class added extra checks to prevent errors when there are no results
Bug fixes and new methods
- Title and Name class added savephoto() and photoLocalurl() Thanks @jcvignoli
- TitleSearch and NameSearch class added object to the output array this is a Title or Name object with search results included Thanks @jcvignoli
- Added use loggerInterface to Cache class
- Title class Fixed bug variable not set in all pub methods
- Cache class added extra debug info
- Changed some file names to be PSR4 compliant
- Added missing Exception class
- Title class trailer() fixed bug and warning from get_headers
Bug fixes and a few additions
- Title class soundtrack changes
The output array is changed, now the separate comments are inside creditSplit array where they belong (see wiki)
CreditSplit['creditors'] has now a attribute field that contains any remaining text after the anchor name. Example: as Roger Whitaker
massive code cleanup, simplified checks, added missing checks etc - Name class spouse changes
Removed leftover debug info
comments are now in a array() as there might be more than one comment - Several code improvements/cleanups
small bug fixes and additions
- Title class plot added parameter $spoil (boolean) Default: false (not include spoilers)
- Title class cast() changed name_alias to alias as i don't use snake case anywhere else
- Title class connection fixed bug name and id not checked
- Title class helper titleYear() fixed bug name and originalName not checked