Releases: twitchdev/twitch-cli
v1.1.24
Thank you to @BarryCarlyon for fixing the critical issue.
Changelog
v1.1.23
In this release:
Special thanks to @constantstress, @BarryCarlyon, @Dkamps18, @SputNikPlop, and @pixel365 for the PRs, contributions, and code reviews, and to @Robertsmania, @BarryCarlyon, and others for the bug reports and feature requests!
- WinGet instructions were added to README
- Added Device Code Flow support for
twitch token
. An additional error message is added when using a non-DCF flow on a client marked as "Public" - Added
--refresh
and--secret
totwitch token
to allow for refreshing access tokens on-demand - Added command to disable keepalive messages in EventSub WebSocket server:
twitch event websocket keepalive --session=[Session ID] --enabled=[true/false]
- Added
channel.ad_break.begin
, and all unban request subscription types to mock EventSub - Added a notice in the console when a new CLI version is available for upgrade. This check can be disabled in the configuration file.
- Fixed bug where
keepalive_timeout_seconds
wasn't always consistent after reconnect testing.
Changelog
- e3ee806 Add WinGet instructions to the Readme
- de5ddfa Added DCF support for twitch token; Added error message when trying to use non-dcf flow on a public client
- 2a62486 Added RPC command to disable keepalive messages for a client; #291
- a4ea3e1 Added channel.ad_break.begin
- f118097 Added notice for when a new version is available to upgrade to
- 5209302 Added unban requests events
- 4e6d317 Fix .goreleaser.yml
- 28609fb Fixed issue where no scopes message was saying user id instead of scopes
- 0d85614 Fixed link to documentation
- 6d90dd7 Fixes #310
- 3c1437c Forgot ad break begin test
- a996cc7 Made ws mock server keepalive_timeout_seconds persistent across reconnects
- 0937d3f Merge branch 'main' into feat-309
- 6d48dd4 Merge branch 'main' into feature_291
- 4af033b Merge branch 'main' into fix-315
- 6ed1090 Merge branch 'main' into master
- 64ed68e Merge branch 'main' into update-checker
- 5c12ac9 Merge from main
- 468b0e7 Merge pull request #303 from twitchdev/feature_291
- ac606e4 Merge pull request #304 from constantstress/patch-1
- 413b8cf Merge pull request #305 from constantstress/patch-1
- b0ab98a Merge pull request #306 from BarryCarlyon/patch-2
- 12b9bb8 Merge pull request #311 from Dkamps18/master
- e5c22fe Merge pull request #312 from Dkamps18/wskeepalive
- bf64ffa Merge pull request #316 from twitchdev/feat-313-fix-314
- e7d0943 Merge pull request #318 from twitchdev/fix-315
- f491ba8 Merge pull request #319 from twitchdev/feat-309
- 538b48a Merge pull request #320 from twitchdev/eventsub-updates
- 83b47aa Merge pull request #321 from twitchdev/update-checker
- 30cf222 Merge pull request #322 from SputNikPlop/event-message-id
- fb0262e Merge pull request #325 from pixel365/feat/events-refactoring
- a595239 Merge pull request #327 from twitchdev/fix-validate-scopes-issue
- 89451e5 Merge pull request #328 from twitchdev/goreleaser-fix-june24
- 2893a58 Refreshing access tokens on demand (#308)
- 20324c4 Removed subscription object's awareness of client name; Fixes #315
- aebad85 Some cleanup
- a04c8b9 Update token.md
- 41b07aa Updated docs for keepalive websocket RPC
- 1c842bc Updated error message when forwarding WebSocket events
- ce41312 Updated examples in event.md
- 0160d80 Updated to match main
- 3e3a577 Updated token docs for dcf
- e114bd3 fix: add event message id
- 96fac28 fix: event message id and formatting
- 05a05eb fix: missed part
- 731ce2c fix: split event and subscription id
- e35b269 fix: split event ids
- 6756211 refactoring 'event' subcommands
- 9d8c257 ws mock server keepalive_timeout_seconds query parameter support
v1.1.22
Special thanks to @SputNikPlop, @lleadbet, @Dkamps18, @aaricdev for the PRs, contributions, and code reviews, and to @dynamitejustice, @djavorszky, @aaricdev, @lleadbet, @BarryCarlyon for the bug reports and feature requests!
In this release:
- Added
GET /mock/channels/followers
mock API endpoint - Added
GET /mock/channels/followed
mock API endpoint - Added
--redirect-host
flag totwitch token
to change authentication redirect URL without affecting the webserver binding (#295) - Added
--broadcaster
flag totwitch event verify-subscription
to pass broadcaster ID into the payload - Added
twitch event configure
command to set defaults fortwitch event trigger
(#96) - Added
campaign_id
fieldGET /mock/charity/campaigns
(#300) - Added
points
field toGET /mock/subscriptions
(#302) - Added
is_feature
field toGET /mock/clips
- Removed deprecated
channel.follow v1
mock EventSub event - Removed deprecated
/mock/users/follows
mock API endpoint - Fixed EventSub WebSocket not returning
410 Gone
response code onPOST /eventsub/subscriptions
for removed versions - Fixed segmentation issue when running
twitch token
(#289) - Fixed issue with
twitch event verify-subscription
not working when an event has multiple versions (#288) - Fixed misspelled "amount" field in
GET /mock/charity/campaigns
(#300) - Fixed Mock API scope name to correctly be
moderator:manage:shoutouts
(#301) - Fixed response status code for
PUT /mock/chat/color
to correctly return204
(#302) - Fixed JSON formatting issue on response for Mock API endpoint
/mock/users/blocks
(#292) - Fixed JSON formatting issue on response for
POST
andPATCH
on/mock/raids
(#302) - Fixed JSON formatting issue on response for
GET /mock/schedules
(#302) - Fixed
date_range
not always being set onGET /mock/bits/leaderboard
(#302) - Fixed
DELETE /mock/videos
not removing value fromstream_markers
database table (#302) - Changed
twitch token -u
to bind to0.0.0.0
instead oflocalhost
to avoid WSL issues (#295) - Changed
--cost
flag ontwitch event trigger
to allow generating multiple drops ondrop.entitlement.grant
(#298) - Changed
target_amount
field to beamount
inGET /mock/charity/campaigns
(#300) - Changed
video_language
field tolanguage
inGET /mock/videos
(#302) - Changed
video_offset
field tooffset
inGET /mock/videos
(#302) - Changed
reward_prompt
field toprompt
inGET /mock/channel_points/custom_rewards/redemptions
(#302) - Changed
user_input
field to never return null inGET /mock/channel_points/custom_rewards/redemptions
(#302) - Some code cleanup
Changelog
- fa7ebe7 - Fix statuscode of chatcolor endpoint - Fix typo in clip entity
- f7e353f /mock/users/follows returns 410 Gone; Removed channel.follow v1
- 33234b1 Add Points to possible api response property
- dc6e431 Add dateRange always to leaderboard response
- 2699420 Add points to subscription response
- 54f4271 Added 410 Gone responses to EventSub WebSocket server when trying to subscribe to an event version that was removed
- e85a245 Added is_featured to /mock/clips
- cdc13dc Also delete stream_markers related to the deleted videos
- d783250 Changed .Run(...) to .RunE(...); Fixes #289
- f34a368 Fix mapped name for language property of videos
- 19ce495 Fix name of "TargetAmount" property of a donation. The correct name is just amount
- bd2c989 Fix naming of video offset
- 6eae45e Fix response of schedule segment POST/PATCH - Might need some tweaking
- c8e1bcf Fix scope name for mock-api POST /chat/shoutouts endpoint
- a23b2cc Fixed #292
- 3c4e668 Fixed response for raids. Create endpoint should return an array
- 52e55e9 Fixed some difference to the original API - Also fixed a little typo on "campaigns.current_amount"
- 8987158 Fixed tests failing due to timezone changes - Removed one test that relied on a timezone from the database
- 891a2b6 Fixed wrong property name of predictionsç
- 76fd24d Merge branch 'main' into deferring
- 5b3c938 Merge branch 'main' into feat/192
- 648a468 Merge branch 'main' into feat/192
- 5d50e42 Merge branch 'main' into feat/eventsub-configure
- 99d2a52 Merge branch 'main' into fix-289
- 3f840ac Merge branch 'main' into fix/103
- 2a316f6 Merge branch 'main' into fix/288
- 5412b3c Merge branch 'main' into fix/login-server-binding
- aef868d Merge branch 'main' into october-updates
- 08ea62f Merge branch 'main' into unresult
- 6d0f9ba Merge pull request #284 from SputNikPlop/todo-comment
- 1b3a1c4 Merge pull request #285 from SputNikPlop/deferring
- 3cc0427 Merge pull request #286 from SputNikPlop/unresult
- fe21ba4 Merge pull request #290 from twitchdev/october-updates
- 80a65fd Merge pull request #293 from twitchdev/fix-289
- 644266d Merge pull request #294 from Dkamps18/master
- c35214b Merge pull request #295 from twitchdev/fix/login-server-binding
- 11a468d Merge pull request #296 from twitchdev/fix/288
- 10482e3 Merge pull request #297 from twitchdev/fix/103
- 237b300 Merge pull request #298 from twitchdev/feat/192
- bca3aec Merge pull request #299 from twitchdev/feat/eventsub-configure
- 5e37b40 Merge pull request #300 from Simply-Stream/fix/typos
- 414972f Merge pull request #301 from Simply-Stream/fix/scopes-shoutout
- 90a6af4 Merge pull request #302 from Simply-Stream/fix/mock-api
- 8c24ee0 Remove deprecated timezone property
- 505c45f Remove omitempty parameter from Subscription structs gifterId/Name/Login
- d359902 Removed /users/follows and added /channels/followers and channels/followed
- c76e9ec Return empty string instead of null for Gifter{ID,Name,Login}
- 864911a Reverted changes for Gifter{Id,Name,Login}
- 0ae4052 Set the timezone for another test that relied on the removed scenario
- 2d3755d Support for larger drop payloads
- 18c1ae5 Update custom reward redemptions response
- ce71f4e adds missing version parameter to verify-subscription
- 7a7cb4a allows users to pass broadcaster IDs into verify-subscription
- 68fee14 bind to 0.0.0.0 instead of localhost
- c1aef88 event configure command
- 94ab01c fix: check error before deferring
- e5ab788 fix: remove misc comment
- bf51f4f fix: remove unnecessary sprintf (#287)
- 3d86513 fix: unused err (#283)
- 41cd152 fix: unused result
v1.1.21
Special thanks to @lleadbet, @BarryCarlyon, @SputNikPlop, @alanwsmith, and @kenranunderscore for the PRs, contributions, and code reviews, and to @frifugio, @MrSnifo, and @BarryCarlyon for the bug reports and feature requests.
In this release:
- Fixed JSON response data formatting issue with
PATCH /mock/entitlements/drops
- Fixed issue in
twitch event trigger channel.subscribe
whereis_gift
will be incorrectly set to false despite the Gifter's User ID being set. - Fixed missing charity description and website fields in
channel.charity_campaign.start
andchannel.charity_campaign.stop
mock events - Fixed typo in help description for
--scopes
flag ontwitch token
- Fixed EventSub WebSocket server showing Client ID instead of Subscription ID when calling
GET /eventsub/subscriptions
- Fixed EventSub WebSocket server to only show subscriptions disabled less than 1 hour ago when calling
GET /eventsub/subscriptions
- Added
--ban-start
and--ban-end
flags totwitch event trigger
to affect the ban start and end fields forchannel.ban
- Added
-v
flag totwitch api
to display header information for the HTTP request and response, similar to curl - Added --revoke flag for
twitch token
- Added missing portions of
twitch token
documentation - Changed mock EventSub to only support IPv4 in callback validation/checking
- Changed EventSub WebSocket server to set a new subscription's
created_at
to be the server's start when not in strict mode, or to be the creation of the subscription when in strict mode - Changed /mock/charity/donations to show
target_amount
instead ofamount
(#274) - Fixed errors with tests that were causing incorrect failures on WSL and Github Actions (Windows only)
Changelog
- 73c0259 Accidentally set timer to 2 minutes instead of 1 hour
- ef18678 Added --ban-end and --ban-start flags to channel.ban mock event, allowing users to specify ban start and ban end fields (and inheritely, is_permanent)
- 94c00c5 Added --validate flag to twitch token (#277)
- 2404139 Adds header information to 'twitch api'. Addresses 261
- 8e9f103 Changed error handling for some SQL errors
- 39d30fc Changed goreleaser to use correct GCC version for Linux arm64
- c36398c Corrected charity events to properly include description and website. Fixes #263
- 8efd0bd Extended database open timeout during go test, fixing occasional WSL test issue with database file not closing as quickly as desired
- 103544e Fix Github Actions Windows test issues (#278)
- 602b4ed Fix typo in parameter description
- db3b080 Fixed #265, added time checks for subscriptions disabled over 1 hour ago. Time check disabled when using Client-Id header with value 'debug'
- 2029d25 Fixed dependabot alert 5
- 5a4ff2f Fixes #274
- d43a8a3 GET /eventsub/subscriptions showing Client ID instead of subscription ID
- 6f9ab54 Merge branch 'main' into eventsocket-264-265
- 490f61d Merge branch 'main' into eventsocket-264-265
- 37252ba Merge branch 'main' into feature-261
- 2ee937d Merge branch 'main' into fix-263
- a63a147 Merge branch 'main' into ipv4
- 97405a7 Merge branch 'main' into ipv4
- 8a7575a Merge branch 'main' into ipv4
- 5dd5d07 Merge pull request #256 from twitchdev/bugfix/minor-fixes
- 2f6df3b Merge pull request #257 from twitchdev/fix-195
- 09fd51c Merge pull request #260 from SputNikPlop/references
- a9301d5 Merge pull request #262 from twitchdev/feature-261
- 72f046c Merge pull request #266 from twitchdev/fix-263
- d6b63e2 Merge pull request #267 from alanwsmith/main
- 48df769 Merge pull request #268 from SputNikPlop/ipv4
- 50f5244 Merge pull request #269 from twitchdev/fix-cve-2022-28948
- ad81eb2 Merge pull request #270 from kenranunderscore/fix-typo
- 98ddbfb Merge pull request #272 from twitchdev/eventsocket-264-265
- 100d3b0 Merge pull request #273 from twitchdev/fixing-test-errors
- 323c804 Merge pull request #276 from BarryCarlyon/fix274
- b2ef8db Merge pull request #281 from twitchdev/rework-sql-error-handling
- 072ee0c Merge pull request #282 from twitchdev/goreleaser-build-fix
- 10faf6c Set 2 minute timeout for 'Go Test' Github action
- 874212d Set created_at properly, depending on if the server uses strict mode or not. Fixes #264
- 9f91556 This should fix the issue of db timeouts for /internal/login tests
- 7f2ac2e Updated documentation for new 'twitch api' -v flag
- 062c93f Updated token doc page
- 31e8335 Updated token docs
- 2480f7d few bugfixes
- 1e7b72e fix: add comment
- ce0b41d fix: force ipv4 connection
- 1e73845 fix: remove references to nothing
- a5c36ad fix: remove workspace file
- 6520e9d fix: use io and os instead of ioutil (#279)
- 2383e48 missed a TargetAmount
- 11e1bc5 updated mattn/go-sqlite3
v1.1.20
Special thanks to @SputNikPlop, @olivierflowerror, @Emilgardis, @frifugio, and @TDodgeCo for the PRs and contributions, and to @alkboda, @Nerixyz, @TMGMike, @MrSnifo, @TDodgeCo, for the bug reports and feature requests.
This release fixes some bugs and adds some features:
- Added
410 Gone
response codes for Soundtrack API endpoints and old tags APIs (/tags/streams
,/streams/tags
,/soundtrack/current_track
,/soundtrack/playlist
,/soundtrack/playlists
) - Added
/content_classification_labels
to the Mock API - Added
is_branded_content
field and flag to/channels
Mock API - Added content classification labels to
/channels
Mock API - Added missing scope
moderator:read:chatters
- Added
fulfillment_status
query filter forGET Entitlements
Mock API endpoint - Added
channel.update
EventSub event version 2 - Twitch CLI now returns non-zero error codes when a command fails
- Fixed typo in "invalid version" error, and in database migration message.
- Fixed blank error messages from RPC websocket commands
- Fixed
channel_points_won
not being null onchannel.prediction.progress
and.lock
- Fixed
twitch event retrigger
failing when an event has multiple active versions - Updated Charity EventSub subscriptions to "1" instead of "beta"
- Removed data from
tag_ids
fields
Changelog
- e0add2e Added 410 Gone for deprecated Soundtrack API endpoints
- ab90c85 Added Mock API endpoint /content_classification_labels
- 6b5147e Added branded content flag to /channels Mock API endpoint
- 1ddd18e Added missing scopes to mock auth; Fixes #238
- cbd1b14 Changed exit status for all 'twitch event' subcommands to return 0 on success and 1 on error.
- a79a420 Corrected variable assignment for config file, which was preventing it from persisting on the global variable
- bacbe3f Entitlements Get API filter by status
- a1609ea Fix typo in invalid version error
- 8963558 Fix typo in migration message
- 709456d Fixed a test probably
- 7c44046 Fixed blank error messages over RPC from websocket commands
- d785d07 Fixed channel_points_won to be null on channel.prediction.progress and .lock
- ec6167b Fixed deprecated gorelease flags
- 3a54ac9 Fixed issue with retrigger events when events have multiple versions
- a7e8855 Merge branch 'eventsub-exit-codes-239' of github.com:twitchdev/twitch-cli into eventsub-exit-codes-239
- 1f9dbe2 Merge branch 'main' into ccl-updates
- efaa285 Merge branch 'main' into eventsub-cost-doc-243
- 1fc6e74 Merge branch 'main' into eventsub-exit-codes-239
- 3d903cd Merge branch 'main' into eventsub-exit-codes-239
- b998a96 Merge branch 'main' into eventsub-exit-codes-239
- 353790f Merge pull request #236 from SputNikPlop/twitchdev
- 2ce96de Merge pull request #237 from opoppe/fix_typo
- 74cca29 Merge pull request #240 from twitchdev/fix-238
- 3d4f21a Merge pull request #244 from twitchdev/retrigger-follow-fix
- 243f304 Merge pull request #245 from twitchdev/eventsub-exit-codes-239
- ee48aa7 Merge pull request #246 from twitchdev/fix-242
- 4022d15 Merge pull request #247 from twitchdev/eventsub-cost-doc-243
- d030dc3 Merge pull request #248 from twitchdev/fix-241
- 5436d88 Merge pull request #250 from twitchdev/fix-249
- 5a867de Merge pull request #251 from frifugio/main
- 90b03e8 Merge pull request #253 from twitchdev/ccl-updates
- 8dd48ae Merge pull request #254 from twitchdev/freeform-tags-updates
- 69cbc13 Merge pull request #255 from twitchdev/goreleaser-deprecation-fixes
- 829d133 Moved channel.update version beta to 2
- 76832c2 Returns a non-zero error code when errors occur while using api, configure, event, and token commands
- d07636e Split channel.update event into 1 and beta (future v2), and added CCL support to beta
- cddaa62 Updated /channels Mock API endpoint to include content classification labels
- af41bea Updated charity subscriptions version from beta to 1
- fcf41c5 Updated docs
- c454e0a Updated docs to better reflect the purposes of --count and --cost EventSub trigger flags
- 7687478 Updated endpoints to exclude references to tag_ids
- a86fa67 Updated removed tags APIs to respond with 410 Gone
- c95656a fix: match website wording
v1.1.19
This release fixes some bugs involving API calls and EventSub WebSocket mock server.
- Fixed 100% CPU spike after reconnect in EventSub WebSocket mock server
- Fixed panic during some cases of
twitch api get users/extensions
- Fixed panic during some cases of
twitch api get extensions/live
Thanks to @Awakened-Redstone for reporting the 100% CPU bug
Changelog
- 7936cba Added additional goroutines for client's loop channels, and set channels to nil when closed
- 96a6b3f Added built-in profiler support for pprof
- 224a9f7 Added safety checks to dereferencing pointer
- 29ede46 Changed APIResonse struct to generics to not make assumptions about format used in the Data response field
- e748f82 Fixed goroutine exit
- 5023d1f Merge branch 'main' into fix-230-232
- 0a65126 Merge pull request #231 from twitchdev/fix-229
- ba7e315 Merge pull request #233 from twitchdev/fix-230-232
- 2c9bb6d Merge pull request #234 from twitchdev/gh-actions-v3
- ea24966 Updated actions/setup-go and actions/checkout to v3
v1.1.18
This release fixes issues with EventSub WebSocket's mock endpoint /eventsub/subscriptions, such as:
- Missing Condition object.
- Response for POST method was returning data in an incorrect format.
- Endpoint did not contain connected_at and disconnected_at in POST and GET methods.
Special thanks to @Awakened-Redstone for finding and reporting the missing condition and incorrect response data.
Changelog
- 4a59142 Added condition to /eventsub/subscriptions addressing #227
- a3fa945 Changed response to /eventsub/subscriptions; Fixes #226
- 403aa18 Corrected missing connected_at and disconnected_at timestamps on /eventsub/subscriptions
- bbcc68c Merge pull request #224 from SputNikPlop/issues
- d10cf02 Merge pull request #225 from SputNikPlop/typo
- 128f0ca Merge pull request #228 from twitchdev/fix-226
- 7720fbc feat: add semantic
- 99ac618 feat: issue templates
- 3e87036 fix: allow creating blank issues
- d11298c fix: architecture versions
- 8e14e80 fix: match name to documentation
- 8f7b9fe fix: operating system input
- 5a22ebd fix: twitch cli branding
- 8f8ead5 fix: typo
v1.1.17
The grand update of this is the release of the new EventSub WebSocket simulation. Previously the features in the CLI only allowed for connecting and testing the Reconnect message flow. Now, the Twitch CLI is on par with all events you'll see in Twitch's production environment.
Some of the new functionality includes:
- Connecting/reconnecting to a single origin (ip address/port combo, e.g. 127.0.0.1:8080). This is similar behavior to the load balancer that handles connections into Twitch's EventSub WebSocket endpoint.
- Forwarding EventSub events to the mock server to be delivered to either all clients, or a single specified client.
- Ability to POST, DELETE, and GET an endpoint mocking /helix/eventsub/subscription.
- A strict mode, to require subscriptions within 10 seconds, and also require a subscription to be made for every forwarded event.
- Carryover of subscriptions between reconnects, and inclusion of a query parameter within the reconnect URL to allow for that carryover.
- Additional power-user features, such as disconnecting websocket clients with any disconnect code, and changing subscription types to any Status other than
revoked
andenabled
.
For more information on this new functionality, please refer to the official documentation:
https://dev.twitch.tv/docs/cli/websocket-event-command/
Other than that, this update also includes the following changes:
- Added support for version 2 of EventSub event
channel.follow
. This version must be specified using the new--verison
flag - Fixed bug where command
twitch mock-api generate
was generating 1 entry by default. It now generates 10 as expected. - Mock API endpoints Get Channel Chat Badges and Get Global Chat Badges now include fields
title
,description
,click_action
, andclick_url
- Fixed error messaging in command
twitch token
to now surface errors properly - Added flags
--ip
and--port
totwitch token -u
. Defaults are still localhost and 3000 respectively.
Special thanks to @tomihawk, @BarryCarlyon, @iProdigy, and @SputNikPlop for the bug reports, and to @Marenthyu for feedback on the new EventSub WebSocket documentation and functionality.
Changelog
- 762b7f4 Added --ip flag for 'twitch event websocket start'
- 1ebd213 Added SSL support for the EventSub WebSocket server
- 6abe278 Added channel.follow v2, and included backbone for future version changes via --version flag
- b53c296 Eventsub websocket update (#217)
- 73cd305 Fixed tests yet again
- f56f33e Fixed variable crossover causing #196
- 1f3fdda Merge pull request #218 from twitchdev/chat-badge-endpoints-update
- 25dfc79 Merge pull request #220 from twitchdev/follows-v2
- dad323d Merge pull request #222 from twitchdev/fix-221
- f02f16c Merge pull request #223 from twitchdev/eventsub-websocket-ssl
- 58cd529 Tests tests tests
- 092dabf Updated Get Channel Chat Badges and Get Global Chat Badges to include title, description, click_action, and click_url
- 1a9c5a4 twitch token now listens and serves separately, which lets bind errors be focused. Also introduced --ip and --port flags; Fixes #221
v1.1.16
Big update this time! The Mock API is now more or less up-to-date with the latest changes. This will help us include future API updates in a quicker manner.
Special thanks to @juaoose for the PR, and to @JMTK and @Bootlegclan for the bug reports and feature requests.
The full list of changes is as follows:
- Added
--tier
flag for EventSub to define subscription tier - Updated EventSub
channel.shoutout.create
andchannel.shoutout.receive
version frombeta
to1
- Changed list of support EventSub topics to show the topic names instead of the aliases. Note: Aliases were removed from visibility, but they still work when used as to allow for backwards compatibility.
- Added the following Mock API endpoints:
- /charity/campaigns
- /charity/donations
- /chat/chatters
- /chat/settings
- /chat/announcements
- /chat/color
- /goals
- /moderation/bans
- /moderation/chat
- /moderation/moderators
- /moderation/shield_mode
- /moderation/vips
- /raids
- /whispers
- Updated the following parts of the Mock API:
- Removed POST and DELETE from /users/follows
- GET /bits/cheermotes now provides proper data format
- Check AutoMod Status now no longer requires
user_id
field; - Endpoints /moderation/banned/events and /moderation/moderators/events removed
- Get Banned Users now includes
created_at
field - Get Moderators includes channel:manager:moderators scope
- Renamed endpoint /chat/emotes/channel to /chat/emotes;
- /chat/emotes and its sub-endpoints now have all missing fields;
- POST and PATCH /schedule/segment now include previously missing fields, and no longer mandate the
is_reoccurring
field - GET /teams/channels now include missing fields
- GET /videos now has the correct field names, and generates new video descriptions and types properly
- Added
igdb_id
field to endpoints /games and /games/top - Updated /clips fields to match latest version
- Added
updated_at
field to /entitlements/drops - Updated /predictions to support multiple prediction options
- Added missing tags fields to Get Streams, Get Followed Streams, Search Channels, and Get/Modify Channel Information
- Updated Go version to 1.18
Changelog
- 346beb6 Add subscription tier flag
- a5df695 Add tier flag to docs
- fd16e4c Added endpoints /charity/campaigns, /charity/donations, /chat/chatters, /chat/settings, /c*/announcements, /c*/color, /goals, /moderation/bans, /m*/chat, /m*/moderators, /m*/shield_mode, /m*/vips, /raids, /whispers
- 975d223 Added igdb_id to /games and /games/top; Updated /clips fields; Added updated_at to /entitlements/drops
- c325d43 Changed shoutout version from beta to 1
- 83245ad Dependabot #2 #3 #4 fixes (#216)
- 83448d6 Fixed test file
- 4ff88d3 Fixed tests
- 98df51e GET /bits/cheermotes provides proper data format; Check AutoMod Status no longer needs user_id; /moderation/banned/events and /moderation/moderators/events removed; Get Banned Users now includes created_at field; Get Moderators includes channel:manager:moderators scope
- ba22e4c GET /teams/channels includes missing fields; GET /videos corrected field names, and generates new video descriptions and types properly
- 907ff67 Merge branch 'main' into mock-api-jan-23
- 2957aa8 Merge branch 'main' into mock-api-jan-23
- f0d8950 Merge branch 'main' into shoutouts-ga
- 46d6a37 Merge pull request #210 from juaoose/main
- 65b3af7 Merge pull request #211 from twitchdev/mock-api-jan-23
- 28810f9 Merge pull request #213 from twitchdev/shoutouts-ga
- 000dbd4 Merge remote-tracking branch 'origin/main' into mock-api-jan-23
- 9acd6b4 Removed POST and DELETE from /users/follows
- f8f15cf Renamed /chat/emotes/channel to /chat/emotes; /chat/emotes and its sub-endpoints now have all missing fields; POST and PATCH /schedule/segment have missing fields, and no longer mandate is_reoccurring
- cccb0c5 Updated /predictions to support multiple options; Added missing tags fields to Get Streams, Get Followed Streams, Search Channels, and Get/Modify Channel Information; Added /chat/shoutouts
- d56a192 Updated database version
- e7c5e07 Updated help docs to show EventSub topics instead of aliases. Previous aliases still work, but are not prreferred to be used by users going forward.
v1.1.15
Within this release the following changes were made:
- Added support for Shoutout EventSub topics:
channel.shoutout.create
,channel.shoutout.receive
- Added support for Shield Mode EventSub topics:
channel.shield_mode.begin
,channel.shield_mode.end
- Fixed typo in docs
Special thanks to @hamdouni for the contribution, and @BarryCarlyon for reviewing PRs.
Changelog
- a8e86ec Added support for eventsub triggeopics chann channel.shoutout.create and channel.shoutout.receive
- 2f8ffb7 Added support for eventsub triggers channel.shield_mode.begin and channel.shield_mode.end
- 6c4b9aa Attempt to fix workflow
- d3af606 Fixed typo in docs for mispelled 'stream'
- 7db9615 Forgot tests
- f9a652d Merge branch 'main' into eventsub-shield-mode
- 8a75be5 Merge branch 'main' into eventsub-shield-mode
- d0ea060 Merge pull request #204 from hamdouni/fix-typo-docs-stream-mispelled
- 05945ee Merge pull request #205 from twitchdev/eventsub-shield-mode
- d800dd6 Merge pull request #208 from twitchdev/workflow-fix
- 78ce45b Merge pull request #209 from twitchdev/eventsub-shoutout-beta
- 30a028a Updated to match latest eventsub