Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump twitchapi from 3.11.0 to 4.0.1 #945

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 2, 2023

Bumps twitchapi from 3.11.0 to 4.0.1.

Release notes

Sourced from twitchapi's releases.

v4.0.0

This is a major release, please see https://pytwitchapi.dev/en/v4.0.0/v4-migration.html for a migration guide!

Keystone Features

Twitch

  • Added new fields ChannelInformation.is_branded_content and ChannelInformation.content_classification_labels to response of get_channel_information()

  • Added new parameters modify_channel_information.is_branded_content and modify_channel_information.content_classification_labels to modify_channel_information()

  • Added new Endpoint "Get Content Classification Labels" get_content_classification_labels()

  • Removed the following deprecated Endpoints:

    • "Get Soundstrack Current Track"
    • "Get SoundTrack Playlist"
    • "Get Soundtrack Playlists"
  • get_polls() now allows up to 20 poll IDs

  • get_channel_followers() can now also be used without the required Scope or just with App Authentication

  • Added new parameter get_clips.is_featured to get_clips() and added object.api.Clip.is_featured to result.

EventSub

  • Moved old EventSub from twitchAPI.eventsub to new package twitchAPI.eventsub.webhook and renamed it to EventSubWebhook
  • Added new EventSub Websocket transport EventSubWebsocket
  • All EventSub callbacks now use object.base.TwitchObject based Payloads instead of raw dictionaries. See :ref:eventsub-available-topics for a list of all available Payloads
  • Added EventSubBase.listen_channel_update_v2()
  • Added option for EventSubWebhook to specify a asyncio loop via EventSubWebhook.callback_loop in which to run all callbacks in
  • Added option for EventSubWebsocket to specify a asyncio loop via EventSubWebsocket.callback_loop in which to run all callbacks in
  • Added automatical removal of tailing / in EventSubWebhook.callback_url if present
  • Fixed broken handling of malformed HTTP requests made to the callback endport of EventSubWebhook
  • Made EventSubWebhook more easily mockable via twitch-cli by adding EventSubWebhook.subscription_url
  • Added optional subscription revokation handler via EventSubWebhook.revocation_handler to EventSubWebhook

PubSub

  • Handle Authorization Revoked messages (Thanks @​Braastos )
  • Added option to specify a asyncio loop via pubsub.PubSub.callback_loop in which to run all callbacks in

Chat

... (truncated)

Changelog

Sourced from twitchapi's changelog.

:orphan:

Changelog


Version 4.0.1


Chat

  • Fixed RuntimeWarning when handling chat commands

Version 4.0.0


.. note:: This Version introduces a lot of breaking changes. Please see the :doc:v4-migration to learn how to migrate.

Keystone Features

  • EventSub now supports the newly added Websocket transport
  • EventSub is now using TwitchObject based callback payloads instead of raw dictionaries
  • Chat now supports Command Middleware, check out :doc:/tutorial/chat-use-middleware for more info
  • Added :const:~twitchAPI.oauth.UserAuthenticationStorageHelper to cut down on common boilerplate code, check out :doc:/tutorial/reuse-user-token for more info

Twitch

  • Added new fields :const:~twitchAPI.object.api.ChannelInformation.is_branded_content and :const:~twitchAPI.object.api.ChannelInformation.content_classification_labels to response of :const:~twitchAPI.twitch.Twitch.get_channel_information()

  • Added new parameters :paramref:~twitchAPI.twitch.Twitch.modify_channel_information.is_branded_content and :paramref:~twitchAPI.twitch.Twitch.modify_channel_information.content_classification_labels to :const:~twitchAPI.twitch.Twitch.modify_channel_information()

  • Added new Endpoint "Get Content Classification Labels" :const:~twitchAPI.twitch.Twitch.get_content_classification_labels()

  • Removed the following deprecated Endpoints:

    • "Get Soundstrack Current Track"
    • "Get SoundTrack Playlist"
    • "Get Soundtrack Playlists"
  • :const:~twitchAPI.twitch.Twitch.get_polls() now allows up to 20 poll IDs

  • :const:~twitchAPI.twitch.Twitch.get_channel_followers() can now also be used without the required Scope or just with App Authentication

  • Added new parameter :paramref:~twitchAPI.twitch.Twitch.get_clips.is_featured to :const:~twitchAPI.twitch.Twitch.get_clips() and added :const:~twitchAPI.object.api.Clip.is_featured to result.

EventSub

  • Moved old EventSub from :const:twitchAPI.eventsub to new package :const:twitchAPI.eventsub.webhook and renamed it to :const:~twitchAPI.eventsub.webhook.EventSubWebhook
  • Added new EventSub Websocket transport :const:~twitchAPI.eventsub.websocket.EventSubWebsocket

... (truncated)

Commits
  • f044073 build: bumped version to 4.0.1
  • 39655fa fix(Chat): fixed RuntimeWarning when handling chat commands, fixes #269
  • 31fdda6 docs: remove prefered from old version
  • 80847fa build: bump version to 4.0.0
  • 6fde309 docs: added tutorial link to top of index
  • 70f4941 docs: added mocking tutorial, closes #260
  • 6d07a36 feat(OAuth): added mock_authenticate() to UserAuthenticator
  • 29c16d9 docs: updated ouath docs
  • 56e9486 refactor: Added missing __all__ to object base
  • 53fd07a docs: added headless user auth tutorial and reworked oauth docs
  • Additional commits viewable in compare view

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 show <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 2, 2023
@dependabot dependabot bot requested a review from aw-was-here October 2, 2023 15:23
@dependabot dependabot bot force-pushed the dependabot/pip/twitchapi-4.0.1 branch 2 times, most recently from 1a13071 to dded0a3 Compare October 6, 2023 05:31
@aw-was-here
Copy link
Collaborator

OK, this one is going to cause some major chaos since I stupidly stored the raw Python types in the config. ☹️

It may be worthwhile to try to vendor in 4.0.1 with a copy of the old types until a release can be cut that drops it.

@dependabot dependabot bot force-pushed the dependabot/pip/twitchapi-4.0.1 branch from dded0a3 to 729adb2 Compare October 21, 2023 05:40
Bumps [twitchapi](https://github.com/Teekeks/pyTwitchAPI) from 3.11.0 to 4.0.1.
- [Release notes](https://github.com/Teekeks/pyTwitchAPI/releases)
- [Changelog](https://github.com/Teekeks/pyTwitchAPI/blob/master/docs/changelog.rst)
- [Commits](Teekeks/pyTwitchAPI@v3.11.0...v4.0.1)

---
updated-dependencies:
- dependency-name: twitchapi
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/twitchapi-4.0.1 branch from 729adb2 to bc2ac43 Compare October 28, 2023 20:53
Copy link
Author

dependabot bot commented on behalf of github Nov 20, 2023

Superseded by #965.

@dependabot dependabot bot closed this Nov 20, 2023
@dependabot dependabot bot deleted the dependabot/pip/twitchapi-4.0.1 branch November 20, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant