-
Notifications
You must be signed in to change notification settings - Fork 228
4.41.0 Release #2868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
4.41.0 Release #2868
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Make it easier to customize the channel preview message text * Make it easier to customize the channel title text in the Channel List * Update CHANGELOG.md
* Add moderation details payloads * Add moderation details DTO * Add moderation details models * Change isBounced logic to use moderationDetails * Add `shouldRenderAsSystemMessage` to control when to render message a system message * Change `isLastActionFailed` to account for `isBounced` * Change `isInteractionEnabled` to account for `isBounced` * Fix message view not updated when moderation details is removed * Change `textContent` to account for `isBounced` * Grab the original text when editing a bounced message * Allow resending a bounced message * When editing a bounced message, resend it instead of updating it on the server Since the message does not exist on the server, we can't call update message in this case * Don't clear bounced message when opening channel * Hard delete messages which are local only * Remove debounced message actions from `ChatMessageActionsVC` It does not make sense for this component to handle this responsibility * Show alert for debounced message even on long press * Allow to override message actions title from the constructor * Show debounced message actions alert from Message List * Update localization of moderated messages * Update CHANGELOG.md * Revert "Change `textContent` to account for `isBounced`" This reverts commit 1c7af49. * Revert "Grab the original text when editing a bounced message" This reverts commit 1aec5a3. * Revert changing the bounced message text when resending it * Fix Unit Tests not compiling * Add Moderation Details Payload test coverage * Add Moderation Details DTO coverage * Add Moderation Details domain test coverage * Add test coverage to shouldRenderAsSystemMessage * Add test coverage to isLastActionFailed * Add test coverage to isInteractionEnabled * Add test coverage for resetting moderation of a message * Add test coverage for resending bounced message * Add snapshot test for a bounced message * Add test coverage to editing bounced message * Add test coverage to deleting local only message * Update CHANGELOG.md * Change the moderation detail action to be immutable * Update Sources/StreamChatUI/Utils/ChatMessage+Extensions.swift Co-authored-by: Pol Quintana <pol.quintana1@gmail.com> * Fix Xcode 14 compilation in Message List * Update comments in `MessageUpdater.deleteMessage()` * Fix ephemeral messages should have interaction disabled * Fix being able to swipeToReply bounced messages --------- Co-authored-by: Pol Quintana <pol.quintana1@gmail.com> Co-authored-by: Alexey Alter-Pesotskiy <a.alterpesotskiy@mail.ru>
* Always use reloadChannels() in Channel List * Update CHANGELOG.md * Remove unnecessary tests
β¦2865) * Fix empty channel list when querying both hidden or shown channels * Update CHANGELOG.md
* Background Mapping - Main implementation (#2831) * Use OperationQueue to serialize mappings * BG improvements * Improve threading and notifications for BackgroundListDatabaseObserver * Fix existing tests * Make sure BG and FG List Observers have the same behaviour * Fixes for ChannelController tests * Fix Xcode 13 issues * Fix ChatChannelController tests * Fix ChannelListController tests * Fix CoreDataLazy related tests fixes * Address PR comments * Remove unneeded thread switching * Remove old test * Background Mapping - Offline Fixes (#2839) * Make sure BGListObserver reports initial items through callback * Fix ChatChannelController tests * Minor improvements on BackgroundListDatabaseObserver * Fix ChatChannelListController tests * Fix ListDatabaseObserver_Sorting tests * Add more documentation * Fix failing tests * Address PR comments * Bring back test removed by mistake * Background Mapping - Disable CoreDataLazy (#2844) * Avoid lazyness when fetching _readByCount * Remove CoreDataLazy(forceLazy:) * Avoid performance degradator logic in CoreDataLazy * Enable Background Mapping for internal Stream configuration * Add extra documentation * Fix existing CoreDataLazy specs * Add tests for relationshipAsModel * Background Mapping - Entity Observer (#2837) * Create BackgroundEntityDatabaseObserver * Use EntityDatabaseObserverWrapper to switch from Foreground to Background * Fix existing tests * Make sure database deletions are processed in the right thread * Apply learnings from BackgroundListDatabaseObserver to Entity Observer * Add EntityDatabaseObserverWrapper_Tests * Unify Background Database Observer logic * Fix flaky test * Fix documentation * Do not try to fetch Core Data objects with temporary IDs * Enable Background Mapping for DemoApp * Fix patch for NSManagedObjectID being temporary * Remove public declarations for _canFetchRelationship and _backgroundMappingRelationshipsMaxDepth --------- Co-authored-by: Alexey Alter-Pesotskiy <a.alterpesotskiy@mail.ru>
|
Build for regression testing β123456953 has been uploaded to TestFlight π |
1 build increased size
ChatSample 1.0 (1)βοΈ Compare build Total install size change: β¬οΈ 112.3 kB (0.92%) Largest size changes
πΈ Powered by Emerge Tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

StreamChat
β Added
ChatMessage#2846π Fixed
StreamChatUI
β Added
ChatChannelListItemView#2855π Fixed
reloadChannels()in the Channel List to improve stability #2858