Skip to content

Releases: abjerner/Skybrud.Social.TwentyThree

v1.1.2

13 Apr 08:53
Compare
Choose a tag to compare

Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Social.TwentyThree --version 1.1.2

or the NuGet package manager:

Install-Package Skybrud.Social.TwentyThree -Version 1.1.2

Changelog

  • Added fix for breaking timestamp changes (108b15c)
    TwentyThree has started specifying timestamps as decimal numbers rather than as integers, which caused some issues with this package. With this release, the timestamps are now parsed as doubles instead.

v1.1.1

29 Sep 09:38
Compare
Choose a tag to compare

Installation

Changelog

  • 🆕 TwentyThreePlayerList should inherit from TwentyThreeList instead of TwentyThreeObject (108b15c)
    By inheriting from TwentyThreeList the class now also exposes the current site via the Site property.

v1.1.0

26 Sep 11:10
Compare
Choose a tag to compare

Installation

Breaking changes

  • 🅱️ IReadOnlyList<T> instead of T[] (see 719bea0)
    Where the package have exposes arrays in the past, IReadOnlyList<T> is now exposed instead.

  • 🅱️ Simple value types are now nullables where relevant (see 719bea0)
    This is primarily where the value types are used for specifying a given option. Instead of using 0 og Unspecified for representing unspecified values, these options are now nullables instead.

  • 🅱️ Fixed "end on" naming (see d5ece22)
    The spelling around the endOn parameter was wrong, as it should be endOn instead of onEnd. This is a breaking change as relevant classes, properties and parameters now has been renamed.

Other changes

  • 🆕 Updated Skybrud.Essentials.Http dependency (0e67806)
    This updates the package from v1.0.14 to 1.1.0.

  • 🆕 Added new SiteId property to the TwentyThreeSite class (see 719bea0)
    The JSON specifies the ID of a given site, but the value wasn't exposed in the corresponding TwentyThreeSite class.

Skybrud.Social.TwentyThree v1.1.0-beta001

15 Sep 17:20
Compare
Choose a tag to compare

Installation

Breaking changes

  • 🅱️ The TwentyThreeService class is now called TwentyThreeHttpService (see 13a9d42)
    Across our API related packages, we're moving towards adding adding Http to the service class to indicate the purpose.

  • 🅱️ The TwentyThreePhotosRawEndpoint class was moved to another namespace (see 13a9d42)
    The Skybrud.Social.TwentyThree.Endpoints.Raw endpoint feels a bit redundant, so the class is now located in the Skybrud.Social.TwentyThree.Endpoints namespace instead.

  • 🅱️ The TwentyThreeGetPhotosResponse class was renamed to TwentyThreePhotoListResponse (see 13a9d42)
    Historically throughout our API related packages, names for response have included the HTTP verb used for the request to the API (eg GET for GetPhotos), but the name of the response classes should instead just reflect the type of content they contain (eg. TwentyThreePhotoListResponse has a property with a TwentyThreePhotoList, which then holds an array of TwentyThreePhoto). This allows for re-use across methods that return the same type of content.

  • 🅱️ Renamed HostName property to Domain to follow TwentyThree's own naming (see ed80f7a)
    TwentyThree accounts are set up using a custom domain, which TwentyThree in API responses refer to as "domains", which the property now reflects.

Other changes

  • 🆕 Introduced new TwentyThreeException class to serve as a base class for TwentyThree related exceptions (see 29d3b58)
    While this package is currently only using the TwentyThreeHttpException exception class, the TwentyThreeException class now serves as a common base type for TwentyThreeHttpException and potential new exception classes.

  • 🆕 Added support for getting a list of spots (see e0eea0f)
    A new Spots endpoint has been introduced to support the spot-list method.

  • 🆕 Added support for getting a list of albums (see 2e7a7db)
    A new Albums endpoint has been introduced to support the album-list method.

  • 🆕 Added support for getting a list of players (see 2936fff)
    A new Players endpoint has been introduced to support the player-list method.

  • 🆕 Introduced "TwentyThreeSite" class (see 614b280)
    Some responses may contain a reference to the site/account which is being accessed through the API. The site object may contain relevant information, so it's now accessible from list responses - eg TwentyThreeSpotList.

  • 🆕 Added support for OEmbed (see 12b2a16 and e42c4d4)
    TwentyThree supports getting OEmbed information about a video or photo, so this is now also supported by this package.

Skybrud.Social.TwentyThree v1.0.2

12 Sep 12:46
Compare
Choose a tag to compare

Installation

Changelog

  • Updated the Skybrud.Essentials.Http dependency (see b3288de)
    Previous releases had a bug in the way the OAuth 1.0a header string was generated.

  • Replaced uses of with EssentialsDateTime with EssentialsTime (see 045bdef)
    The EssentialsTime has a broader purpose and are better at handling time zones, so it should be used instead.

Skybrud.Social.TwentyThree v1.0.1

12 Sep 07:34
Compare
Choose a tag to compare

Installation

Changelog

  • Replaced Skybrud.Social.Core dependency with Skybrud.Essentials.Http (see 0921945)
    Skybrud.Social.Core is no longer maintained, so we're now using Skybrud.Essentials.Http instead as it has the same functionality.

  • Added support for the token parameter when requesting a list of photos (see fbf14e5)

Skybrud.Social.TwentyThree v1.0.0

01 Nov 09:11
Compare
Choose a tag to compare