v0.0.4
·
347 commits
to master
since this release
0.0.4 - 2019-04-08
Added
- New nested interface
TheTVDBApi.Extendedholding all API methods returning anAPIResponse<DTO>object. - Included new wrapper class for remote API responses containing extended error and pagination data.
- Added type resolver with general Interface<->Implementation mappings to
JSONDeserializer. - New nested interface
TheTVDBApi.JSONholding all API methods returning a JsonNode object. - Mapping for the /search/series routes JSONs data.slug property.
- Return more detailed information in case of errors or failed validations.
- Some additional JavaDoc.
Changed
- Moved all API methods returning a JsonNode object into the new
TheTVDBApi.JSONlayout. - Complete refactoring of
JsonDeserializerclass. - Renamed class
SeriesAbstracttoSeriesSearchResult. - Moved API response data models into a distinct sub-package.
- The APIs
#getAvailableFilterParametersmethod has been renamed to#getAvailableSeriesFilterParameters. - Calls to the APIs /series/{id}/episodes[/query] route will now return an
Episodeinstead of anEpisodeAbstractobject. - Calls to the APIs /search/series route will now return a
SeriesSearchResultinstead of aSeriesAbstractobject. - Introduced parameterized types in validations of
ParamValidatorclass. APIRequest#openConnectiondoes no longer return the newly created connection.- Reduced the visibility of some properties and methods to default or private.
Fixed
- Issue with auto-authentication when invoking the /refresh_token route.
Removed
EpisodeAbstractdata model and included its content into the existingEpisodemodel.