Skip to content

Releases: moviecollection/the-movie-database

v2.0.0-preview.2

25 Oct 07:26
Compare
Choose a tag to compare
v2.0.0-preview.2 Pre-release
Pre-release
  • The Newtonsoft.Json package has been updated to the latest version.
  • Fixed the issue where the assembly version didn't match the package version.

Full Changelog: v2.0.0-preview.1...v2.0.0-preview.2

v2.0.0-preview.1

07 Mar 20:24
Compare
Choose a tag to compare
v2.0.0-preview.1 Pre-release
Pre-release

Breaking changes:

  • The default values for Language, ImageFallbackLanguages and IsAdultIncluded options has been changed to null.
  • The IsAdultIncluded option is now nullable.

To keep the previous behavior, you should set the following values:

var options = new TheMovieDatabaseOptions
{
    // ...
    Language = "en-US",
    ImageFallbackLanguages = "en,null",
    IsAdultIncluded = false,
};
  • The result classes now inherit from the Response class.

If you set the options.UseEnsureSuccessStatusCode to false (see new features below), you can check for errors via the Success, StatusCode and StatusMessage properties.

Important

This means some classes that previously inherited from another base class (for simplicity), now implements the previous base class properties explicitly.

New features:

  • A new SearchMoviesAsync overload has been added:
var search = new NewSearchMovie
{
    Query = "three colors",
    PrimaryReleaseYear = 1994,
    // ...
};

var result = await service.SearchMoviesAsync(search);
  • A new SearchTVShowsAsync overload has been added:
var search = new NewSearchTVShow
{
    Query = "frasier",
    FirstAirDateYear = 1993,
    // ...
};

var result = await service.SearchTVShowsAsync(search);
  • You can now set the Language (or override the 'options.Language') per request:
var search = new NewSearchMovie
{
    // ...
    // This overrides the 'options.Language' if exists.
    Language = "fr",
    // ...
};
  • You can now set your user-agent via the ProductInformation option:
var options = new TheMovieDatabaseOptions
{
    // ...
    // Overrides the default request headers if exists.
    ProductInformation = new ProductHeaderValue("your-app-name", "your-app-version"),
};
  • You can now disable the EnsureSuccessStatusCode via the UseEnsureSuccessStatusCode option:
var options = new TheMovieDatabaseOptions
{
    // ...
    // This option is set to 'true' by default.
    UseEnsureSuccessStatusCode = false,
};

v1.0.0-preview.8

04 Jul 10:49
Compare
Choose a tag to compare
v1.0.0-preview.8 Pre-release
Pre-release

Changes:

  • The Newtonsoft.Json package has been updated to the latest version. #2

v1.0.0-preview.7

01 May 10:01
Compare
Choose a tag to compare
v1.0.0-preview.7 Pre-release
Pre-release

Breaking changes:

  • The target framework has been changed to net48 (See: #1).

Internal changes:

  • The unnecessary url encodes has been removed.
  • The unnecessary async/awaits has been removed.

v1.0.0-preview.6

07 Jan 12:39
Compare
Choose a tag to compare
v1.0.0-preview.6 Pre-release
Pre-release

Breaking Changes:

  • The account related methods has been added.
  • The GetTVShowEpisodeGroups method has been renamed to GetTVShowEpisodeGroupsAsync.

You can review the changes via FuGet API diff.

v1.0.0-preview.5

11 Nov 08:23
Compare
Choose a tag to compare
v1.0.0-preview.5 Pre-release
Pre-release
  • Added new filters to the discover methods
  • The debug symbols are now embedded.

v1.0.0-preview.4

05 Oct 11:14
Compare
Choose a tag to compare
v1.0.0-preview.4 Pre-release
Pre-release
  • Added the GetPersonCombinedCreditsAsync method.
  • Added new DiscoverMoviesAsync and DiscoverTVShowsAsync overloads.
  • Added a generic credits class.

The new discover overloads will help adding more query parameters to these methods in the future.

var discover = new NewDiscoverMovie
{
    PrimaryReleaseYear = 2021,
};

_ = await service.DiscoverMoviesAsync(discover);

v1.0.0-preview.3

27 Jun 11:02
Compare
Choose a tag to compare
v1.0.0-preview.3 Pre-release
Pre-release

Breaking Changes:

  • Added the missing async suffix to the person credits methods.

v1.0.0-preview.2

08 Mar 18:34
Compare
Choose a tag to compare
v1.0.0-preview.2 Pre-release
Pre-release
  • Add person credits methods.
  • Add GenerateDocumentationFile to the project.

v1.0.0-preview.1

16 Dec 10:59
Compare
Choose a tag to compare
v1.0.0-preview.1 Pre-release
Pre-release
  • First preview release 🎉