Skip to content

v0.0.4

Choose a tag to compare

@m0nk3y2k4 m0nk3y2k4 released this 08 Apr 18:20
· 347 commits to master since this release

0.0.4 - 2019-04-08

Added

  • New nested interface TheTVDBApi.Extended holding all API methods returning an APIResponse<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.JSON holding 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.JSON layout.
  • Complete refactoring of JsonDeserializer class.
  • Renamed class SeriesAbstract to SeriesSearchResult.
  • Moved API response data models into a distinct sub-package.
  • The APIs #getAvailableFilterParameters method has been renamed to #getAvailableSeriesFilterParameters.
  • Calls to the APIs /series/{id}/episodes[/query] route will now return an Episode instead of an EpisodeAbstract object.
  • Calls to the APIs /search/series route will now return a SeriesSearchResult instead of a SeriesAbstract object.
  • Introduced parameterized types in validations of ParamValidator class.
  • APIRequest#openConnection does 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

  • EpisodeAbstract data model and included its content into the existing Episode model.