Skip to content

Latest commit

 

History

History
185 lines (149 loc) · 8.15 KB

File metadata and controls

185 lines (149 loc) · 8.15 KB

KickLib changelog

NuGet

All notable changes to this project will be documented in this file.

Added

  • Support for Channel reward redemption endpoints
  • Added more filtering options for Categories endpoints (supporting V2 endpoints)

Changed

  • Updated introspection to point to new OAuth introspection endpoint
  • Extended channels with active/cancelled subscriptions
  • Extended introspection with TokenType field

Added

  • Channel Rewards APIs
  • Channel Rewards webhook events

Changed

  • Extended GET /livestreams response with profile picture

Added

  • Added .NET 10 support
  • Extended /channels and /livestream endpoints to parse custom_tags field
  • Added official DELETE chat message endpoint
  • Extended Categories response with Tags and ViewerCount fields
  • Extended Gift webhook payload with PinnedTime fields
  • Added TimeoutDuration for TimeoutUserAsync in Moderation API to ease timeout duration passing
  • Added Examples

Changed

  • Improved working with HTTP Client to better utilize connection pooling
  • Added HTTP transient errors retry policy to API calls
  • Added IHttpClientFactory to OAuthGenerator

Added

  • Added Kicks endpoints - full support for new Kicks endpoints and Leaderboards endpoint
  • Added SubscribeToEvent to EventSubscriptions, to allow subscribing to single event

Changed

  • Improved interface docs

Added

  • Added Delete Message for Unofficial API
  • Added KicksGiftedEvent webhook event support

Changed

  • Extended IApiCaller with HttpMethod parameter for SendAuthenticatedRequestAsync method.
  • Extended SendMessageAsync in Unofficial API to return sent message data (like ID and sender)
  • Extended Unofficial API AuthenticationSettings to allow passing override Bearer token to bypass login flow
  • Updated Puppeteer version to 20.x for Unofficial API on .NET 8 and above

Remove

  • Removed PinnedMessageDeletedEvent in Kick.Client as this event has no data (and it was confusing users)

Added

  • GetLivestreamAsync overload to get livestream for currently authenticated user
  • Add KicksGifted event to Client

Fixed

  • Fixed data deserialization for NewSubscriptionEvent webhook event

Added

  • Extended listened topics for KickLib.Client
  • Added retry policy for BrowserClient
  • Added replies_to field to ChatMessageSentEvent webhook event

Fixed

  • Fixed listening for SubscriptionEvent event

Added

  • Support for .NET Standard 2.1
  • Extended GetLivestreamsAsync to get livestreams by multiple broadcasterIds

Added

  • Reply message metadata to KickLib.Client Message data
  • CreatedAt field to ChatMessageSentEvent webhook event

Added

  • Session-based browser client for unofficial API

Changed

  • Added proper handling for Unofficial API, when request fails due to Cloudflare protection
  • Safe parsing of the authentication response to prevent exceptions when the response is not in the expected format.

Added

  • Added KickLibRefreshTokenException that is fired, when refresh token fails to refresh (usually because token expired or is invalid)
  • Extended all Result classes with KickLibHttpResponseError object, which contains error details if the request failed, including original HTTP response message
  • Added GetUserAsync to Users API to get single user by ID

Changed

  • Rolled back PuppeteerSharp version from 20.x to 14.0.0
    • This was done to ensure compatibility with PuppeteerExtraSharp library

Added

  • Extended KickClient with OnRewardRedeemed event

Added

  • Support for new webhook Event Type moderation.banned
  • Support for chat moderation endpoints
  • Missing docs
  • New moderation:ban scope

Changed

  • Fixed project warnings
  • Updated README
  • Updated NuGet packages to latest versions

Changed

  • KickLib constructor was changed to fit Dependency Injection pattern
    • To use "simple" constructor, use KickApi.Create() method

Removed

  • .NET 7 support

Added

  • Support for message reply (ReplyToMessageAsUserAsync, ReplyToMessageAsBotAsync)
  • LivestreamMetadataUpdatedEvent webhook support
  • More unit tests covering new webhook types

Added

  • Search channels by slug
  • GetChannelAsync overloads
  • Thumbnail to Stream response
  • Paging for GetCategoriesAsync endpoint

Added

  • Support for the v1/livestreams API.
  • Support for UserIdentity (badges) in ChatMessageSentEvent webhook payload
  • Extended subscription webhook payload events with ExpiresAt
  • Added CancellationToken support to all API methods.

Changed

  • Api.Authorization.GetPublicKeyAsync() no longer requires an access token.
  • Reduced projects dependencies

Fixed

  • Deserialization issue with the message_id field in webhook events.

Added

  • App Access Token support.

Changed

  • Documentation improvements.

Added

  • Parameterless constructor for the KickApi class.
  • TokenChanged events in ApiSettings for access/refresh token updates.

Changed

  • Improved User-Agent randomization for unofficial clients (legacy unofficial clients).

Added

  • Automatic access token refresh when expired (if refresh credentials are provided).
  • Additional method overloads for improved usability.

Added

  • Initial release of the official Kick API client.