This repository was archived by the owner on Mar 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +19
-13
lines changed
Objects/Post/Users/CustomListItems/Implementations Expand file tree Collapse file tree 5 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 11Release notes
22=============
33
4+ Version 1.0.2
5+ ===
6+
7+ #### 1.0.2
8+ (2020-08-18)
9+
10+ Fixed:
11+
12+ - Exception when $Object.Year is not valid when adding to a UserCustomList ([ Issue 173] ( https://github.com/henrikfroehling/Trakt.NET/issues/173 )
13+
14+ ---------
15+
416Version 1.0.1
517===
618
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ _**Formerly known as [TraktApiSharp](https://github.com/henrikfroehling/TraktApi
88** This is a .NET wrapper library for the [ Trakt.tv] ( https://trakt.tv/ ) [ API] ( http://docs.trakt.apiary.io/# ) .**
99
1010[ ![ Project Status] ( https://img.shields.io/badge/Project%20Status-In%20Development-green )] ( https://img.shields.io/badge/Project%20Status-In%20Development-green )
11- [ ![ NuGet Package] ( https://img.shields.io/badge/NuGet-v1.0.1 -green.svg?style=flat )] ( https://www.nuget.org/packages/Trakt.NET/1.0.1 )
11+ [ ![ NuGet Package] ( https://img.shields.io/badge/NuGet-v1.0.2 -green.svg?style=flat )] ( https://www.nuget.org/packages/Trakt.NET/1.0.2 )
1212[ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg?style=flat )] ( https://opensource.org/licenses/MIT )
1313[ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square )] ( http://makeapullrequest.com )
1414[ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=henrikfroehling_Trakt.NET&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=henrikfroehling_Trakt.NET )
Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ public TraktUserCustomListItemsPostBuilder AddMovie(ITraktMovie movie)
4646 if ( ! movie . Ids . HasAnyId )
4747 throw new ArgumentException ( "no movie ids set or valid" , nameof ( movie . Ids ) ) ;
4848
49- if ( ! movie . Year . HasValue )
50- throw new ArgumentException ( "movie year not valid" , nameof ( movie . Year ) ) ;
51-
5249 EnsureMoviesListExists ( ) ;
5350
5451 var existingMovie = _listItemsPost . Movies . FirstOrDefault ( m => m . Ids == movie . Ids ) ;
@@ -445,9 +442,6 @@ private void ValidateShow(ITraktShow show)
445442
446443 if ( ! show . Ids . HasAnyId )
447444 throw new ArgumentException ( "no show ids set or valid" , nameof ( show . Ids ) ) ;
448-
449- if ( ! show . Year . HasValue )
450- throw new ArgumentException ( "show year not valid" , nameof ( show . Year ) ) ;
451445 }
452446
453447 private void EnsureMoviesListExists ( )
Original file line number Diff line number Diff line change 55 <RootNamespace >TraktNet</RootNamespace >
66 <GeneratePackageOnBuild >false</GeneratePackageOnBuild >
77 <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
8- <Version >1.0.1 </Version >
8+ <Version >1.0.2 </Version >
99 <Authors >Henrik Fröhling</Authors >
1010 <Company >Henrik Fröhling</Company >
1111 <PackageLicenseUrl >https://github.com/henrikfroehling/Trakt.NET/blob/develop/LICENSE.md</PackageLicenseUrl >
@@ -21,8 +21,8 @@ Features
2121- Serialization Service
2222- Language Service</Description >
2323 <RepositoryUrl >https://github.com/henrikfroehling/Trakt.NET</RepositoryUrl >
24- <PackageTags >trakt REST </PackageTags >
25- <PackageReleaseNotes >https://github.com/henrikfroehling/Trakt.NET/blob/develop/Changelog.md#101 </PackageReleaseNotes >
24+ <PackageTags >trakt rest api </PackageTags >
25+ <PackageReleaseNotes >https://github.com/henrikfroehling/Trakt.NET/blob/develop/Changelog.md#102 </PackageReleaseNotes >
2626 </PropertyGroup >
2727
2828 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
Original file line number Diff line number Diff line change 22<package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
33 <metadata >
44 <id >Trakt.NET</id >
5- <version >1.0.1 $versionSuffix$</version >
5+ <version >1.0.2 $versionSuffix$</version >
66 <title >Trakt.NET</title >
77 <authors >Henrik Fröhling</authors >
88 <owners >henrikfroehling</owners >
@@ -20,10 +20,10 @@ Features
2020- Language Service
2121 </description >
2222 <summary >.NET wrapper library for the Trakt.tv API.</summary >
23- <releaseNotes >https://github.com/henrikfroehling/Trakt.NET/blob/develop/Changelog.md#100-beta </releaseNotes >
23+ <releaseNotes >https://github.com/henrikfroehling/Trakt.NET/blob/develop/Changelog.md#102 </releaseNotes >
2424 <copyright >Copyright (c) 2016 - 2020 Henrik Fröhling et al.</copyright >
2525 <language >en-US</language >
26- <tags >trakt REST </tags >
26+ <tags >trakt rest api </tags >
2727 <dependencies >
2828 <dependency id =" Newtonsoft.Json" version =" 12.0.3" />
2929 </dependencies >
You can’t perform that action at this time.
0 commit comments