github twurple/twurple v5.0.0-pre.0
5.0.0-pre.0

latest releases: v7.1.0, v7.1.0-pre.9, v7.1.0-pre.8...
pre-release3 years ago

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 - use logger.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 and ApiClient#refresh - use the respective properties and methods directly on the underlying AuthProvider instead (dbbc18b)
  • [twitch] remove ApiClient#tokenType and ApiClient#clientId - use the respective properties directly on the underlying AuthProvider instead (3cb05ab)
  • [twitch] remove ApiConfig#cheermotes and ApiClient#cheermoteDefaults - HelixCheermoteList#getCheermoteDisplayInfo and CheermoteList#getCheermoteDisplayInfo now need a full cheermote format object (dbbc18b)
  • [twitch] remove ApiConfig#preAuth and ApiConfig#initialScopes - use ApiClient#requestScopes instead (dbbc18b)
  • [twitch] remove TwitchApiCallOptions#version - no replacement, Kraken only has one version now (dbbc18b)
  • [twitch] remove TeamWithUsers#getUsers - use TeamWithUsers#users instead (dbbc18b)
  • [twitch-chat-client] remove ChatClient.forTwitchClient - use the ChatClient constructor instead (dbbc18b)
  • [twitch-chat-client] remove ChatClient#waitForRegistration use the ChatClient#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 an AuthProvider instead of an ApiClient (02ba84d, #154)
  • [twitch-pubsub-client] change SingleUserPubSubClient constructor to take a new property named authProvider instead of twitchClient (see above) (02ba84d, #154)
  • [twitch-webhooks] remove WebHookListener.create and LegacyAdapter - use any other adapter instead; if you liked the automatic port and IP determination, use the portfinder and public-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)

Don't miss a new twurple release

NewReleases is sending notifications on new releases.