Skip to content

Latest commit

 

History

History
101 lines (88 loc) · 4.2 KB

ChangeLog.md

File metadata and controls

101 lines (88 loc) · 4.2 KB

Changelog

Version 2.0.0

Addresses

Issues
Pull Requests
  • none

Changes


IClient

Changed
Added
  • none
Removed
  • see also: https://discuss.dev.twitch.tv/t/deprecation-of-chat-commands-through-irc/40486
    • bool SendWhisper(string message);
    • void WhisperThrottled(OnWhisperThrottledEventArgs eventArgs);
  • event EventHandler<OnDataEventArgs> OnData;
    • as far as i got it right,
      • binary data is not received
      • it has never ever been used/raised
  • event EventHandler<OnMessageThrottledEventArgs> OnMessageThrottled;
    • because ThrottlerService is now part of TwitchLib.Client
  • event EventHandler<OnStateChangedEventArgs> OnStateChanged;
    • neither used by TwitchLib.Client nor by TwitchLib.PubSub

ClientOptions

Changed
  • values for properties can only be passed by ctor
  • ctor also takes an argument for ReconnectionPolicy
    • by leaving it null, a default ReconnectionPolicy is created, that attempts to reconnect every 3_000 milliseconds for ten times
  • DisconnectWait became an unsigned integer (uint), to ensure only positive values are used for it
Removed
Moved
  • the following properties went to TwitchLib.Client.Models.SendOptions
    • int SendQueueCapacity { get; set; }
    • TimeSpan SendCacheItemTimeout { get; set; }
    • ushort SendDelay { get; set; }
    • TimeSpan ThrottlingPeriod { get; set; }
    • int MessagesAllowedInPeriod { get; set; }

ConnectionWatchDog

  • now the ConnectionWatchDog enforces reconnect according to the ReconnectionPolicy
  • ConnectionWatchDog does not send PING :tmi.twitch.tv-messages anymore

Throttling/ThrottlerService

  • TwitchLib.Communication.IClient doesnt throttle messages anymore
    • TwitchLib.PubSub does not need it
    • only TwitchLib.Client needs it
      • so, throttling went to TwitchLib.Client.Services.ThrottlerService in combination with TwitchLib.Client.Services.Throttler
  • everything related to throttling got removed
    • TwitchLib.Communication.Events.OnMessageThrottledEventArgs
    • TwitchLib.Communication.Interfaces.IClientOptions
      • see also ClientOptions.Moved
      • int SendQueueCapacity { get; set; }
      • TimeSpan SendCacheItemTimeout { get; set; }
      • ushort SendDelay { get; set; }
      • TimeSpan ThrottlingPeriod { get; set; }
      • int MessagesAllowedInPeriod { get; set; }

OnStateChangedEventArgs

  • removed
  • neither used by TwitchLib.Client nor by TwitchLib.PubSub