Skip to content

Commit 341973d

Browse files
committed
Merge remote-tracking branch 'origin/master' into v10.0.0
# Conflicts: # melos.yaml # packages/stream_chat/CHANGELOG.md # packages/stream_chat/example/pubspec.yaml # packages/stream_chat/lib/src/client/channel.dart # packages/stream_chat/lib/src/client/client.dart # packages/stream_chat/lib/src/core/models/channel_config.dart # packages/stream_chat/lib/src/core/models/channel_config.g.dart # packages/stream_chat/lib/src/event_type.dart # packages/stream_chat/lib/stream_chat.dart # packages/stream_chat/lib/version.dart # packages/stream_chat/pubspec.yaml # packages/stream_chat/test/src/client/channel_test.dart # packages/stream_chat_flutter/CHANGELOG.md # packages/stream_chat_flutter/example/pubspec.yaml # packages/stream_chat_flutter/lib/src/channel/stream_message_preview_text.dart # packages/stream_chat_flutter/lib/src/stream_chat_configuration.dart # packages/stream_chat_flutter/pubspec.yaml # packages/stream_chat_flutter/test/src/indicators/goldens/ci/sending_indicator_1.png # packages/stream_chat_flutter/test/src/indicators/goldens/ci/sending_indicator_2.png # packages/stream_chat_flutter/test/src/theme/message_theme_test.dart # packages/stream_chat_flutter_core/CHANGELOG.md # packages/stream_chat_flutter_core/example/pubspec.yaml # packages/stream_chat_flutter_core/pubspec.yaml # packages/stream_chat_localizations/CHANGELOG.md # packages/stream_chat_localizations/example/pubspec.yaml # packages/stream_chat_localizations/pubspec.yaml # packages/stream_chat_persistence/CHANGELOG.md # packages/stream_chat_persistence/example/pubspec.yaml # packages/stream_chat_persistence/lib/src/db/drift_chat_database.dart # packages/stream_chat_persistence/pubspec.yaml # sample_app/lib/pages/channel_page.dart # sample_app/pubspec.yaml
2 parents 182706c + 0292922 commit 341973d

File tree

106 files changed

+7828
-1055
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+7828
-1055
lines changed

.github/dependabot.yml

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,41 @@
1+
# See Dependabot documentation for all configuration options:
2+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+
14
version: 2
25
updates:
6+
# GitHub Actions
7+
# Updates workflow dependencies and groups them into a single PR
38
- package-ecosystem: "github-actions"
49
directory: "/"
510
schedule:
611
interval: "weekly"
12+
open-pull-requests-limit: 10
13+
# Group all GitHub Actions updates into a single PR
14+
groups:
15+
all-actions:
16+
patterns: ["*"]
17+
commit-message:
18+
prefix: "chore(deps)"
19+
# Ignore patch updates to reduce noise
20+
ignore:
21+
- dependency-name: "*"
22+
update-types: ["version-update:semver-patch"]
23+
24+
# Pub Packages
25+
# All packages grouped into a single configuration using multi-directory support
726
- package-ecosystem: "pub"
8-
directory: "/packages/stream_chat"
9-
schedule:
10-
interval: "weekly"
11-
- package-ecosystem: "pub"
12-
directory: "/packages/stream_chat_flutter_core"
13-
schedule:
14-
interval: "weekly"
15-
- package-ecosystem: "pub"
16-
directory: "/packages/stream_chat_flutter"
17-
schedule:
18-
interval: "weekly"
19-
- package-ecosystem: "pub"
20-
directory: "/packages/stream_chat_persistence"
21-
schedule:
22-
interval: "weekly"
23-
- package-ecosystem: "pub"
24-
directory: "/packages/stream_chat_localizations"
27+
directories:
28+
- "/sample_app"
29+
- "/packages/stream_chat"
30+
- "/packages/stream_chat_flutter_core"
31+
- "/packages/stream_chat_flutter"
32+
- "/packages/stream_chat_persistence"
33+
- "/packages/stream_chat_localizations"
2534
schedule:
2635
interval: "weekly"
36+
open-pull-requests-limit: 10
37+
groups:
38+
all-dependencies:
39+
patterns: ["*"]
40+
commit-message:
41+
prefix: "chore(deps)"

.github/workflows/pr_title.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ jobs:
2020
with:
2121
scopes: |
2222
llc
23-
persistence
24-
core
2523
ui
26-
doc
27-
repo
24+
core
2825
localization
26+
persistence
27+
ci
28+
deps
29+
repo
2930
samples
3031
requireScope: true
3132
env:

CONTRIBUTING.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ PR titles should follow the format below:
160160
4. *types* other than `fix:` and `feat:` are allowed, for example **[@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional)** (based on the **[the Angular convention](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines)**) recommends `build:``chore:``ci:``docs:``style:``refactor:``perf:``test:`, and others.
161161
5. *footers* other than `BREAKING CHANGE: <description>` may be provided and follow a convention similar to **[git trailer format](https://git-scm.com/docs/git-interpret-trailers)**.
162162

163+
### CHANGELOG.md Updates 📝
164+
165+
After making changes, please ensure you update the `CHANGELOG.md` file located in the root of each package you modified.
166+
163167
### Testing
164168

165169
At Stream, we value testing. Every PR should include passing tests for existing and new features. To run our test suite locally, you can use the following *Melos* command:
@@ -169,12 +173,6 @@ At Stream, we value testing. Every PR should include passing tests for existing
169173
> melos run test:flutter
170174
```
171175

172-
### Our Process
173-
174-
By default, our development branch is `develop`. Contributors should create new PRs based on `develop` when working on new features.
175-
176-
Develop is merged into master after the team performs various automated and QA tests on the branch. Master can be considered our stable branch, it represents the latest published release on pub.dev.
177-
178176
---
179177

180178
# Versioning Policy

packages/stream_chat/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@
55
- Fixed `Location.endAt` field not being properly converted to UTC, causing "expected date" API
66
errors when sending location messages.
77

8+
## 9.20.0
9+
10+
✅ Added
11+
12+
- Added support for user-level privacy settings via `OwnUser.privacySettings`.
13+
- Added `invisible` field to `User` and `OwnUser` models.
14+
- Added message delivery receipts support with `lastDeliveredAt` and `lastDeliveredMessageId` fields
15+
in `Read` model.
16+
- Added `Client.markChannelsDelivered` method to submit delivery receipts.
17+
- Added `deliveriesOf` and `readsOf` helper methods to `ReadIterableExtension` for querying read and
18+
delivery statuses.
19+
- Added channel capability getters: `Channel.canUseDeliveryReceipts`, `Channel.canUseReadReceipts`,
20+
`Channel.canUseTypingEvents`.
21+
22+
⚠️ Deprecated
23+
24+
- Deprecated `Channel.canSendTypingEvents` in favor of `Channel.canUseTypingEvents`.
25+
26+
🔄 Changed
27+
28+
- Typing and read receipts now respect both channel capabilities and user privacy settings.
29+
- `markRead`, `markUnread`, `markThreadRead`, and `markThreadUnread` methods now throw
30+
`StreamChatError` when channel lacks required capabilities.
31+
832
## 10.0.0-beta.8
933

1034
✅ Added

0 commit comments

Comments
 (0)