Skip to content

feat: V7 #2999

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 75 commits into from
May 6, 2025
Merged

feat: V7 #2999

merged 75 commits into from
May 6, 2025

Conversation

isekovanic
Copy link
Contributor

@isekovanic isekovanic commented Mar 7, 2025

🎯 Goal

This is the branch responsible for tracking the V7 changes in the SDK and making it easier to check that everything is working fine.

PRS of things we want to include in V7 will be done separately and merged here.

Current breaking changes:

  • Removal of StreamChatGenerics and their replacement with module augmentation
  • Removed support for react-native-document-picker
  • Unify file and image types in the SDK to a common File type.
  • Removal of MessageType type from the SDK.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@isekovanic isekovanic changed the title feat!: V7 feat: V7 Mar 7, 2025
* feat: remove StreamChatGenerics and introduce interface merging

* fix: some of the outstanding todos

* chore: add default interfaces

* chore: remove SCG from sample app

* fix: remove redundant types

* fix: remove type module

* fix: change the way interface declaration is consumed

* fix: ignore ts complaints for interface declaration

* chore: migrate TypescriptMessagingApp away from SCG

* chore: migrate the Expo sample app away from SCG

* fix: commit missing files

* fix: revert mistaken change

* fix: add resolutions for symlinked libs
@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Mar 7, 2025

SDK Size

title develop branch diff status
js_bundle_size 469 KB 466 KB -2726 B 🚀

@fobos531
Copy link

Hello @isekovanic - do you plan to switch to expo-video in v7? #2805

@isekovanic
Copy link
Contributor Author

Hi @fobos531 , yes - that's the current plan (along with a couple more minor changes).

isekovanic and others added 13 commits March 11, 2025 11:48
* feat: introduce support for expo-video

* fix: remove redundant test

* fix: add check for audio component
# Conflicts:
#	.github/workflows/sample-distribution.yml
#	package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts
#	package/src/components/ChannelPreview/hooks/useIsChannelMuted.ts
#	package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts
#	package/src/hooks/useTranslatedMessage.ts
# Conflicts:
#	examples/ExpoMessaging/yarn.lock
#	examples/SampleApp/ios/Podfile.lock
#	examples/SampleApp/yarn.lock
#	examples/TypeScriptMessaging/yarn.lock
#	package/expo-package/yarn.lock
#	package/native-package/yarn.lock
#	package/src/components/ChannelList/hooks/listeners/useUserPresence.ts
#	package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts
#	package/src/hooks/useSelectedChannelState.ts
khushal87 and others added 24 commits April 24, 2025 11:41
fix: remove MessageType type from the SDK
…roken

fix: thread messages setting broken
# Conflicts:
#	examples/SampleApp/yarn.lock
#	package/src/components/Attachment/Gallery.tsx
…nsition setting is enabled (#3073)

* fix: respect the hasCommand channel prop as well

* fix: keybaord taking full screen issue when the prefer cross-fade transition setting is enabled (#3072)

* fix: keybaord taking full screen issue when the prefer cross-fade transition setting is enabled
# Conflicts:
#	package/expo-package/package.json
#	package/native-package/package.json
@isekovanic isekovanic merged commit e2a01e9 into develop May 6, 2025
5 checks passed
@isekovanic isekovanic deleted the V7 branch May 6, 2025 13:33
@github-actions github-actions bot mentioned this pull request May 6, 2025
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants