github twitchdev/twitch-cli v1.1.21

latest releases: v1.1.24, v1.1.23, v1.1.22...
13 months ago

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 where is_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 and channel.charity_campaign.stop mock events
  • Fixed typo in help description for --scopes flag on twitch 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 to twitch event trigger to affect the ban start and end fields for channel.ban
  • Added -v flag to twitch 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 of amount (#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

Don't miss a new twitch-cli release

NewReleases is sending notifications on new releases.