github twitchdev/twitch-cli v1.1.22

4 months ago

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 to twitch token to change authentication redirect URL without affecting the webserver binding (#295)
  • Added --broadcaster flag to twitch event verify-subscription to pass broadcaster ID into the payload
  • Added twitch event configure command to set defaults for twitch event trigger (#96)
  • Added campaign_id field GET /mock/charity/campaigns (#300)
  • Added points field to GET /mock/subscriptions (#302)
  • Added is_feature field to GET /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 on POST /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 return 204 (#302)
  • Fixed JSON formatting issue on response for Mock API endpoint /mock/users/blocks (#292)
  • Fixed JSON formatting issue on response for POST and PATCH on /mock/raids (#302)
  • Fixed JSON formatting issue on response for GET /mock/schedules (#302)
  • Fixed date_range not always being set on GET /mock/bits/leaderboard (#302)
  • Fixed DELETE /mock/videos not removing value from stream_markers database table (#302)
  • Changed twitch token -u to bind to 0.0.0.0 instead of localhost to avoid WSL issues (#295)
  • Changed --cost flag on twitch event trigger to allow generating multiple drops on drop.entitlement.grant (#298)
  • Changed target_amount field to be amount in GET /mock/charity/campaigns (#300)
  • Changed video_language field to language in GET /mock/videos (#302)
  • Changed video_offset field to offset in GET /mock/videos (#302)
  • Changed reward_prompt field to prompt in GET /mock/channel_points/custom_rewards/redemptions (#302)
  • Changed user_input field to never return null in GET /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

Don't miss a new twitch-cli release

NewReleases is sending notifications on new releases.