Releases: abjerner/Skybrud.Social.TwentyThree
v1.1.2
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
v1.1.0
Installation
Breaking changes
-
🅱️ IReadOnlyList<T>
instead ofT[]
(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 using0
ogUnspecified
for representing unspecified values, these options are now nullables instead. -
🅱️ Fixed "end on" naming (see d5ece22)
The spelling around theendOn
parameter was wrong, as it should beendOn
instead ofonEnd
. This is a breaking change as relevant classes, properties and parameters now has been renamed.
Other changes
Skybrud.Social.TwentyThree v1.1.0-beta001
Installation
Breaking changes
-
🅱️ TheTwentyThreeService
class is now calledTwentyThreeHttpService
(see 13a9d42)
Across our API related packages, we're moving towards adding addingHttp
to the service class to indicate the purpose. -
🅱️ TheTwentyThreePhotosRawEndpoint
class was moved to another namespace (see 13a9d42)
TheSkybrud.Social.TwentyThree.Endpoints.Raw
endpoint feels a bit redundant, so the class is now located in theSkybrud.Social.TwentyThree.Endpoints
namespace instead. -
🅱️ TheTwentyThreeGetPhotosResponse
class was renamed toTwentyThreePhotoListResponse
(see 13a9d42)
Historically throughout our API related packages, names for response have included the HTTP verb used for the request to the API (egGET
forGetPhotos
), but the name of the response classes should instead just reflect the type of content they contain (eg.TwentyThreePhotoListResponse
has a property with aTwentyThreePhotoList
, which then holds an array ofTwentyThreePhoto
). This allows for re-use across methods that return the same type of content. -
🅱️ RenamedHostName
property toDomain
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 theTwentyThreeHttpException
exception class, theTwentyThreeException
class now serves as a common base type forTwentyThreeHttpException
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 - egTwentyThreeSpotList
. -
🆕 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
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
withEssentialsTime
(see 045bdef)
TheEssentialsTime
has a broader purpose and are better at handling time zones, so it should be used instead.
Skybrud.Social.TwentyThree v1.0.1
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)