5.0.0-pre.0
Pre-release
Pre-release
Nothing "new" or "unstable" here, just a bunch of deletions to test whether you acted on previous deprecations.
Breaking changes
- [all] remove default exports - use named exports instead (2c659a5, #152)
- [all] remove wrongly capitalized aliases
productSKU
,averageFPS
,callAPI
,addVIP
,removeVIP
,getVIPs
,redirectURI
- use their camel cased versions instead (c6d1216, #153) - [all] remove
logLevel
config options - uselogger.minLevel
instead - [twitch] remove
ApiClient.withCredentials
,ApiClient.withClientCredentials
,ApiClient.callApi
,ApiClient.getAccessToken
,ApiClient.getAppAccessToken
,ApiClient.refreshAccessToken
,ApiClient.getTokenInfo
(02ba84d, #154) - [twitch] remove
ApiClient#getAccessToken
,ApiClient#currentScopes
andApiClient#refresh
- use the respective properties and methods directly on the underlyingAuthProvider
instead (dbbc18b) - [twitch] remove
ApiClient#tokenType
andApiClient#clientId
- use the respective properties directly on the underlyingAuthProvider
instead (3cb05ab) - [twitch] remove
ApiConfig#cheermotes
andApiClient#cheermoteDefaults
-HelixCheermoteList#getCheermoteDisplayInfo
andCheermoteList#getCheermoteDisplayInfo
now need a full cheermote format object (dbbc18b) - [twitch] remove
ApiConfig#preAuth
andApiConfig#initialScopes
- useApiClient#requestScopes
instead (dbbc18b) - [twitch] remove
TwitchApiCallOptions#version
- no replacement, Kraken only has one version now (dbbc18b) - [twitch] remove
TeamWithUsers#getUsers
- useTeamWithUsers#users
instead (dbbc18b) - [twitch-chat-client] remove
ChatClient.forTwitchClient
- use theChatClient
constructor instead (dbbc18b) - [twitch-chat-client] remove
ChatClient#waitForRegistration
use theChatClient#onRegister
event instead (dbbc18b) - [twitch-pubsub-client] remove methods that depended on an
ApiClient
(getUser
,getChannel
,getSender
) (02ba84d, #154) - [twitch-pubsub-client] change
PubSubClient#registerUserListener
to take anAuthProvider
instead of anApiClient
(02ba84d, #154) - [twitch-pubsub-client] change
SingleUserPubSubClient
constructor to take a new property namedauthProvider
instead oftwitchClient
(see above) (02ba84d, #154) - [twitch-webhooks] remove
WebHookListener.create
andLegacyAdapter
- use any other adapter instead; if you liked the automatic port and IP determination, use theportfinder
andpublic-ip
packages respectively (dbbc18b) - [twitch-auth] make
AuthProvider#tokenType
required (c824b88) - [twitch-auth] remove legacy compatibility methods (dbbc18b)
- [twitch-electron-auth-provider] require at least Electron ^9 (62d3869)