Changelog
This page contains an overview of all relevant changes made to the Amity Chat SDK modules and the latest version releases

Version 5.7.0 (2021-10-14)

New Feature

    Remove mentionedUsers array from AmityMessage model and provide mentionees (AmityMentionees) array instead

Fixes

    Do not mention banned users
    Do not mention user who left the channel

Breaking Changes

Api:

    AmityMessageFlagger class requires id of the message in init method
    1
    let flagger = AmityMessageFlagger(client: <client>, messageId: <message-id>)
    Copied!
    AmityUserFlagger class requires user id in init method
    1
    let flagger = AmityUserFlagger(client: <client>, userId: <user-id>)
    Copied!
    AmityCommentEditor class requires id of the comment in init method
    1
    let editor = AmityCommentEditor(client: <client>, commentId: <comment-id>)
    Copied!
    AmityMessageReactor class requires id of the message in init method
    1
    let editor = AmityMessageReactor(client: <client>, messageId: <message-id>)
    Copied!

Compatibility

    Xcode Version: 12.5
    Realm Version: 10.12.0
    Minimum Target: iOS 12.0

Version 5.6.1 (2021-09-16)

Fix

    Realm exception in release 5.6.0

Compatibility

    Xcode Version: 12.5
    Realm Version: 10.12.0
    Minimum Target: iOS 12.0

Version 5.6.0 (2021-09-14)

New features

Mention

Compatibility

    Xcode Version: 12.5
    Realm Version: 10.12.0
    Minimum Target: iOS 12.0

Version 5.5.0 (2021-08-17)

Fix

    Upgrade realm to version 10.12.0

Version 5.4.1 (2021-08-13)

Fix

    Updated channel cache data when ban event is received, while joining channel, and querying messages

Version 5.4.0 (2021-08-3)

Fixes

    Fixed issue where category values are incorrect for community
    Fixed issue where comment count does not reflect the correct value after removing comments

Breaking Changes

    Introduce AmityPostRepository
      Added getPosts(:_) method for querying post by filter options
    Deprecated post related functions in AmityFeedRepository. All equivalent functions are moved to AmityPostRepository.

Version 5.3.1 (2021-07-21)

Fixes

    Feed type querying improvements
    Fix issue where create post does not return proper data in the completion

Breaking Changes

    Revise a completion block of createPost: and updatePostWithPostId: methods in AmityFeedRepository from AmityRequestCompletion to AmityPostRequestCompletion
      AmityPostRequestCompletion represents to (AmityPost?, Error?) -> Void

Version 5.3.0 (2021-07-8)

New Features

    Add a function for getting post count by feed type to the AmityCommunity model.
    Add a function for getting isPostReviewEnabled function to the AmityCommunity model.
    Add new permission AmityPermission.reviewCommunityPost type
    Add api for setting isPostReviewEnabled value on create and update community builder.
Follow
    Add a property followManager to AmityUserRepository to provide follow feature functionalities
    Add a method to create a Follow request.
    Add a method to withdraw a Follow request.
    Add a method to accept a Follow request.
    Add a method to decline a Follow request.
    Add a method to get a Follow status.
    Add a method to get a Follower user list.
    Add a method to get a Following user list.
    Add a method to get a Follow request list.

Posts

    Add AmityFeedType enum
    Add a function for getting feed type to the AmityPost model.
    Add api for community feed query by feed type.
    Add api for post approval.

Breaking Changes

    Introduce feedType parameter to getCommunityFeed(:_) function in AmityCommunityRepository . Set a parameter .published to support a usual behavior.
    A live object ofAmityUser where provides by AmityCommunityMember and AmityChannelMember are changed to nomal object.

Others

    Introduce a completion parameter to registerDeviceWithUserId(:_) in AmityClient
    Fix socket connection state that causes feed cannot be loaded
    Fix issue where token does not update correctly
    Fix issue where collection is not triggered when there is empty result
    Fix edited date does changed after the comment get updated

Fixes

    Fix no response issue when uploading multiple images
    Fix crash when fetching user

Fixes

    Fix issue where custom messages are not parsed correctly
    Fix crash when setting up custom avatar for in AmityClient class.

Fixes

    All public methods and classes which contained Eko prefix renamed to Amity: EkoClient renamed to AmityClient , EkoChat renamed to AmitySDK
    Some classes and methods are modified or removed:
    Remove classes: EkoMessageReactor, EkoMediaRepository.
    Rename method: messages to getMessages in AmityMessageRepository class. Add class: AmityUserUpdateBuilder- to build updates for user Add method: setAvatar(avatar: AmityImageData?) - to set user avatar The full description can be found here
Last modified 5d ago