Releases: AmityCo/Amity-Social-Cloud-SDK-iOS
Releases · AmityCo/Amity-Social-Cloud-SDK-iOS
Release 5.10.0
Version 5.10.0 (2022-01-25)
New Features:
- Provide user level notification error
- Do not remove old mentions in a message after editing
- Hard delete post and comment
- Live collection allObjects API
Fixes:
- Fix compose bar text wrapping issue for messages
- Fix compose bar text wrapping issue for post/comment
Api:
- Provide custom post-ranking global feed to support a score-sorting mechanism.
Compatibility
- Xcode Version: 13.1
- Realm Version: 10.21.1
- Minimum Target: iOS 12.0
Release 5.9.0
Version 5.9.0 (2021-12-24)
New Features:
- Add support for real time events for social module
- Add ability to create a comment/reply with mention
- Provide mentionees property for comment/reply
- Add ability to update a comment/reply with mention
Fixes:
- Fix duplicate comment issue after updating a comment
- Fix mention highlight issue after editing a comment
- Fix mention limitation issue for a comment/reply
- Fix mention user issue for comment/reply in private community
- Fix text wrapping issue for comment/reply
- Fix display name appearance issue for community members
Api:
- A variable
channelSegment
in AmityMessage is now public. - Deprecate
AmityClient(apiKey:_, httpUrl:_, socketUrl:_)
&AmityClient(apiKey:_, url:_)
method. UseAmityClient(apiKey:_, region:_)
orAmityClient(apiKey:_, endpoint:_)
method instead. AmityRegionalEndpoint
is now deprecated. UseAmityRegion
instead.
// New Way:
let client = AmityClient(apiKey: "api-key", region: .global)
clientErrorDelegate
in AmityClient is now deprecated. A newdelegate
property is introduced in AmityClient. Now you can observe connection status change through delegate itself.
let client = AmityClient(...)
client.delegate = self
...
extension MyClass: AmityClientDelegate {
func didChangeConnectionStatus(status: AmityConnectionStatus) {
// Observe connection status change here
}
func didReceiveError(error: Error) {
// Handle Error
}
}
Compatibility
- Xcode Version: 13.1
- Realm Version: 10.20.0
- Minimum Target: iOS 12.0
Release 5.8.0
Version 5.8.0 (2021-12-09)
New Features
- Create/Update text, image, video and file post with mention
- New addRoles and removeRoles functions to add and remove roles respectively in AmityCommunityModeration
- Add isGlobalBan property in AmityUser to show whether user is globally banned or not
- New AmityCommunityMembershipFilterOption filter option for community membership
- New buildForPostUpdate method in AmityPostBuilder protocol to update post
- New buildForPostUpdate method in AmityImagePostBuilder and AmityFilePostBuilder
Breaking changes
- addRole and removeRole methods are deprecated in AmityCommunityModeration
- filter parameter is removed and a new membershipOptions parameter is provided for getMembers function to filter community members in AmityCommunityParticipation
- setFileData is renamed to setFiles method in AmityFilePostBuilder
- setImageData is renamed to setImages method in AmityImagePostBuilder
Compatibility
Xcode Version: 13.1
Realm Version: 10.12.0
Minimum Target: iOS 12.0
5.7.2
SDK 5.7.2 Release Notes
=============================================================
New Features
Fixes
- #UP-6070 Fix app crashes when calling
getMyFollowerList()
orgetMyFollowingList()
of AmityUserFollowManager
Breaking Changes
Api:
Behaviour:
Compatibility
- Xcode Version: 12.5
- Realm Version: 10.12.0
- Minimum Target: iOS 12.0
5.7.1
SDK 5.7.1 Release Notes
=============================================================
New Features
Fixes
- #UP-5411 Fix community search issue
- [Internal] #UP-5499 Add NSString & NSNumber explictly as allowed class for unarchiving objects
- #UP-5404 Fix realm crash by checking if realm session object is still valid before accessing it
Breaking Changes
Api:
Behaviour:
Compatibility
- Xcode Version: 12.5
- Realm Version: 10.12.0
- Minimum Target: iOS 12.0
5.7.0
SDK 5.7.0 Release Notes
New Features
- #UP-4761 Remove mentionedUsers array from AmityMessage model and provide mentionees (AmityMentionees) array instead
Fixes
- #UP-4211 Use NSStringFromSelector instead of string for realm default properties
- #UP-4741 Show compose bar after edit message
- #UP-5057 Do not mention banned users
- #UP-5119 Do not mention user who left the channel
Breaking Changes
- #UP-4479 Change constructor of AmityMessageFlagger
- #UP-4477 Change constructor of AmityMessageReactor
- #UP-4475 Change constructor of AmityCommentEditor
- #UP-4473 Change constructor of AmityUserFlagger
Api:
AmityMessageFlagger
class requiresid
of the message in init method.
let flagger = AmityMessageFlagger(client: <client>, messageId: <message-id>)
AmityUserFlagger
class requiresuser id
in init method
let flagger = AmityUserFlagger(client: <client>, userId: <user-id>)
AmityCommentEditor
class requiresid
of the comment in init method
let editor = AmityCommentEditor(client: <client>, commentId: <comment-id>)
Behaviour:
Compatibility
- Xcode Version: 12.5
- Realm Version: 10.12.0
- Minimum Target: iOS 12.0
5.6.1
SDK 5.6.0 Release Notes
New Features
none
Fixes
Realm exception in release 5.6.0
Breaking Changes
none
Compatibility
- Xcode Version: 12.5
- Realm Version: 10.12.0
- Minimum Target: iOS 12.0
5.6.0
SDK 5.6.0 Release Notes
New Features
Vision
- #UP-3687 #UP-3683 #UP-3690 Create live stream post with
AmityLiveStreamPostBuilder
- #UP-4284 Change post/feed live collection behavior to rely on server states.
- #UP-4769 Add an option to create a new live stream with a thumbnail image in
streamRepository.createVideoStream(... thumbnailImage: ...)
- #UP-4769 Publish live stream to the existing stream object.
AmityStreamBroadcaster.startPublish(existingStreamId:)
- #UP-4769 Publish a new live stream with a thumbnail image.
AmityStreamBroadcaster.startPublishNewStream(... thumbnailImage: ...)
HarryPotter
- #UP-3913 Add support for creating poll post
- #UP-3919 Add poll closing api
- #UP-3916 Add poll voting api
- #UP-3907 Update post model to support poll type
- #UP-3910 Introduce poll model
- #UP-3976 Add create poll API
Shazam
- #UP-3621 Send message with mentioned users
- #UP-3609 Send mentioned users to message model
- #UP-3626 Add mention channel to message model
- #UP-3634 Provide mention configurations
- #UP-3648 Provide mention unread
- #UP-4192 Helper class to construct mentions
- #UP-4196 Helper class to render mentions
- #UP-3616 Search members by display name
- #UP-4601 Support new query to search members
- #UP-4497 Remove sort by option from search members
Fixes
Vision
- #UP-4225 #UP-4493 Add License file for SDK & UIKit
- #UP-4528 Fix post count issue in different feeds
- #UP-4517 [Internal] Fix sample app keyboard issue
- #UP-4567 [Internal] Fix sample app issue where user cannot see community feed
Ironman
- #UP-4214 [Internal] Refactor registration device code in sdk
- #UP-4212 [Internal] Add console logger in sdk
- #UP-4522 [Internal] Fix crash after declining pending post issue
- #UP-4522 Fix issue where creating community doesn't continue after internet gets back
Breaking Changes
none
Api:
- Rename
AmityStreamBroadcaster.startPublish
toAmityStreamBroadcaster.startPublishNewStream
Behaviour:
- Post/Feed live collection now rely on the server pagination states. This improve better sorting/ranking accuracy.
Side Effect: When the user create a post, the new post will not automatically appear in live collection.
Compatibility
- Xcode Version: 12.5
- Realm Version: 10.12.0
- Minimum Target: iOS 12.0