Skip to content

4.79.0 Release #844

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 21 commits into from
May 29, 2025
Merged

4.79.0 Release #844

merged 21 commits into from
May 29, 2025

Conversation

Stream-SDK-Bot
Copy link
Collaborator

✅ Added

  • Add extra data to user display info #819
  • Make message spacing in message list configurable #830
  • Show time, relative date, weekday, or short date for last message in channel list and search #833
    • Set ChannelListConfig.messageRelativeDateFormatEnabled to true for enabling it
  • Add MessageViewModel to MessageContainerView to make it easier to customise presentation logic #815
  • Add MessageListConfig.messaeDisplayOptions.showOriginalTranslatedButton to enable showing original text in translated message #815
  • Add Utils.originalTranslationsStore to keep track of messages that should show the original text #815
  • Add ViewFactory.makeGalleryHeaderView for customising header view in GalleryView #837
  • Add ViewFactory.makeVideoPlayerHeaderView for customising header view in VideoPlayerView #837
  • Add Utils.messagePreviewFormatter for customising message previews in lists #839

🐞 Fixed

  • Fix swipe to reply enabled when quoting a message is disabled #824
  • Fix mark unread action not removed when read events are disabled #823
  • Fix user mentions not working when commands are disabled #826
  • Fix edit message action shown when user does not have permissions #835
  • Fix error indicator not shown when editing a message fails #840
  • Fix read indicator shown for failed edited messages #840
  • Fix "clock" pending icon not shown when message is syncing (pending to be edited) #840

testableapple and others added 21 commits April 24, 2025 18:31
* Fix swipe to reply possible when quoting a message is disabled

* Update CHANGELOG.md
* Fix user mentions not working when commands are disabled

* Update CHANGELOG.md

* Revert "Fix user mentions not working when commands are disabled"

This reverts commit f01b010.

* Do the implementation in the view model only instead
* Introduction of ChatMessageViewModel

* Add ChatChannelViewModel and ChatMessageViewModel as environment objects

* Extract the Message View Model to a separate file

* Fix show original text not working properly

* Extract some properties from the view to the MessageViewModel

* Fix MessageContainerView_Tests

* Fix MessageListView_Tests

* Fix MessageListViewAvatars_Tests

* Use EnvironmentObject for the main container and EnvironmentValue for the child views

* Fix existing unit tests

* Add Stream's show original translation button + make it configurable

* Add test coverage to show original text feature

* Fix reaction overlay tests

* Fix message container tests

* Refactor code to avoid environment objects in MessageContainerView

* Provide view model by default

* Add warning about thread-safeness in the singletone store

* Example of performing translations from message actions

* Revert "Example of performing translations from message actions"

This reverts commit afd7e0e.

* Fix reactions overlay view not shown correct translated or original text

* Open `ChatChannelViewModel.messageActionExecuted` so that it can be observed from channel view model

* Rename originalTextTranslationsStore to originalTranslationsStore

* Make the LinkDetectionTextView change wheneve the translations store changes

* Clear the original translations when opening the channel

* Add TODO v5 comments

* PR Feedback

* Refactor using utils

* Reapply "Example of performing translations from message actions"

This reverts commit 4584aa7.

* Revert "Reapply "Example of performing translations from message actions""

This reverts commit 33520f9.

* Update CHANGELOG.md

* Fix editing message not working

* Revert "Fix MessageListView_Tests"

This reverts commit b3b00ef.

* Revert "Fix MessageListViewAvatars_Tests"

This reverts commit 43df718.

* Revert "Fix MessageContainerView_Tests"

This reverts commit ab0e511.

# Conflicts:
#	Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageContainerView.swift
#	StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift

* Revert "Fix existing unit tests"

This reverts commit bd695bf.

# Conflicts:
#	Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageListView.swift

* Revert "Fix message container tests"

This reverts commit ab8f758.

# Conflicts:
#	StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift

* Fix message container tests

* Allow providing custom view models to reactions view
* Fix failed edited message not showing the error indicator

* Fix failed edited message shown read indicator

* Fix editing local message not showing update instantly
@Stream-SDK-Bot Stream-SDK-Bot requested a review from a team as a code owner May 29, 2025 07:42
Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

@Stream-SDK-Bot
Copy link
Collaborator Author

SDK Size

title previous release current release diff status
StreamChatSwiftUI 8.29 MB 8.25 MB -40 KB 🚀

Copy link

Build for regression testing №100 has been uploaded to TestFlight 🎁

Copy link

@laevandus
Copy link
Contributor

/merge release

@testableapple
Copy link
Contributor

Publication of the release has been launched 👍

@github-actions github-actions bot merged commit 8457d84 into main May 29, 2025
12 checks passed
@github-actions github-actions bot deleted the release/4.79.0 branch May 29, 2025 08:10
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.

6 participants