Skip to content

Align with Twitch's 2026-11-10 docs changelog: EventSub statuses, doc comments, docs/ examples - #106

Merged
jackmcguire1 merged 1 commit into
Its-donkey:testfrom
jackmcguire1:fix/docs-nov-10
Nov 11, 2026
Merged

jackmcguire1 merged 1 commit into
Its-donkey:testfrom
jackmcguire1:fix/docs-nov-10

Conversation

@jackmcguire1

Copy link
Copy Markdown
Collaborator

Description

Follow-up to Twitch's 2026-11-10 docs changelog ("New documentation style launched", about 55 corrections). I checked every bullet against the library. Most were already covered by #102. What's left is three missing EventSub status constants, plus doc comments and docs/ examples that no longer match the docs.

There are no type, JSON-tag, HTTP-method or behaviour changes.

Related Issues

Relates to #97 (Twitch changelog triage)

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Test improvements

Changes Made

  • New constants: EventSubStatusChatUserBanned, EventSubStatusGuestStarModeratorRemoved and EventSubStatusConduitDeleted. Twitch now lists 20 subscription statuses.
  • Corrected doc comments:
    • Guest Star group_layout is TILED or SCREENSHARE
    • Create Prediction's window is 1–1800 seconds
    • Get Videos type includes past_premiere and premiere_upload, and the duration format is described
    • Get Conduit Shards lists websocket_connection_unused
    • Get Broadcaster Subscriptions leaves out total and points when filtering by user
  • PaginationParams.Before is documented as unsupported on Get Clips, Get Stream Markers, Get Top Games and Get Banned Users. It's still sent if set, so existing callers see no change.
  • docs/ fixes:
    • Guest Star layout values
    • Prediction window range
    • Conduit shard statuses: no disabled, adds websocket_failed_to_reconnect
    • Polls: no MODERATED status or Bits voting fields
    • Stream schedule: StartTime is a time.Time, and UTCOffset is deprecated

Changelog

  • I have updated CHANGELOG.md with my changes

Testing

  • Unit tests added/updated
  • Manual testing performed
  • All existing tests pass

Test commands run:

gofmt -l helix/
go vet ./...
go build ./...
go test ./...

Documentation

  • Documentation updated in docs/ folder
  • Code comments added for exported functions

🤖 Generated with Claude Code

Add the chat_user_banned, guest_star_moderator_removed and conduit_deleted
EventSub status constants, correct doc comments (Guest Star layouts,
prediction window, video types/duration, conduit shard statuses, subscription
total/points), note that Before is unsupported on Get Clips, Get Stream
Markers, Get Top Games and Get Banned Users, and fix stale docs/ examples.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jackmcguire1
jackmcguire1 merged commit f603b21 into Its-donkey:test Nov 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant