Skip to content

Releases: tboothman/imdbphp

v5.0.3

21 Jan 22:57
Compare
Choose a tag to compare
  • Fix Title::locations(), Title::crazy_credits() and Title::trailers(). None were returning any results.
  • Fixed TitleSearchAdvanced when it received TV results on linux. It wasn't using UTF-8 so the hyphen between start and end year was showing an odd character in the results.
  • Dropped the second (completely ineffective) parameter to Title::trailers()

v5.0.2

14 Dec 19:25
Compare
Choose a tag to compare

Fix bootstrap.php from trying to load a now deleted file

v5.0.1

10 Dec 22:16
Compare
Choose a tag to compare
  • Fixed Title::country() and Title::language() and Title::languages() #73
  • Stopped using an old url for videosites (now merged into /externalsites) #72
  • Removed MoviePosterDb::Movie. It didn't work anyway

v5.0.0

16 Oct 21:12
Compare
Choose a tag to compare
  • Started using curl for all http(s) requests. Imdb started using https for their images which caused #65, which caused #70. Since the only fix there was to use curl I decided to use curl for everything to keep it simple. The new code is completely compatible but requiring a new extension is a possibly breaking change, hence a major version change to 5.0.
  • Fixed Title::composer() for so it worked for TV shows. #66

v4.1.1

14 Sep 19:32
Compare
Choose a tag to compare
  • Fixed Title::savephoto(), which broke due to imdb moving their images be served with SSL
  • Fixed Title::country(),Title::language() and Title::languages()
  • Fixed \Imdb\TitleSearchAdvanced, which stopped working due to a redesign

v4.1.0

21 Jul 19:31
Compare
Choose a tag to compare

The constructor for all classes now accept a replacement logger and cache, which should give you more flexibility when integrating this into your projects.
The logger must conform to the PSR-3 logger interface and the cache to \Imdb\CacheInterface which simply has get, set and purge methods.
Thanks to @yyanavichus for the cache code.

New \Imdb\Title constructor:

public function __construct($id, Config $config = null, LoggerInterface $logger = null, CacheInterface $cache = null)

v4.0.1

17 Jul 19:13
Compare
Choose a tag to compare

Removed the new text imdb added for empty episode plots in Title::episodes() #58

v4.0.0

04 Jul 23:45
Compare
Choose a tag to compare

Backwards incompatible changes:

  • Removed \Imdb\Title::setId() and \Imdb\Person::setid(). Allowing the ID to be mutated was odd functionality and there were almost certainly some bugs if you did it.

New functionality:

  • IMDb IDs can now be integers, 7 digit padded numbers, URLs, or tt0000000 formatted.
  • Try to create the cache folder if it does not exist. #32
  • Add ability to replace inbuilt logger. Added the PSR-3 LoggerAwareInterface to all classes and made the logger PSR-3 compatible.

Other changes:

  • Increase the default page cache time from 1 hour to 1 week
  • Change the default domain for imdb to www.imdb.com instead of akas.imdb.com as akas no longer returns titles in english or returns more results for akas.
  • Remove the maxResults config key. It had no effect on the search requested from IMDb only limited the results returned from the search.
  • Removed the old broken trailers class

v3.3.0

17 Apr 13:42
Compare
Choose a tag to compare
  • Merge \Imdb\Person::movie_actor and \Imdb\Person::movie_actress into \Imdb\Person::movie_actor. It was a confusing separation that I doubt any library users cared about.
  • Add 'title_type' to filmography results in \Imdb\Person d6e0e7c
  • Add the demo/images folder to the git repo.

v3.2.0

01 Feb 20:19
Compare
Choose a tag to compare
  • Fix Title::get_episode_details() which broke in the imdb redesign.
  • Add Title::episodeTitle(), Title::episodeSeason(), Title::episodeEpisode(), Title::episodeAirDate() which add more information for episodes of a tv show.
  • Exception\Http now has a HTTPStatusCode field.