danibarker / WordSmith

A twitch bot for Scrabble stuff
MIT License
7 stars 1 forks source link

Update twitchio requirement from ~=2.6.0 to ~=2.7.0 #51

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on twitchio to permit the latest version.

Release notes

Sourced from twitchio's releases.

V2.7.0

Version 2.7

version 2.7 brings some long awaited features, such as websocket support for eventsub, and content classification labels. We've also squashed some more bugs, and added other new twitch features. Here's a short list of major changes:

  • Added PartialUser.fetch_charity_campaigns and charity donate events to eventsub.
  • Added new parameters to PartialUser.modify_stream for is_branded_content and content_classification_labels.
  • Fixed CustomReward.edit to be able to enable the reward.
  • Added two new events: event_notice and event_raw_notice for notice events from IRC.
  • Added Message.hype_chat_data for messages that contain hype chat information.
  • Fixed a reconnect loop when the IRC server sent a RECONNECT message.
  • Bumped [speed] and [sound] deps to latest versions.
  • Updated the HTTPException message to provide useful information instead of generic errors

And more! See the full changelog: https://twitchio.dev/en/latest/changelog.html

Changelog

Sourced from twitchio's changelog.

2.7.0

  • TwitchIO

    • Additions

      • Added :func:~twitchio.PartialUser.fetch_charity_campaigns with :class:~twitchio.CharityCampaign and :class:~twitchio.CharityValues.

      • Added :func:~twitchio.Client.fetch_global_chat_badges

      • Added User method :func:~twitchio.PartialUser.fetch_chat_badges

      • Added repr for :class:~twitchio.SearchUser

      • Added two new events

        • Added :func:~twitchio.Client.event_notice
        • Added :func:~twitchio.Client.event_raw_notice
      • Added :class:~twitchio.message.HypeChatData for hype chat events

      • Added :attr:~twitchio.message.Message.hype_chat_data for hype chat events

      • Added :func:~twitchio.Client.fetch_content_classification_labels along with :class:~twitchio.ContentClassificationLabel

      • Added :attr:~twitchio.ChannelInfo.content_classification_labels and :attr:~twitchio.ChannelInfo.is_branded_content to :class:~twitchio.ChannelInfo

      • Added new parameters to :func:~twitchio.PartialUser.modify_stream for is_branded_content and content_classification_labels

    • Bug fixes

      • Fix :func:~twitchio.Client.search_categories due to :attr:~twitchio.Game.igdb_id being added to :class:~twitchio.Game
      • Made Chatter :attr:~twitchio.Chatter.id property public
      • :func:~twitchio.Client.event_token_expired will now be called correctly when response is 401 Invalid OAuth token
      • Fix reconnect loop when Twitch sends a RECONNECT via IRC websocket
      • Fix :func:~twitchio.CustomReward.edit so it now can enable the reward
    • Other Changes

      • Updated the HTTPException to provide useful information when an error is raised.
  • ext.eventsub

    • Added websocket support via :class:~twitchio.ext.eventsub.EventSubWSClient.
    • Added support for charity donation events.
  • Other

    • [speed] extra
      • Added wheels on external pypi index for cchardet and ciso8601
      • Bumped ciso8601 from >=2.2,=2.2,<3
      • Bumped cchardet from >=2.1,=2.1,<3

2.6.0

  • TwitchIO
    • Additions
      • Added optional started_at and ended_at arguments to :func:~twitchio.PartialUser.fetch_clips
      • Updated docstring regarding new HypeTrain contribution method OTHER for :attr:~twitchio.HypeTrainContribution.type
      • Add support for ciso8601 if installed
      • Added speed install flag (pip install twitchio[speed]) to install all available speedups
      • Added :attr:~twitchio.Game.igdb_id to :class:~twitchio.Game
      • Added igdb_ids argument to :func:~twitchio.Client.fetch_games
      • Added tags attribute to :class:~twitchio.Stream, :class:~twitchio.ChannelInfo and :class:~twitchio.SearchUser
      • Added :func:~twitchio.PartialUser.fetch_shield_mode_status

... (truncated)

Commits


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)