aiarena / aiarena-stream

GNU General Public License v3.0
42 stars 5 forks source link

Bump twitchio from 2.1.4 to 2.5.0 #99

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

Bumps twitchio from 2.1.4 to 2.5.0.

Release notes

Sourced from twitchio's releases.

V2.5.0

This release makes changes to the entirety of the library. For change notes, please see the 2.5.0 section of the changelog

2.4.0

TwitchIO 2.4 brings a huge set of changes! We've implemented new endpoints, squashed tons of bugs, and fixed up the eventsub ext.

Here's some bug fixes:

  • Added self.registered_callbacks = {} to Client.from_client_credentials
  • Allow empty or missing initial_channels to trigger Client.event_ready
  • Corrected CustomRewardRedemption.fulfill endpoint typo and creation
  • Corrected CustomRewardRedemption.refund endpoint typo and creation
  • Changed Client.join_channels logic to handle bigger channel lists better
  • Corrected Predictor slots and user keys, repr has also been added
  • Updated IRC parser to not strip colons from beginning of messages
  • Updated IRC parser to not remove multiple spaces when clumped together
  • Fixed Client.start exiting immediately (YES, this means Client.start works properly now!)
  • Chatters will now update correctly when someone leaves chat
  • Fixed a crash when twitch sends a RECONNECT notice

We've added all the moderation endpoints, the new send_whisper endpoint (although this isn't very reliable, just like normal whispers). Added Client.fetch_channels to allow fetching of more than one channel with a single API call.

Eventsub ext:

  • Added "Gift Subscriptions" subscriptions for gifting other users Subs
  • Added Re-subscription Message subscriptions for Resub messages
  • Added EventSubClient.delete_all_active_subscriptions for convenience
  • Created an Eventsub-specific CustomReward model

And more!

As always, check out the full changelist at https://twitchio.dev/en/latest/changelog.html

2.3.0

We've revamped our documentation, check out https://twitchio.dev/en/latest/changelog.html for the full changelog.

A few key highlights of this release:

  • Added retain_cache kwarg to Client and Bot. Default is True.
  • Added support for poll endpoints
  • fixed some bugs related to initial_channels
  • fixed the issues with ext.commands cooldown buckets always using the global bucket
  • fixed an issue with ext.commands.Bot.reload_module failing to reinstate the old module if an error occurred while reloading

2.2.0

Version 2.2.0

2.2.0 brings some exciting new features to TwitchIO, along with our usual span of bugfixes. The full changelog can be found at https://twitchio.dev, but here's some highlights:

  • more eventsub models! channel polls and predictions have both been implemented
  • more pubsub models! channel subscriptions are now covered by pubsub
  • Fixed pagination logic! This means that requests that ask for more than the default limit will now actually receive those extra responses

... (truncated)

Changelog

Sourced from twitchio's changelog.

2.5.0

  • TwitchIO

    • Additions
      • Added :attr:~twitchio.Message.first to :class:~twitchio.Message
      • Added :func:~twitchio.PartialUser.fetch_channel_emotes to :class:~twitchio.PartialUser
      • Added :func:~twitchio.Client.fetch_global_emotes to :class:~twitchio.Client
      • Added :func:~twitchio.Client.event_channel_join_failure event:
        • This is dispatched when the bot fails to join a channel
        • This also makes the channel join error message in logs optional
    • Bug fixes
      • Fix AuthenticationError not being properly propagated when a bad token is given

      • Fix channel join failures causing ValueError: list.remove(x): x not in list when joining channels after the initial start

      • Added :attr:~twitchio.Chatter.is_vip property to Chatter

      • New PartialUser methods

        • :func:~twitchio.PartialUser.fetch_follower_count to fetch total follower count of a User
        • :func:~twitchio.PartialUser.fetch_following_count to fetch total following count of a User
      • Fix whispers that were not able to be parsed

      • Fix USERSTATE parsing incorrect user

      • Fix errors when event loop is started using run_until_complete to call methods prior to :func:~twitchio.Client.run

      • Improved handling of USERNOTICE messages and the tags created for :func:~twitchio.Client.event_raw_usernotice

  • ext.routines

    • Additions
      • Added the :func:~twitchio.ext.routines.Routine.change_interval method.
  • ext.commands

    • Bug fixes
      • Make sure double-quotes are properly tokenized for bot commands
  • ext.sound

    • Bug fixes
      • Make system calls to ffmpeg are more robust (works on windows and linux)
  • ext.eventsub

    • Additions
      • Goal subscriptions have been Added

        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_goal_begin
        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_goal_progress
        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_goal_end
        • :func:~twitchio.ext.eventsub.event_eventsub_notification_channel_goal_begin
        • :func:~twitchio.ext.eventsub.event_eventsub_notification_channel_goal_progress
        • :func:~twitchio.ext.eventsub.event_eventsub_notification_channel_goal_end
      • Channel subscription end

        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_subscription_end
      • User authorization grant

        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_user_authorization_granted

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)