Skip to content

[CHA-2585] feat: add migration guide from stream-chat-java#45

Merged
mogita merged 3 commits intomainfrom
cha-2585_migration-docs
Mar 11, 2026
Merged

[CHA-2585] feat: add migration guide from stream-chat-java#45
mogita merged 3 commits intomainfrom
cha-2585_migration-docs

Conversation

@mogita
Copy link
Contributor

@mogita mogita commented Mar 9, 2026

Note

Low Risk
Documentation-only change: adds migration docs and a README link, with no runtime or API behavior changes.

Overview
Adds a stream-chat-java migration guide under docs/migration-from-stream-chat-java/, with topic-based pages providing side-by-side code examples for setup/auth, users, channels, messages/reactions, moderation, and device management.

Updates README.md to point existing stream-chat-java users to the new guide.

Written by Cursor Bugbot for commit e589217. This will update automatically on new commits. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 9, 2026 10:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new documentation section to help developers migrate from the legacy stream-chat-java SDK to stream-sdk-java, with topic-based guides and side-by-side code examples.

Changes:

  • Introduces a new migration guide hub (docs/migration-from-stream-chat-java/README.md) plus per-topic guides (setup/auth, users, channels, messages/reactions, moderation, devices).
  • Adds a link from the repository root README.md to the new migration guide.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/migration-from-stream-chat-java/README.md Landing page summarizing key differences and linking to topic guides
docs/migration-from-stream-chat-java/01-setup-and-auth.md Setup/auth migration instructions (deps, initialization, tokens, sub-clients)
docs/migration-from-stream-chat-java/02-users.md User operation migrations (upsert/query/partial update/deactivate/delete)
docs/migration-from-stream-chat-java/03-channels.md Channel operation migrations (create/query/update/members/delete/truncate)
docs/migration-from-stream-chat-java/04-messages-and-reactions.md Message & reaction operation migrations (send/get/update/delete/replies/reactions)
docs/migration-from-stream-chat-java/05-moderation.md Moderation operation migrations (moderators, ban/unban, mute/unmute, query banned)
docs/migration-from-stream-chat-java/06-devices.md Device management migrations (create/list/delete, APN/FCM/VoIP)
README.md Adds an entry-point link to the migration guide

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to +16
```xml
<dependency>
<groupId>io.getstream</groupId>
<artifactId>stream-chat-java</artifactId>
<version>LATEST</version>
</dependency>
```
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The installation snippets use LATEST as the dependency version. Maven/Gradle don’t reliably support this and it encourages unpinned builds; the repo README uses a $streamVersion placeholder instead. Please replace LATEST with a concrete version (or the same placeholder used in the main README) so the example is copy/paste-safe.

Copilot uses AI. Check for mistakes.
Comment on lines +18 to +21
Gradle:
```groovy
implementation 'io.getstream:stream-chat-java:LATEST'
```
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Gradle snippets use LATEST as the dependency version. Please replace this with a pinned version (or the same $streamVersion placeholder used in the repo README) so builds are reproducible and the examples are copy/paste-safe.

Copilot uses AI. Check for mistakes.
Comment on lines +149 to +152
var response = client.chat().getMessage("message-id",
GetMessageRequest.builder()
.showDeletedMessage(true)
.build())
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetMessageRequest doesn’t have a Lombok builder setter named showDeletedMessage(...) in this repo: the generated field is ShowDeletedMessage (capital S), so Lombok generates a builder method ShowDeletedMessage(Boolean). As written, this example won’t compile; please update the snippet to use the actual builder method name (or adjust the request model/generator so the field follows normal lowerCamelCase).

Copilot uses AI. Check for mistakes.
@mogita mogita merged commit adde04f into main Mar 11, 2026
0 of 2 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.

2 participants