Skip to content

Use generated websocket models - #66

Merged
Rexios80 merged 2 commits into
mainfrom
websocket-generated-models
Oct 14, 2026
Merged

Rexios80 merged 2 commits into
mainfrom
websocket-generated-models

Conversation

@Rexios80

@Rexios80 Rexios80 commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Decode websocket frames into the models from vrchat_dart_generated 1.23.0, including group, badge, queue, content-refresh, and notification-v2 events.
  • Remove the hand-written streaming models. vrcEventStream emits the generated model for each type, or VrcStreamingError for a pipeline error frame.
  • This is a breaking change, released as vrchat_dart 5.0.0.

Closes #6

Test plan

  • dart analyze --fatal-infos on vrchat_dart and the example
  • Ran vrchat_dart/example: login, user and world requests, and a live user-location websocket message decoded into the generated model
  • Confirm callers that switched on VrcStreamingEvent are updated for 5.0.0

The hand-written streaming types only covered part of the pipeline, and the specification now describes the rest.
@Rexios80
Rexios80 merged commit 3a26cfa into main Oct 14, 2026
3 checks passed
@Rexios80
Rexios80 deleted the websocket-generated-models branch October 14, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Implement new websocket events

1 participant