Releases: tboothman/imdbphp
Releases · tboothman/imdbphp
v8.3.2
v8.3.1
v8.3.0
v8.2.0
No methods have been converted to GraphQL so some methods have limited number of entries.
Added
- Add
Podcast Episodesupport #326 by @Fossil01
Fixes
- Fix
Title::trivia()- limited to 5 entries - Fix
Title::filmingDates() - Fix
Title::keywords_all()- limited to 50 entries - Fix
Title::locations()- limited to 5 entries - Fix
Title::quotes()andTitle::quotes_split() - Fix
Title::goofs()- limited to 5 entries - Fix
Title::crazy_credits() - Fix
Title::metacriticRating() - Fix
Title::creator()
v8.1.0
v8.0.2
Fixes
- Fixes
Title::alsoknow()returning an 'original title' with a null name when your imdb display title is the original title #298 Thanks @mam4dali - Improved the documentation of
Title::alsoknow(). It wasn't clear when original title was returned and the comment field wasn't documented #297
Deprecation
- Deprecate
PersonSearch::reset()
Dev notes
Increased PHPStan level to 4, which should help ensuring return types are correct
v8.0.1
- Added the ability to fetch multiple pages of results, and change the amount you receive per page to TitleSearchAdvanced. Thanks @miaadp
- New method
setCount()to change the number of results. Currently 50 by default - New method
setStart()which changes the offset for the results. For example you fetch one page, then call setStart(50) and you'll get the next 50 results.
- New method
- Fix
Title::alsoknow()when country is not set. countryCode and languageCode will now be null if no language or country is set
v8.0.0
IMDb made changes to a few of its pages, the biggest change is not showing all information on initial page load. Because of this we've changed to loading this data from IMDb's graphql api instead.
This should make no difference to users of the library except the graphql code does not localise data. Any of the methods using it (every method mentioned in this release) might not return country/language specific information and will not respect the Config::language setting. Please raise an issue if this causes a problem.
Breaking changes
Title::plot()returns plain text utf-8 strings rather than html. It no longer contains the author at the end (You can get the author fromTitle::plot_split())Title::plot_split()also has plain text utf-8 strings rather than html in its plot fieldTitle::releaseInfo()return has changed. The country strings have changed slightly, the dates are numbers rather than stringy numbers and month has been removed.- Was
['country' => 'USA', 'day' => '9', 'month' => 'June', 'mon' => '06', 'year' => '1993' ] - Now
[ 'country' => 'United States', 'day' => 9, 'mon' => 6, 'year' => 1993, 'attributes' => [ 'Washington, D.C.', 'premiere' ] ]
- Was
Title::alsoknow()no longer returns a year or lang field (they were previously always an empty string). It no longer returns a comment of '$language title' for each aka.
Fixes
- Fixed these methods broken by site change:
Title::releaseInfo(),Title::synopsis(),Title::alternateVersions(),Title::runtimes(),Title::distCompany(),Title::specialCompany(),Title::prodCompany(),Title::specialCompany(),Title::otherCompany(),Title::movie_recommendations(),Title::taglines(),Title::movieconnection(),Title::extReviews(),Title::officialSites(),Title::videosites()
Additions
Title::alsoknow()now returns a countryCode, language and languageCode for each AKA.Title::runtimes()now returns a country and countryCodeTitle::videosites()now returns a language, languageCode but not a type.- Now
['url' => 'x', 'site' => FILM.TV, 'desc' => trailer, 'language' => German, 'languageCode' => de] - Was
['url'=>'x', 'site' => 'FILM.TV', 'desc' => 'trailer', 'type' => '']
- Now