Skip to content

Releases: tboothman/imdbphp

v7.2.0

15 Jul 12:23
Compare
Choose a tag to compare

Additions:

  • $ratings parameter to Title::mpaa() to get all ratings instead of just the last one. @PoLaKoSz #204
  • Format list items using - instead of returning <li> in Title::alternateVersions(). @duck7000 #228

Bug fixes:

  • Title::mpaa() due to new design. @duck7000 #231
  • Title::plot() as it returned incorrect author. @duck7000 #237
  • Title::episodes() could crash as bySeason weren't always available.

v7.1.0

12 Jul 20:51
Compare
Choose a tag to compare

Additions:

  • Title::episodes() now has a image_url field on each episode with a url pointing to the picture for that episode

Bug fixes:

  • Fix Title::episodes() failing when a season had a lot of episodes. Thanks @duck7000 #242
  • Fix Title::episodes() for shows with only one season #239
  • Fix Title::movie_recommendations() throwing errors when data such as rating was missing from the recommendation. Thanks @M0H4MM4D0UTIS #240

v7.0.0

08 Jul 19:36
Compare
Choose a tag to compare

Many changes were needed because of the change of the title page on IMDb, but the library should work as it did in the previous version before the site change.
You must clear your cache folders to make sure the new pages are downloaded, as the old pages are no longer supported.
Thanks to @M0H4MM4D0UTIS , @duck7000 and @buborh for their contributions to making this release possible.

Breaking changes:

  • Title::mainPictures() and Title::prodNotes() have been removed
  • Title::movie_recommendations() no longer returns year, endyear and votes
  • Title::movietype() used to return 'TV Mini-Series' but now returns 'TV Mini Series'. The constant Title::TV_MINI_SERIES has been updated

Fixes:

  • TitleSearch returned no results for TV_MINI_SERIES

v6.5.1

30 May 00:21
Compare
Choose a tag to compare

A bit of a temporary hack to force the library to use the old version of the site. This might not work for very long.

v6.5.0

10 Apr 20:14
Compare
Choose a tag to compare

Additions:

  • Fixed Title::isEpisode() returning true for series' and made it public. Thanks @amirsasani #213
  • New method Title::actor_stars() to get only the stars of the title rather than all cast members. Thanks @M0H4MM4D0UTIS #211

Bug Fixes:

  • Fix Title::extReviews() not returning anything (broken due to html changes on imdb)
  • Remove excess whitespace on Title::officialSites()
  • Deprecate spoilers on Title::trivia(). They're no longer on IMDb

v6.4.2

08 Nov 18:21
Compare
Choose a tag to compare
  • Fix Person ID length is always 7 in PersonSearch::results() #201 (Some newer people have 9 digit IDs)
  • Fix Charts::getChartsTop10() showing the box office instead of the popular ranking and also showing 2 of each films

v6.4.1

29 Oct 16:42
Compare
Choose a tag to compare

Fix Charts::getChartsBoxOffice() erroring when a gross or weekend amount was shown in thousands ($300K)

v6.4.0

11 Apr 19:32
Compare
Choose a tag to compare

New

Fixes

  • Fixed number of votes on Title::movie_recommendations() for some european locales #190
  • Close curl handles after finishing request #191
  • Fix Title::officialSites() not fetching the url after a site change

v6.3.0

13 Sep 17:48
Compare
Choose a tag to compare

New:

  • Added rating and votes to the results of Title::movie_recommendations() #179

Fixed:

  • Fix TitleSearch::search() as $maxResults were never being used #111
  • Fix TitleSearch::search() as it returned incorrect movietype for TV Episode #154
  • Fix TitleSearch::search() as it incorrectly detected year on some titles #178
  • Fix Person::trivia(), Person::quotes() and Person::trademark() for returning default "no content"-text #171
  • 8 digit ids were not being parsed correctly for the demo application #176

v6.2.2

02 Jun 11:05
Compare
Choose a tag to compare

Fixes:

  • 8 digit ids were not being parsed correctly for Title::director() and Title::producer() #168