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

chore(deps): bump @twurple/api from 5.3.4 to 7.0.1 #978

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2023

Bumps @twurple/api from 5.3.4 to 7.0.1.

Release notes

Sourced from @​twurple/api's releases.

7.0.0

This release mostly addresses the flaws, shortcomings and redundancies that came with the introduction of the new AuthProvider interface in version 6.0, the biggest change being that many of the "moderator ID" type parameters that were introduced in it have been removed again in favor of the 6.0 user context override system (ApiClient#asUser and similar).

It also brings some consistency between the packages (for example, RefreshingAuthProvider is now a proper event emitter like most other event-related classes) and updates to the new versions of some APIs that Twitch deprecated and replaced.

Breaking changes

  • [auth-electron] remove package (547e8afb, #503)
  • [api] remove all "moderator id" type parameters and make the user context overridable (f9d39af6, #487)
  • [api] invert subscription convenience method context logic (3705c187, #488)
  • [api] remove deprecated follower methods & types (855721b1)
  • [api] replace follower shortcuts in HelixUser (e5baf055, #489)
  • [chat] remove params object from message types (properties of that moved directly to the message object), harmonize some param names (03e386bd, #495)
  • [chat] rename PrivateMessage to ChatMessage (44c0d657)
  • [auth] cache refresh failures (73fdb222, #485)
  • [auth] use EventEmitter in RefreshingAuthProvider instead of onRefresh in config (d7a38c58, #484)
  • [eventsub-http] remove legacy secrets (f4cdf980)
  • [chat] remove # prefix from all chat event channel names (3a2ca402, #482)
  • [chat] remove all references to r9k (is now "unique chat") (6e587ffe)
  • [chat] remove async from ChatClient (re)connect methods (f646fd67, #486)
  • [chat] remove TwitchPrivateMessage#parseEmotes, TwitchPrivateMessage#parseEmotesAndBits (use the function parseChatMessage instead) (38083cc7)
  • [api] remove dependency on dom or node-fetch types, offer interface to merge with instead (cd536e26, #507)
  • [auth] add variable params to auth providers to request more scope sets (fef35456)
  • [api] switch HelixEventSubApi#subscribeToChannelFollowEvents to v2, remove HelixEventSubApi#subscribeToChannelFollowEventsV2 (38083cc7)
  • [api] remove HelixCheermoteList#parseMessage, HelixCheermoteList#transformCheerMessage (38083cc7)
  • [eventsub] remove clientId from eventsub listener methods (87cd4aa1, #490)
  • [eventsub] remove deprecated signature from onChannelFollow (38083cc7)
  • [easy-bot] remove deprecated properties from BotCommandContext(38083cc7)
  • [easy-bot] remove deprecated config, method and unused parameter from Bot class (0e6ca6bd)

Features

  • [auth] add RefreshingAuthProvider#addUserForCode for easy authorization code flow implementation (741dbabe)
  • [chat] expose some basic parsers for emotes & cheermotes (da20b3a6)
  • [api, eventsub] add new channel goal types to type definitions (7dc554e4, 0542424c)
  • [eventsub] add EventSubChannelSubscriptionMessageEvent#emoteOffsets (da20b3a6)

Fixes

  • [api] fix requestScopesForUser (fef35456, #475)
  • [chat] fix auth error notice breaking auth handling (fb854714)
  • [api] add channel:manage:redemptions scope for all redemption related read operations (424bfe76, #512)

Improvements

  • [chat] use VIP tag rather than (overridable) badge for isVip (92f8cf9b)
  • [ebs-helper] replace jsonwebtoken for jose to improve compatibility (ef9e0753, #509, #510)
  • [all] remove a lot of internal types from the shipped type definitions (92a68cb0)
  • [eventsub-ws] disconnect ws socket when no subscriptions are active for the associated user (63ef4e33)

... (truncated)

Commits
  • 0b0562c release version 7.0.1
  • 18a3f76 release version 7.0.0
  • e0c17d9 fix getStreamKey "no context user ID" error (#517)
  • bd55273 clarify error messages for auth provider user context
  • 6f66426 fix return type for HelixUser#getSubscriber
  • 7a5309d release version 7.0.0-pre.3
  • 92a68cb strip a bunch of additional internal types
  • 6a1136f release version 7.0.0-pre.2
  • 71a9049 remove confusing documentation from goal objects
  • 424bfe7 add channel:manage:redemptions scope for all redemption related read operations
  • 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 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 javascript Pull requests that update Javascript code labels Aug 1, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/twurple/api-7.0.1 branch from cf257d2 to f4614dc Compare August 4, 2023 17:06
Bumps [@twurple/api](https://github.com/twurple/twurple/tree/HEAD/packages/api) from 5.3.4 to 7.0.1.
- [Release notes](https://github.com/twurple/twurple/releases)
- [Commits](https://github.com/twurple/twurple/commits/v7.0.1/packages/api)

---
updated-dependencies:
- dependency-name: "@twurple/api"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/twurple/api-7.0.1 branch from f4614dc to 1b8bf39 Compare August 4, 2023 17:08
@hlxid
Copy link
Member

hlxid commented Aug 4, 2023

Requires #912
@dependabot ignore this major version

@dependabot dependabot bot closed this Aug 4, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 4, 2023

OK, I won't notify you about version 7.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/twurple/api-7.0.1 branch August 4, 2023 17:10
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant