Dependencies bump release; make Symfony components support both 5.4 and 6.x branches
Bugfix release (nullable types again)
Bugfix release (nullable types again)
Bugfix release (nullable types again)
Bugfix release (nullable types again)
Breaking API changes update
Note: If you were using this API for movie artwork, beware that as of the 23rd it'll change from relative to absolute!
- Routes
- Changed
- SearchRoute
- Updated valid optional search arguments
- SearchRoute
- New
- SeriesRoute
- Retrieve all artworks for serie
- SeriesRoute
- Changed
- Models
- ArtworkExtendedRecord: status field
- Character: peopleType and tagOptions fields
- Company: companies removed, tagOptions added
- EpisodeExtendedRecord: network is now a Company, nominations & studios added, companies removed
- ListBaseRecord: image and imageIsFallback moved up from Extended record
- MovieExtendedRecord: added companies, contentRatings, first_release, inspirations, production_countries, spoken_languages
- NetworkBaseRecord: deleted
- SearchResult: first_air_time, objectID, slug, studios added
- SeasonExtendedRecord: deleted slug, abbreviation
- SeriesExtendedRecord: airsTimeUTC, contentRatings, overview, seasonTypes added
- Company: corrected fields (all are arrays of Company entries), specialEffects renamed to special_effects
Bugfix release
- Fix
- Add phpdocumentor/reflection-docblock as it's not installed when using
composer install --no-dev
(i.e. in production)
- Add phpdocumentor/reflection-docblock as it's not installed when using
Bugfix release
- Fix
- all fields in ParentCompany are nullable.
- all fields in CompanyRelationShip are nullable.
- Character's personImgUrl is nullable.
API additions
- Routes
- SeriesRoute
- allows passing episode id when searching
- allows passing airdate when searching
- SeriesRoute
- Models
- EntityUpdate
- New field: seriesId (for episode updates)
- CompanyType
- Changed field: id -> companyTypeId
- Changed field: name -> companyTypeName
- Links
- New field: total_items
- New field: page_size
- Series
- Base (and extended)
- New field: episodes
- Extended
- New field: originalNetwork
- New field: latestNetwork
- New field: translations
- New field: tags
- Base (and extended)
- Episodes
- Base (and extended)
- New field: seasonName
- New field: finaleType
- Extended
- New field: companies
- airsAfterSeason, airsBeforeSeason and airsBeforeEpisode have moved from the extended to the base record
- Base (and extended)
- Artwork
- Extended
- New field: tagOptions
- Extended
- Company
- New field: companies
- New field: parentCompany
- SeasonType
- New field: alternateName
- New model: ParentCompany
- New mode: CompanyRelationShip
- Character
- New field: personImgURL
- ListExtendedRecord
- New field: image
- New field: imageIsFallback
- ContentRating
- New field: description
- EntityType
- Removed field: seriesId
- New field: hasSpecials
- ListBaseRecord
- New field: score
- MovieBaseRecord (and extended)
- New field: runtime
- New field: lastUpdated
- PeopleBaseRecord
- New field: nameTranslations
- New field: overviewTranslations
- PeopleExtendedRecord
- New field: slug
- SeasonBaseRecord (remain in Extended Record)
- Removed field: abbreviation
- Removed field: country
- Removed field: slug
- New field: companies
- Inspiration
- Renamed field: typeName -> type_name
- EntityUpdate
Bugfix release
- Fix
- Company primary type is nullable.
Bugfix release
- Fix
- SeriesExtendedRecord also contains companies.
Feature improvements, bugfix
- New
- Series route has method to retrieve episodes in original language.
Bugfix release
- Fix
- Following the nullable name of a SeriesBaseRecord, the merging decision for fetching translated episodes no longer operated correctly. This was corrected.
Bugfix release
- Fix
- Name of an SeriesBaseRecord can also be nullable (sigh).
Bugfix release
- Fix
- If episodes are not found in a fallback (or main) language, don't throw an exception. Only throw when both are throwing exceptions.
Bugfix release
- Fix
- Model class of SearchResults is not consistent with reality. (#24)
- New
- Added methods to get localized name/overview in SearchResult model.
Feature improvements, bugfix
- New
- Artwork route
- Fix
- allEpisodes now returns all episodes. Apparently the limit in one page is 500 rather than 100, causing this to be overlooked.
- Change
- Bump format of phpunit.xml test.
Bugfix release
- Fix
- Another nullable entry for SeriesExtendedRecord
More bugfixes
- Fix
- Episodes are not always present when retrieving them, so pass empty array in that case.
More bugfixes
- Fix
- Nullable entries in other models
More bugfixes
- Fix
- Nullable entries in other models
First bugfix release for the new API.
- Fix
- Nullable entries in Characters (who could've though?)
First stable release for support of v4 of the TVDb API.
This version currently supports Authentication, Episodes, Series, Search, Update and Language API calls. Support for other endpoints will be added in future releases.
- New: Minimal support for API v4.0.0 of theTVDb.
- Changed: Minimal PHP version is now 7.4
- Changed: Dependencies got bumped
- Guzzle version 7 or newer
- Symfony's components 5.3 or newer
- PHPUnit 9 or newer (developers)
Ninth beta
- Fix
- Issue with argument for series episode
- New
- Re-introduce multiple-language routes for Series
Eighth beta
- Fix
- Last array parsing issues
Seventh beta (it doesn't stop...)
- Fix
- Double checked all models (again)...
Sixth beta
- Fix
- Translation arrays can be empty...
Fifth beta
- Fix
- Fix array parsing of models
- Update models to add correct model arrays
Forth beta
- New
- Series base and extended records have new fields and methods for average runtime & retrieving the imdb id.
- Episode base has new fields to match API.
Third beta
- Changed:
- Updated updates controller to the latest revision of the API.
- Updated series controller to the latest revision of the API.
- New:
- SeriesAirDays now has a method to indicate if it airs every day, or no days at all.
Second beta
- Changed: Bumped dependencies (Fixes #19)
Major release for the new API of theTVDb.
- New: Beta support for API v4.0.0 of theTVDb.
- Changed: Minimal PHP version is now 7.4
- Changed: Dependencies got bumped
- New: Allow Guzzle 7.x clients
- Changed: Allow PHPUnit version 9 next to version 8 to prepare for future PHP version bumps
- Changed: Update Travis configuration for PHP 7.4
- Fix: Make sure the data elements are merged correctly when merging arrays of regular objects.
- Fix: Make sure an array is returned when using the multi language wrapper when an array is required.
- New: Broadened allowed version dependencies for the 3 Symfony packages (Dependabot).
- Fix: Allow null for Banner, Slug and Status fields of BasicSeries (PR #8, #9)
- Fix: Ignore ResourceNotFoundException's while retrieving data using the language wrapper.
- Fix: Added
getImages
method to the multi-language fallback to correct wrong return values. - New: Added an example to retrieve banners.
- Fix: Make documentation on
getEpisodes
a bit clearer - Changed: Updated the examples
- New: Added
getAllEpisodes
method to retrieve all episodes of a show at once. - New: A changelog
- Fix: Allow Null to be set on an firstAired and network (PR #5)
- Fix: Correct some documentation
- Fix: Allow Null to be set on an airedEpisodeNumber
- Fix: Allow null for series rating
- Changed: Revision bump of composer dependencies
- New: Support for theTVDb API version 3.x
- Fix: TypeError in Actor model (#2)
- New: Support for retrieving artwork in multiple languages (fallback)
- Changed: Minimal PHP version is now 7.2 instead of 7.1
- Fix: TheTVDbAPI returns NULL in some cases of AiredSeason, whereas only integers were to be expected.
- Fix: The API model describes seriesId as an 'int', reality yields an string.
- Fix: Increase test coverage for episodes and series and fix related bug(s).
- Fix: No longer causes issues when theTVDb returns integers where floats were expected.
- Fix: a couple of wrongly typed documentation are corrected.
- Fix: added a missing description of a field.
- Changed: a couple of fields are now nullable
- Changed: This release changes the way the data parser is initialized, so that the serializer now will use the PhpDocExtractor to infer the types of the objects. This fixes an issue that was discovered where an object inside an object wouldn't be correctly initialized. A test for this behaviour was added, and some bugs in the tests that came to light were also fixed.
- Changed: The default merge behaviour for the fallback language generator has been modified to by default merge the classes now.
- Fix: missing dependency causing a crash
- Fix: Wrong method that caused most of the requests to return an HTTP status code of 405
- Fix: A failing test due to the microseconds introduced in php 7.1
Initial release