A few new Twitch resources and events, paired with a few additional features to make some people's live easier. Not much less than you'd expect from a minor release (especially a x.1.0), but also not much more.
Breaking changes
- [api] remove community filter from streams (removed by Twitch long ago) (925d38c)
Deprecations
- [api]
HelixCustomReward#autoApproved
- useautoFulfill
instead (bdbe208, #300) - [chat]
ChatClient#enableR9k
,ChatClient#disableR9k
- use(enable|disable)UniqueChat
instead (94b56f1) - [api]
HelixChannelApi#getChannelInfo
- usegetChannelInfoById
instead (fb0a602)
Features
- [auth-ext] new package for automatic authentication in extensions (b74634c)
- [ebs-helper] new package: wraps JWT creation and extension API calls (4a3efb3, #291)
- [api, eventsub] add creator goals endpoints/events (fe443b4, #301, #315)
- [api] add new automod endpoints in the moderation API (a97a101, #314, #326)
- [chat] add
ChatClient#onAnnouncement
(4f2ae3e, #349, #350) - [chat] add
ChatClient#announce
(304d094) - [chat] add
ChatClient#enableUniqueChat
,ChatClient#disableUniqueChat
(94b56f1) - [chat] add
isHighlight
andisRedemption
fields toTwitchPrivateMessage
(2508fe9, #305, #307) - [eventsub] add
EventSubSubscription#getCliTestCommand
for easier event testing (58065eb, #329) - [eventsub] add new
usePathPrefixInHandlers
option to override path prefixing behavior (3dba99c) - [eventsub] add
strictHostCheck
option (18564d6) - [api] add getChannelInfoById, getChannelInfoByIds (fb0a602, #317)
- [api] add basic debug logging to
ApiClient
(78cf7c5, #330) - [api] add
HelixEventSubSubscription#cost
property (88cc521, #298, #299) - [eventsub] add
EventSubChannelPredictionEndEvent#endDate
(0a961be, #304) - [api] add last known rate limit values to ApiClient (2b36dbe, #281)
- [chat] add missing tags for
ClearChat
andUserNotice
(621ba2c, #308, #309) - [chat] add auth retry count to
onAuthenticationFailure
event (c926e32, #316) - [api-call] add more info to HttpStatusCodeError (7137551)
- [chat] add sent date tag (c2753f7, #331, #332)
Improvements
- [auth, auth-electron] implement queue for requests to bundled AuthProvider implementations (1db82da, #318, #320)
- [auth] accept equivalencies when comparing scopes (21cc341, #323, #342, #343)
- [api-call] use full URL (with query) in API call error message (00623bf)
- [api, auth] add error causes to errors that threw away their original errors before (a645bed)
- [pubsub] remove additional trailing newlines from debug output (f88c1d9)
- [eventsub] throw explicitly when body is already parsed (fff3aaa, #327)
Fixes
- [api] add missing namespaces to
ApiClient
(3ba7f74)