-
Notifications
You must be signed in to change notification settings - Fork 230
4.73.0 Release #3605
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.73.0 Release #3605
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
* Fix message transformer not being applied when editing a message * Update CHANGELOG.md
* Add Draft Messages Endpoint and Payloads * Add draft messages to the local DB * Add new API for channel controller draft messages * Add Draft message logic to `ChatChannelVC` + `ComposerVC` * Add draft message to channel list payload * Add draft message APIs to `CurrentUserController` * Add `DemoDraftMessageListVC` to the Demo App * Delete draft message when publishing the message * Improve the draft message cell design in the demo app * Allow deleting drafts when swiping in the demo app * Open the channel when tapping the draft message * Add load, update and delete draft APIs to `MessageController` * Add support for saving draft replies in DTOs * Open the thread when tapping a draft reply * Create a DB method to easily delete a draft * Fix thread draft not updating in the thread list * Add support for Composer to delete the draft reply * Load draft message in the Thread * Fix draft payload changes * Create a different function to create a draft message so that it is easier to maintain * Add draft previews to Thread List * Fix trying to upload draft message attachments after coming from offline * Fix names of message controller API * Make sure draft message previews are updated in Channels and Threads * Fix demo app swipe to delete drafts not working for threads * Fix colors in Draft Message List view * Fix Get Draft endpoint response * Add draft events logic * Only fetch the draft in the composer of Drafts are enabled * Fix drafts for commands * Allow configure the BaseURL on the Demo App * Fix compilation of tests * Add draft payload tests * Make sure to save draft when text is empty but other content is not * Add draft endpoints test coverage * Add Draft Messages Repository Tests * Add missing docs to isSilent * Use itemReuseKeyPaths * Create only one instance of Drafts Repository * Add test coverage to Channel Controller * Add test coverage to Message Controller * Add current user controller test coverage * Add test coverage to ChannelDTO * Add MessageDTO test coverage * Add test coverage to ThreadDTO * Add test coverage to DraftListQuery * Add test coverage to Draft Events * Fix PR Remarks of draft messages repository * Add draft message preview to Channel List Item View * Add draft message preview to Thread List Item View * Improve SDK size * Fix compilation issues * Refactor Draft messages to have a separate type This will allow for more flexibility as well as reduce the SDK size by not introducing nested types * Fix UI Tests * PR feedback * Only render draft preview if draft messages are enabled * Use the new Draft Message model in the rest of the APIs * Fix ChatMessage.draftReply not required to be closure * Update CHANGELOG.md * Update the composer if the draft is updated * Make sure that drafts are not leaked to the regular messages * Use the new Draft Message model in CurrentUserController * Rename `draftMessage.parentMessageId` to `threadId` * Rename `DraftMessage.author` to `currentUser` * Fix parent message being used as draft in some scenarios * Add test coverage for drafts not leaking to threads * Fix Draft Message docs * Add test coverage to ChatChannelVC * Make deleting the draft optimistic so that when updating the channel or thread does not override with old draft * Add test coverage to ChatThreadVC * Fix draft being changed whenever channel or thread was updated * Expose DraftMessage in the Draft Events * Add Composer VC test coverage * Load draft replies from Channel query instead of performing request when opening a thread * Fix infinite loop crash when saving draft inside quoted and parent message * Fix typo in tests * Fix draft crashing the composer when showing command suggestions * Draft messages request should be queued offline
Generated by 🚫 Danger |
Collaborator
Author
SDK Size
|
|
Build for regression testing №123457056 has been uploaded to TestFlight 🎁 |
Collaborator
Author
SDK Performance
|
|
testableapple
approved these changes
Feb 27, 2025
Contributor
|
/merge release |
Contributor
|
Publication of the release has been launched 👍 |
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
ChatChannel.draftMessageChatMessage.draftReplyChannelController:updateDraftMessage()deleteDraftMessage()loadDraftMessage()MessageController:updateDraftReply()deleteDraftReply()loadDraftReply()CurrentUserController:deleteDraft()loadDraftMessages()loadMoreDraftMessages()🐞 Fixed
StreamChatUI
✅ Added
Components.isDraftMessagesEnabledto enable Draft Messages #3588