Skip to content

Releases: PythonistaGuild/TwitchIO

2.4.0

06 Aug 22:38
Compare
Choose a tag to compare

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

27 May 23:12
Compare
Choose a tag to compare

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

06 Mar 09:41
Compare
Choose a tag to compare

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
  • aiohttp requirements have been relaxed to include 3.8.1
  • And more! see the changelog for all the changes

2.1.5

14 Feb 04:51
Compare
Choose a tag to compare

Add user_id property to Client
Change id_cache to only cache if a value is not None.
Add Client.wait_for_ready

v2.1.4

16 Dec 08:11
Compare
Choose a tag to compare

2.1.4

  • TwitchIO

    • Chatter.is_mod now uses name instead of display_name
    • Added ChannelInfo to slots
    • Remove loop= parameter for asyncio.Event in websocket for 3.10 compatibility
  • ext.eventsub

    • ChannelCheerData now returns user if is_anonymous is False else None

v2.1.3

29 Nov 02:01
48a2da9
Compare
Choose a tag to compare

2.1.3

  • Twitchio

    • Fix bug where chatter never checked for founder in is_subscriber
    • Fix rewards model so it can now handle pubsub and helix callbacks
  • ext.commands

    • Fix TypeError in Bot.from_client_credentials
  • GitHub Workflows

    • Added automatic version handling via release tag.
    • Added TwitchIO Manager bot

v2.1.2

08 Nov 10:08
a08c3a2
Compare
Choose a tag to compare
  • Add Chatter.mention
  • Re-add raw_usernotice from V1.x
  • Fix echo messages for replies
  • Fix a bug where the wrong user would be whispered
  • Fix a bug inside User.modify_stream where the game_id key would be specified as "None" if not provided (GH#237)
  • Add support for teams and channelteams API routes
    • Team, ChannelTeams
    • Client.fetch_teams
    • PartialUser.fetch_channel_teams
  • Fix issue where Bot.from_client_credentials would result in an inoperable Bot instance (GH#239)
  • Added ext.pubsub.Websocket.pubsub_error to support being notified of pubsub errors
  • Added ext.pubsub.Websocket.pubsub_nonce to support being notified of pubsub nonces
  • Patch 2.1.1 bug which breaks library on 3.7 for ext.eventsub

v2.1.1

31 Oct 04:49
Compare
Choose a tag to compare

This release fixes library compatibility with python 3.7

v2.1.0

28 Oct 00:59
Compare
Choose a tag to compare

This release brings a whole load of changes, please check the changelog on https://twitchio.readthedocs.org for a full list.

Major changes for this release include:

  • Added the raw_usernotice event
  • Added support for the predictions API
  • added support for the schedules API
  • Update the library to use the iso8601 library to parse timestamps
  • fix Client.wait_for causing asyncio.InvalidState errors
  • fix bug in ext.pubsub where Pool.unsubscribe_topics would error out due to an error
  • fix bug in ext.eventsub where the ChannelBanData model would attempt to access nonexistent attributes from the event payload

v2.0.6

27 Aug 03:17
Compare
Choose a tag to compare

Various bug fixes