Skip to content

feat!: regenerate from chat v235.17.1 - #77

Merged
mogita merged 5 commits into
masterfrom
chore/generate-openapi
Aug 17, 2026
Merged

feat!: regenerate from chat v235.17.1#77
mogita merged 5 commits into
masterfrom
chore/generate-openapi

Conversation

@mogita

@mogita mogita commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Regenerated from the chat API at v235.17.1.

  • New: moderation policy test sets and runs, video daily digest (GET /video/stats/daily_digest).
  • Changed: message-ID paging on get channel, CSV channel export (format, include_fields), member_custom_on_messages_enabled on app settings, collections on activity requests, other_media on moderation payloads.
  • This SDK was several releases behind, so the diff also carries the API changes since its last regeneration, including the breaking ones below.

Breaking changes

  • member on message responses is now a partial member, which carries only channel_role, notifications_muted and custom. The other member fields are no longer returned.
  • get_moderation_rule and delete_moderation_rule now take the rule id as a required first argument.
  • get_poll_option no longer takes user_id.
  • ImportV2TaskSettings#source and ThreadParticipant#app_pk were removed, so reading them now raises NoMethodError.
  • Several client methods gained optional parameters in the middle of their signature rather than at the end, so calls that pass arguments positionally bind to different parameters than before. get_rate_limits, get_feeds_rate_limits, get_activity and get_comment are the ones to watch. The parameter order comes from the generator, so it cannot be pinned in this repo. Model classes take an attributes hash and are unaffected.

Verify: make test (306 examples, green locally). Integration tests run in CI.

BREAKING CHANGE: message responses return a partial member, moderation rule reads and deletes require an id, get_poll_option drops user_id, ImportV2TaskSettings#source and ThreadParticipant#app_pk are gone, and several client methods changed parameter order.

Adds the moderation policy test endpoints, the video daily digest endpoint,
message-ID paging on get channel, CSV channel export, and the model fields
that came with them.
The channel returned by a partial update can lag the write it just applied,
so the partial-update and freeze specs failed on the value they had just set.
@mogita mogita changed the title feat: regenerate from chat v235.17.1 feat!: regenerate from chat v235.17.1 Aug 17, 2026
…response

The update response can lag the write it just made, and a re-fetch is
eventually consistent, so the max_message_length assertion failed in CI.
Same lag as the channel spec: the channel returned by a partial update can
trail the write it just applied.
Hard-delete tasks sit in a shared async queue and regularly take minutes
under load, so the one minute budget kept timing out in CI.
@mogita
mogita merged commit d01c8ac into master Aug 17, 2026
7 checks passed
@mogita
mogita deleted the chore/generate-openapi branch August 17, 2026 13:34
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