Skip to content

Conversation

@VelikovPetar
Copy link
Contributor

@VelikovPetar VelikovPetar commented Feb 9, 2026

Goal

Aligns the Threads public API with the API specs.

Implementation

  1. Rename ChatClient.queryThreadsResult to ChatClient.queryThreads and delete the current ChatClient.queryThreads (it didn't support pagination)
  2. Change the return type of ChatClient.partialUpdateThread from Thread to ThreadInfo (it returns the base Thread data (ThreadInfo), not the enriched Thread data)
  3. Add the thread.updated event and it's handling
  4. Add missing fields to ThreadInfo
  5. Remove deprecated fields from QueryThreadsRequest

🎨 UI Changes

NA

Testing

There are no visible changes that could be tested. However you can any of the following:

  1. Manually call ChatClient.getThread
  2. Manually call ChatClient.partialUpdateThread and verify it doesn't fail AND
  3. Ensure the thread.updated event is triggered and properly parsed

@VelikovPetar VelikovPetar added the pr:breaking-change Breaking change label Feb 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled.

🎉 Great job! This PR is ready for review.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

DB Entities have been updated. Do we need to upgrade DB Version?
Modified Entities :

stream-chat-android-offline/src/main/java/io/getstream/chat/android/offline/repository/domain/threads/internal/ThreadEntity.kt

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 5.26 MB 5.26 MB 0.00 MB 🟢
stream-chat-android-offline 5.48 MB 5.49 MB 0.00 MB 🟢
stream-chat-android-ui-components 10.63 MB 10.62 MB -0.01 MB 🚀
stream-chat-android-compose 12.85 MB 11.68 MB -1.16 MB 🚀

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
76.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@VelikovPetar VelikovPetar marked this pull request as ready for review February 10, 2026 09:44
@VelikovPetar VelikovPetar requested a review from a team as a code owner February 10, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:breaking-change Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant