Releases: falsepopsky/thetvdb
@untidy/[email protected]
@untidy/[email protected]
Major Changes
-
68f97ff: We strongly recommend visiting the new website for guidance on
updating your code to the latest stable major version, 1.0.0. In this version, we have addressed
almost all return types and missing properties, and added previously undocumented queries that were
not included in the original API documentation.We have also enhanced the methods to specifically handle a particular endpoint along with their
paths or queries. For instance, in the previous version, if a user wanted to request a specific
movie's extended record, they would write something like this:import { TheTVDB } from "@untidy/thetvdb"; const client = new TheTVDB("access token"); await client.getMovie({ id: "3646", extended: true });
Now, with the new rewrite, there's no need to specify the
extended
argument or even theid
.import { TheTVDB } from "@untidy/thetvdb"; const client = new TheTVDB("access token"); await client.movieByIdExtended("12586");
These changes streamline the code and provide a more intuitive and concise syntax for accessing
movie extended records.BREAKING CHANGES
- major: Single class only (previously TheTVDB & TheTVDBExtended).
- major: Rewrite return, entity and other types and export them.
- major: Rewrite methods for better handling of requests depending on the specific endpoint.
- major: support to update your token.
- major: bump minimum version of
Node.js
required18.17.0
. - major: Only throw
Errors
if the response is notok
or thetoken
validation fails (previously
strictly throws an error if you miss an specific argument, now this is handle by the consumers of
this package). - feat: add
jsdoc
for better documentation and examples of usage with the new
site. - feat: support more endpoints
reference. - feat: support to update your token.
v0.5.0
Minor Changes
-
/lists
endpoints: -
/series
endpoints: -
/seasons
endpoints: -
/movies
endpoints: -
Other supported endpoints:
v0.4.0
v0.3.0
v0.2.0
v0.1.0
Minor Changes
- feat: add homepage for docs
- fix: don't use main fallback for old node versions