danibarker / WordSmith

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

Update twitchio requirement from ~=2.5.0 to ~=2.6.0 #43

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.6.0

This release has various additions and bug fixes for the core lib and the eventsub + pubsub exts.

These release notes are simply a brief. To view the full changelog, visit https://twitchio.dev/en/latest/changelog.html

General additions:

  • Added shield mode support to PartialUser and eventsub
  • Added followed streams support to PartialUser
  • Added shoutout support to PartialUser and eventsub
  • Added type arg to Client.fetch_streams
  • Added support for ciso8601 when installed
  • Added speed flag to install available c-based speedups: pip install twitchio[speed]
  • Added support for follows V2 in eventsub. This is the main way to subscribe to follow events now.
  • Added auth_fail_hook and reconnect_hook to PubSubPool

Bug fixes:

  • PartialUser.fetch_bits_leaderboard not handling started_at arg properly.
  • Fix auto-reconnect logic of IRC websocket
  • implicitly remove newlines in chat messages
  • fixed RECONNECT event in pubsub websocket

Deprecations:

  • EventSubClient.subscribe_channel_follows. Use EventSubClient.subscribe_channel_follows_v2
Changelog

Sourced from twitchio's changelog.

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
      • Added :func:~twitchio.PartialUser.update_shield_mode_status
      • Added :func:~twitchio.PartialUser.fetch_followed_streams
      • Added :func:~twitchio.PartialUser.shoutout
      • Added type arg to :func:~twitchio.Client.fetch_streams
    • Bug fixes

      • Fix :func:~twitchio.PartialUser.fetch_bits_leaderboard not handling started_at and :class:~twitchio.BitsLeaderboard not correctly parsing
      • Fix parsing :class:~twitchio.ScheduleSegment where :attr:~twitchio.ScheduleSegment.end_time is None
      • Fix auto reconnect of websocket. Created tasks by asyncio.create_task() need to be referred to prevent task disappearing (garbage collection)
      • Strip newlines from message content when sending or replying to IRC websocket
      • Removed unnessecary assert from :func:~twitchio.Client.fetch_streams
  • ext.eventsub

    • Documentation

      • Updated quickstart example to reflect proper usage of callback
    • Additions

      • Updated docs regarding new HypeTrain contribution method other for :attr:~twitchio.ext.eventsub.HypeTrainContributor.type
      • Added Shield Status events
        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_shield_mode_begin
        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_shield_mode_end
      • Added Shoutout events
        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_shoutout_create
        • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_shoutout_receive
      • Added :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_follows_v2
      • Added support for type and user_id queries on :func:~twitchio.ext.eventsub.EventSubClient.get_subscriptions
    • Deprecations

      • :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_follows, use :func:~twitchio.ext.eventsub.EventSubClient.subscribe_channel_follows_v2
  • ext.pubsub

    • Bug fixes

      • Fix forced RECONNECT messages
    • Additions

      • Added proper message when wrong type is passed to a topic argument
      • Added auth failure hook: :func:~twitchio.ext.pubsub.PubSubPool.auth_fail_hook
      • Added reconnect hook: :func:~twitchio.ext.pubsub.PubSubPool.reconnect_hook

... (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 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)