Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GetStream/stream-chat-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2dfeaad
Choose a base ref
...
head repository: GetStream/stream-chat-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 135147f
Choose a head ref
  • 3 commits
  • 9 files changed
  • 5 contributors

Commits on Sep 9, 2026

  1. [CHA-3618] feat: support custom_set and custom_unset in batch channel…

    … update (#270)
    
    * feat(channel): support custom_set and custom_unset in batch channel update (CHA-3618)
    
    Add customSet and customUnset to ChannelsBatchOptions, serialized as the
    root-level custom_set and custom_unset of PUT /channels/batch and omitted when
    unset. They patch individual keys of a channel's custom object instead of
    replacing it, which is what data.custom does today.
    
    ChannelBatchUpdater.updateData gains an overload carrying both, with a nullable
    data so a custom patch can be sent on its own.
    
    Validation stays on the server: it owns the rules for which combinations are
    rejected.
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    
    * refactor(channel): replace the batch custom-patch overload with updateCustom
    
    The 4-arg updateData(filter, data, customSet, customUnset) made the dominant
    case read as updateData(filter, null, Map.of("group", "old"), null): a null
    sandwich for a request that only patches one custom key.
    
    Drop that overload and restore updateData(filter, data) to its pre-existing
    form. The patch-only case is now updateCustom(filter, customSet, customUnset),
    with no data argument, and the rare combined case is updateData(filter, data,
    ChannelCustomPatch), a two-member helper value type next to ChannelsBatchOptions
    that is unpacked into custom_set and custom_unset and never serialized itself.
    
    The wire shape is unchanged: ChannelsBatchOptions still carries customSet and
    customUnset as the root-level custom_set and custom_unset.
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    
    * refactor(channel): use updateData for batch custom patches
    
    * fix(channel): omit null custom data in batch updates
    
    Omit ChannelDataUpdate.custom when it is unset so the v1 extra-fields decoder does not treat null as a whole custom replacement. This allows data to be combined with custom_set/custom_unset and prevents data-only updates from replacing existing custom data.
    
    Replace the ordered root-field assertion with targeted wire assertions for data.custom and helper-only field names.
    
    ---------
    
    Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
    kanat and claude authored Sep 9, 2026
    Configuration menu
    Copy the full SHA
    7fe96dc View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2026

  1. feat: add skip_truncate to channel delete (#271)

    * feat: add skip_truncate to channel delete
    
    Soft deleting a channel truncates it, so a channel recreated with the same id comes back empty. ChannelDeleteRequest and ChannelDeleteManyRequest take setSkipTruncate, sent as a query param on the single delete and a body field on the batch delete, both omitted when unset.
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    
    * fix: keep the two argument delete on ChannelService
    
    Adding skip_truncate to the existing method changed a public interface signature. Keep it and add a three argument overload beside it, so callers of ChannelService.delete(type, id) still compile.
    
    Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
    mogita and claude authored Sep 10, 2026
    Configuration menu
    Copy the full SHA
    4bdab76 View commit details
    Browse the repository at this point in the history
  2. chore(release): 1.48.0 (#272)

    Co-authored-by: github-actions <release@getstream.io>
    github-actions[bot] and github-actions authored Sep 10, 2026
    Configuration menu
    Copy the full SHA
    135147f View commit details
    Browse the repository at this point in the history
Loading