Releases: tboothman/imdbphp
Releases · tboothman/imdbphp
v5.0.3
- Fix
Title::locations()
,Title::crazy_credits()
andTitle::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
v5.0.1
v5.0.0
- 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
v4.1.0
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
v4.0.0
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
v3.2.0
- 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 aHTTPStatusCode
field.