TS SDK v7.0.0 Migration Guide
This guide is to provide information about breaking changes and how to migrate from 6.x.x version to v7.0.0. AmitySDK 7.0.0 is the major release of our SDK.
UserRepository
declineFollower
Removed
Use declineMyFollower instead
acceptFollower
Removed
Use acceptMyFollower instead
getViewedUsers
Removed
Use getReachUsers instead
observeUser
Removed
Use getUser instead
observeFollowers
Removed
Use getFollowers instead
observeFollowings
Removed
Use getFollowings instead
observeFollowInfo
Removed
Use getFollowInfo instead
SubChannelRepository
startReading
Removed
Use startMessageReceiptSync instead
stopReading
Removed
Use stopMessageReceiptSync instead
StreamRepository
queryStreams
Removed
Use getStreams instead
getStream
Removed
Use getStreamById instead
CommunityRepository
getTopTrendingCommunities
Removed
Use communityRepository instead
observeCommunity
Removed
Use getCommunity instead
ChannelRepository
markAsRead
Removed
Use Amity.Channel.markAsRead instead
observeChannel
Removed
Use getChannel instead
observeChannels
Removed
Use getChannels instead
PostRepository
updatePost
Removed
Use editPost instead
observePost
Removed
Use getPost instead
observePosts
Removed
Use getPosts instead
PollRepository
observePoll
Removed
Use getPoll instead
CommentRepository
observeComment
Removed
Use getComment instead
observeComments
Removed
Use getComments instead
FileRepository
observeFile
Removed
Use getFile instead
createFile
Removed
Use uploadFile instead
createImage
Removed
Use uploadImage instead
createVideo
Removed
Use uploadVideo instead
MessageRepository
observeMessage
Removed
Use getMessage instead
observeMessages
Removed
Use getMessages instead
FeedRepository.getCustomRankingGlobalFeed
page
Removed
Use queryToken instead
nextPage
Removed
Use paging.next instead
prevPage
Removed
Use paging.previous instead
FeedRepository.queryGlobalFeed
nextPage
Removed
Use paging.next instead
prevPage
Removed
Use paging.previous instead
useCustomRanking
Removed
Use getCustomRankingGlobalFeed instead
page
Removed
Use queryToken instead
queryRoles
page
Removed
Use queryToken instead
AmityClient
stopUnreadSyncing
Removed
Use startUnreadSync instead.
getTotalUnreadCount
Removed
Use getUserUnread instead.
AmityChannel
messageCount
Removed
Use messageCount from sub channel
unreadCount
Removed
Use subChannelsUnreadCount instead
hasMentioned
Removed
Use isMentioned instead
AmitySubChannel
hasMentioned
Removed
Use isMentioned instead
CommunityRepository.getCommunities
DisplayName
Removed
DisplayName parameter is removed getCommunites and use searchCommunities instead
DisplayName
Removed
DisplayName option in SortBy Enum is removed GetCommunites and use searchCommunities instead
CommunityRepository.Membership.getMembers
search
Removed
search parameter is removed getMembers and use searchMembers instead
DisplayName
Removed
DisplayName option in SortBy Enum is removed getMembers and use searchMembers instead
Client.getUserUnread
hasMentioned
Removed
Use isMentioned instead
MessageRepository.queryMessages
dataType
Removed
Use type instead
excludeTags
Removed
Use excludingTags instead
tags
Removed
Use includingTags instead
UserRepository.getUsers
DisplayName
Removed
DisplayName parameter is removed in getUsers and use searchUserByDisplayName instead
DisplayName
Removed
DisplayName option in SortBy Enum is removed getUsers and use searchUserByDisplayName instead
Last updated
Was this helpful?