Skip to content
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

4.40.0 Release #2851

Merged
merged 11 commits into from
Oct 25, 2023
Merged

4.40.0 Release #2851

merged 11 commits into from
Oct 25, 2023

Conversation

testableapple
Copy link
Contributor

StreamChat

✅ Added

  • Add language parameter to connectUser() #2847
  • Expose language in users #2847
  • Expose originalLanguage in messages #2847

StreamChatUI

✅ Added

  • Add message attachment preview in the channel list #2838
  • Add support for automatic translations #2847
    • Enabled by Components.default.messageAutoTranslationEnabled

🐞 Fixed

  • Do not mark a channel as read if the app is in background #2832

polqf and others added 11 commits October 5, 2023 16:11
* Make sure app is in foreground in 'isViewVisible'

* Update CHANGELOG
* Add preview message text in Channel List for messages with attachments

* Add Snapshot Test Coverage

* Update CHANGELOG.md

* Add translations for default attachment preview texts
* Add support for setting the language when connecting the user

* Parse language from user payloads

* Add language to UserDTO

* Change the connectUser to use `TranslationLanguage` to be aligned with JS

* Add language to the user domain models

* Add original language to the Message domain model

* Add possibility to configure user language in the Demo App

* Add translation view to `ChatMessageContentView`

* Add messageAutoTranslationEnabled to Components Config

* Add localization key to translation label text

* FIx unit tests compilation

* Fix UI tests compilation

* Add MessageLayoutOptionsResolver Tests

* Allow resetting the language when connecting user

* Add UI snapshot test coverage

* Simplify Message Layout Options Resolver logic

* Update CHANGELOG.md

* Add automatic translation documentation

* Update CMS translation link page

* Revert "Allow resetting the language when connecting user"

This reverts commit 1c7a3ac.

* Fix deleted message showing translated text instead

* Fix not copying translated text from a translated message

* Fix quoted message not showing translated text

* Fix quoted message not translated in the composer

* Fix composer quoted attachment not translated when it has attachments

* Fix giphy messages being translated

* Fix translated label being rendered in the edge when it has attachments

* PR feedback

* Fix channel message preview not being translated

* Fix compilation issue in closure
@testableapple testableapple requested a review from a team as a code owner October 25, 2023 17:42
@testableapple testableapple merged commit 81e7a75 into main Oct 25, 2023
4 of 11 checks passed
@testableapple testableapple deleted the release/4.40.0 branch October 25, 2023 17:48
@github-actions
Copy link

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

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.

4 participants