Social+ Docs
About UsDeveloper PortalArchives
  • Social+
  • Announcements
  • Technical FAQ
  • Getting Started
    • Installation and Authentication
      • Install iOS SDK
      • Install Android SDK
      • Install JavaScript SDK (Deprecated)
      • Install TypeScript SDK
      • Install Flutter SDK
      • Install SDK for Ionic
    • Tutorials
  • Social+ SDK
    • Core Concepts
      • Session State
      • User
        • Create User
        • Get User Information
        • Search and Query Users
        • Update User Information
        • Delete User
        • Roles & Permissions
        • User Token Management
        • Flag / Unflag User
      • Files, Images, and Videos
        • File Handling
        • Image Handling
        • Video Handling
      • Push Notifications
        • iOS Push Notification Certificate Setup
        • Android Push Notifications Initialization
        • React Native Push Notifications Initialization
        • Register and Unregister Push Notifications on a Device
        • Push Notification Toggles
          • User Push Notification Settings
          • Channel Push Notification Settings
          • Community Push Notification Settings
      • Mentions
      • Poll
      • Ads
        • Get Ads and Settings
        • Ad Impressions
      • Presence State
        • Heartbeat Sync
        • User Presence
        • Channel Presence
      • Live Objects/Collections
        • iOS Live Objects/Collections
        • Android Live Objects/Collections
        • Javascript Live Objects/Collections
        • TypeScript Live Objects/Collections
        • Flutter Live Objects/Collections
      • Realtime Events
        • Social Realtime Events
        • Chat Realtime Events
      • Error Handling
      • Content Moderation
      • Logging
    • Chat
      • Channels
        • Create Channel
        • Query Channels
        • Get Channel
        • Get Channels
        • Update Channel
        • Join/Leave Channel
        • Subchannel
        • Message Preview
        • Unread Count
          • Channel Unread Count
          • Start / stop message read receipt sync
          • Mark Message as Read
          • Message Delivery Status
          • Observe reading count
        • Read Status & Unread Count (Legacy)
        • Channel Moderation
        • Query Members
        • Search Members
        • Archive Channels
      • Messaging
        • Send a Message
          • Text Message
          • Image Message
          • Audio Message
          • Video Message
          • File Message
          • Custom Message
          • Reply to a Message
        • Query and Filter Messages
        • Get and View a Message
        • Edit and Delete Messages
        • Message Reaction
        • Mention in Messages
        • Flag/Unflag a Message
      • Moderation
        • Roles and Permission
        • Mute/Unmute a List of Channel Members
        • Ban/Unban a List of Channel Members
        • Channel Rate-Limiting
    • Social
      • Posts
        • Create Post
          • Text Post
          • Image Post
          • File Post
          • Video Post
          • Live stream Post
          • Poll Post
          • Custom Post
        • Query Post
        • Get Post
        • Viewing Post Content
        • Edit Post
        • Delete Post
        • Mention in Post
        • Flag / Unflag Post
        • Post Review
        • Post Impression
        • Pinned Post
      • Stories
        • Get Global Story Targets
        • Create Story
        • Get Stories
        • Delete Story
        • Get Story Targets
        • Story Impressions
      • Comments
        • Create Comment
        • Query Comment
        • View Comment
        • Get Comment
        • Get Latest Comment
        • Edit Comment
        • Delete Comment
        • Flag/Unflag
        • Get Comment Reaction Data
        • Mention in Comment
      • Reactions
        • Query Reactions
        • Add / Remove Reaction
      • Feed
        • Custom Post Ranking
        • Query Global Feed
      • Communities
        • Create Community
        • Get Community
        • Query Communities
        • Update Community
        • Delete Community
        • Join/Leave Community
        • Trending and Recommended Communities
        • Query Community Members
        • Community Moderation
        • Community Categories
      • Follow/Unfollow
        • Get Connection Status and Connection Counter
        • Follow/Unfollow User
        • Get Follower/Following List
        • Accept/Decline Follow Request
      • Block and Unblock User
      • Intelligent Search
        • Intelligent Search - Post
        • Intelligent Search - Community
      • Notification tray
        • Get Notification Tray Seen
        • Mark Notification Tray Seen
        • Query Notification Tray Item
        • Mark Notification Tray Item Seen
    • Video
      • iOS
        • View & Play Live Stream
        • Broadcast Live Stream
        • Push Notifications
      • Android
        • View & Play Live Stream
        • Broadcast Live Stream
        • Push Notifications
      • Flutter
        • View & Play Live Stream
        • Push Notifications
      • Web
        • View & Play Live Stream
        • Create Live Stream
        • Push Notifications
      • TypeScript (Beta)
        • RunQuery Pattern
        • Live Stream
      • React Native
        • View & Play Live Stream
        • Broadcast Live Stream
    • Changelogs & Versioning
      • iOS
      • Android
      • TypeScript
      • React Native
      • Flutter (Beta)
      • React Native (Video)
      • JavaScript (Deprecated)
  • Social+ UIKit
    • UIKit 4
      • Installation Guide
        • iOS
        • Android
        • Web React
        • Flutter (Beta)
        • React Native (Beta)
      • Setup and Authentication
        • iOS
        • Android
        • Web React
        • Flutter (Beta)
        • React Native (Beta)
      • Customization
        • Remote Config
        • Customization Basics
        • Overriding Navigation Behaviour
      • Social
        • Discover & Search
          • Social Home Page
            • Top Navigation Component
            • Newsfeed Component
            • Empty Newsfeed Component
            • Global Feed Component
            • Create Post Menu Component
            • Community Categories Component
            • Recommended Communities Component
            • Trending Communities Component
          • Global Search Page
            • Top Search Bar Component
            • Community Search Result Component
            • User Search Result Component
          • My Communities Search Page
          • All Categories Page
          • Communities By Category Page
          • Notification Tray
        • Community
          • Community Setup Page
            • Add Category Page
            • Add Member Page
          • Community Profile Page
            • Community Header Component
            • Community Feed Component
            • Community Pin Feed Component
            • Community Image Feed Component
            • Community Video Feed Component
          • Pending Post Page
            • Pending Post Content Component
          • Community Setting Page
            • Community Notification Setting Page
              • Community Posts Notification Page
              • Community Comments Notification Page
              • Community Stories Notification Page
            • Community Post Permissions Page
            • Community Story Setting Page
          • Community Membership Page
        • User
          • User Profile Page
            • User Profile Header Component
            • User Feed Component
            • User Image Feed Component
            • User Video Feed Component
          • Edit User Profile Page
          • Blocked User Page
          • User Relationship Page
          • User Pending Follow Request Page
        • Post
          • Post Details Page
            • Post Content Component
          • Post Composer Page
            • Media Attachment Component
            • Detailed Media Attachment Component
          • Post Target Selection Page
          • Poll Post Composer Page
          • Poll Target Selection Page
        • Livestream
          • Livestream Target Selection Page
          • Livestream Creation Page
          • Livestream Player Page
          • Livestream Terminated Page
        • Story
          • Story Target Tab Component
          • Story Creation Page
            • Story Drafting Page
          • Story Viewing Page
          • Story Target Selection Page
        • Comment & Reaction
          • Comment Tray Component
          • Reaction List Component
        • Content moderation
      • Chat
        • Recent chats (channel list)
          • Chat Home Page
          • Chat List Component
          • Archived Chat List Component
          • Amity Channel Create Conversation Page
        • Conversation Chat
          • AmityChatPage
          • AmityMessageComposer
        • Live Chat
          • Live Chat Page
            • Live Chat Header Component
            • Live Chat Message List Component
              • Reaction List Component
            • Live Chat Compose Bar Component
    • UIKit 3
      • iOS (Deprecated)
        • Overview
        • iOS UIKit Installation Guide
        • Installing UIKit (deprecated)
        • Setup & Authentication
        • Using Themes
        • Social UIKit
          • Using as a whole feature with the default settings
          • Our Components
            • Community Home Page
              • Newsfeed
                • Global Feed
                • My Community Preview
              • Explore Tab
                • Recommended Community
                • Top Trending
                • Categories
            • My Community Page
            • Category List Page
            • Community List by Category Page
            • Community Creation Page
            • Community Profile Edit Page
            • Community Setting Page
              • Community Push Notification Settings Page
                • Community Push Notification Settings - Comment and Reply Relate Event Page
                • Community Push Notification Settings - Post Relate Event Page
            • Post Creation Page
              • Livestream Post
            • Post Detail Page
            • Post Edit Page
            • Comment Creation
            • Comment Edit Page
            • Community Profile Page
              • Community Feed
              • Media Gallery
            • Community Member Page
            • User Profile Page
              • User Feed
            • User Profile Page (2.2)
              • User Feed (2.2)
            • User Setting Page(2.2)
            • User Profile Edit Page
            • Following / Follower User List Page (2.2)
            • Follow Request Page (2.2)
            • Member Selection Page
            • Post Target Selection Page
          • Using Your Own Component
            • Using Your Own Navigation Bar
          • Overriding UIKit Behaviour
            • Feed UI Settings
              • Post Sharing
              • Post Rendering
            • Event Handling
              • Example
          • Roles & Permissions
        • Chat UIKit
          • Using as a Whole Feature with the Default Settings
          • Using Only Some Components
            • Chat Home Page
              • Recent chat
            • Chat Room Page
          • Using your own component
            • Message Bubble
        • Video UIKit
          • Livestream
      • Android (Deprecated)
        • Overview
        • Android UIKit Installation Guide
        • Installing UIKit (deprecated)
        • Setup & Authentication
        • Using Themes
        • Social UIKit
          • Using as a whole feature with the default settings
          • Our Components
            • Community Home Page
              • Newsfeed
                • Global Feed
                • My Community Preview
              • Explore Tab
                • Recommended Community
                • Top Trending Community
                • Categories
            • My Community Page
            • Category List Page
            • Community List By Category Page
            • Community Creation Page
            • Community Profile Edit Page
            • Post Creation Page
              • Livestream Post
            • Post Details Page
            • Post Edit Page
            • Comment Creation
            • Comment Edit Page
            • Community Profile Page (2.5)
              • Community Feed (2.5)
              • Media Gallery
            • Community Member Page
            • User Profile Page
              • User Feed
            • User Profile Page (2.3)
              • User Feed (2.3)
            • User Setting Page (2.3)
            • Following and Follower User List Page(2.3)
            • Follow Request Page (2.3)
            • User Profile Edit Page
            • Member Selection Page
            • Post Target Selection Page
          • Using Your Own Components
            • Using Your Own Navigation Bar
          • Overriding UIKit Behaviour
            • Overriding Global Behaviour
              • Feed UI Settings
                • Post Sharing
                • Post Rendering
            • Event Handling
              • Example
        • Chat UIKit
          • Using as a whole feature with the default settings
          • Using Only Some Components
            • Chat Home Page
              • Recent Chat
            • Chatroom Page
          • Using Your Own Component
            • Message Bubble
      • React (Deprecated)
        • Overview
        • Web UIKit Installation Guide
        • Installing UI Kit (deprecated)
        • Setup & Authentication
        • Using Themes
        • Social UIKit
          • Using as a whole feature with the default settings
          • Our Components
            • Community Home Page
              • Search Communities
              • Newsfeed
                • Global Feed
              • Explore
                • Recommended Communities
                • Top Trending Communities
                • Categories
            • My Community
            • Community List By Category Page
            • Community Creation Page
            • Community Settings
              • Edit Profile Page
              • Members
              • Permissions
            • Post Creation
              • Livestream Post
            • Post Edit
            • Comments
            • Community Profile Page
              • Community Feed
              • Media Gallery
              • Community Members Page
              • Transfer Moderator Role
            • User Profile
              • User Feed
              • Media Gallery
              • Following / Follower User List Page
            • Follow Request Page
            • Profile Settings Page
          • Using Your Own Component
            • Using Your Own Like Button for Posts
          • Overriding UIKit Behaviour
            • Post Rendering
        • Chat UIKit
          • Using as a Whole Feature with the Default Settings
          • Our Components
            • Recent Chat
            • Chat Room
            • Message Bubble
            • Chat Details
        • Event Handling
          • Example
        • Roles & Permissions
      • Flutter (Beta)
        • Overview
        • Flutter UIKit Installation Guide
        • Setup & Authentication
        • Using Themes
        • Social UIKit
          • Using as a whole feature with the default settings
      • React Native (Beta)
        • Setup & Authentication
        • Running the Sample App with Expo
    • Changelogs
      • iOS
      • Android
      • Flutter
      • Web (React)
      • React Native
        • React Native Chat UIKit
        • React Native Social UIKit
  • Analytics & Moderation
    • Social+ Portal
      • Getting Started
      • Application Management
      • Account Management
      • Dashboard
        • Raw Data Export
      • Changelogs
    • Social+ Console
      • Moderation, Roles & Privileges
      • Chat Management
        • Channel Management
        • Message Management
        • Chat Activities (Beta)
      • Social Management
        • Communities
        • Posts
          • Post Viewing and Management
          • Post Creation
          • Post Pinning and Featuring
        • Comments
          • Comment Viewing and Management
          • Comment Creation and Reply
        • Stories
      • User & Content Management
        • User Social History
      • Admin Access Control
      • Livestream Moderation
      • Premium Ads
        • Setting Up Premium Ads
        • Setting Up Advertiser Profile
      • Settings
        • Image Moderation
        • Push Notifications
        • Security
          • Admin Token Management
        • Brand Settings
      • AI Content Moderation
      • Changelogs
    • Social+ APIs and Services
      • Network Settings
      • Generate User Last Activity Report
      • Pre-Hook Event
  • Developers
    • Developer Kits
    • Beta Features
      • Enhance Moderation
      • Search Posts API
      • Content Search V2 (Deprecated)
      • Webhook Events
      • Notification Tray
      • Block User
      • User Activity
    • Migration Guides
      • FCM legacy API Migration Guide
      • SDK v6.26.0 Unread Count Migration Guide
      • JS SDK to TS SDK Migration Guide
      • Web UIKit v3.0 Migration Guide
      • iOS UIKit V3.0 Migration Guide
      • iOS SDK v7.0.0 Migration Guide
      • iOS SDK v6.0.0 Migration Guide
        • iOS SDK v6.9.0 Deprecation Note
        • iOS SDK v6.8.0 Deprecation Note
        • iOS SDK v6.7.0 Deprecation Note
        • iOS SDK v6.5.0 Deprecation Note
      • Android SDK v7.0.0 Migration Guide
      • Android SDK v6.0.0 Migration Guide
        • Android SDK v.6.20.0 Deprecation Note
        • Android SDK v.6.19.0 Deprecation Note
        • Android SDK v6.10.0 Deprecation Note
        • Android SDK v6.9.0 Deprecation Note
        • Android SDK v6.5.0 Deprecation Note
      • TS SDK v7.0.0 Migration Guide
      • TS SDK v6.0.0 Migration Guide
        • TS SDK v6.4.6 Deprecation Note
        • TS SDK v6.8.0 Deprecation Note
      • Web SDK v5.0.0 Migration Guide
      • Flutter SDK v7.0.0 Migration Guide
      • Flutter SDK beta Migration Guide
        • Flutter SDK v0.21.0 Deprecation Note
    • SDK API Reference
      • Server API Reference
      • iOS SDK API Reference (beta)
      • Android SDK API Reference (beta)
      • Flutter SDK API Reference
  • Miscellaneous
    • Support
      • Code of conduct
      • Managed UI Kit - Deprecation
      • Contribute
      • Security
    • Announcements Archive
Powered by GitBook
On this page
  • Version 5.37.4 (2023-11-9)
  • Fixes
  • Compatibility:
  • Version 5.37.3 (2023-10-06)
  • New Features
  • Compatibility:
  • Version 5.37.2 (2023-9-21)
  • Fixes
  • Version 5.37.1 (2023-09-08)
  • Fixes
  • Version 5.37.0 (2023-08-11)
  • New Features
  • Version 5.36.0 (2023-06-01)
  • Fixes
  • Version 5.35.0 (2023-03-13)
  • New Features
  • Fixes
  • Version 5.34.0 (2023-02-09)
  • Fixes
  • Version 5.33.0 (2023-01-13)
  • Fixes
  • Version 5.32.0 (2022-12-16)
  • Fixes
  • Version 5.31.0 (2022-12-02)
  • New Features
  • Fixes
  • Version 5.30.0 (2022-11-18)
  • New Features
  • Fixes
  • Version 5.29.0 (2022-11-04)
  • New Features
  • Fixes
  • Version 5.28.0 (2022-10-21)
  • New Features
  • Fixes
  • Version 5.27.0 (2022-10-07)
  • New Features
  • Fixes
  • Version 5.26.0 (2022-09-23)
  • Fixes
  • Version 5.25.0 (2022-09-09)
  • New Features
  • Version 5.24.0 (2022-08-26)
  • New Features
  • Fixes
  • Deprecation
  • Version 5.23.1 (2022-08-11)
  • Fixes
  • Version 5.23.0 (2022-07-29)
  • Fix
  • Version 5.22.0 (2022-07-15)
  • Fixes
  • Version 5.21.0 (2022-07-04)
  • New Feature
  • Fixes
  • Breaking Changes
  • Version 5.20.0 (2022-06-17)
  • Fixes
  • Breaking Changes
  • Version 5.19.0 (2022-06-02)
  • New Feature
  • Version 5.18.0 (2022-05-20)
  • New Features
  • Fix
  • Version 5.17.0 (2022-05-09)
  • New Features
  • Version 5.16.0 (2022-04-22)
  • Fix
  • Version 5.15.0 (2022-03-31)
  • New Features
  • Fixes
  • Version 5.14.0 (2022-03-17)
  • New Feature
  • Fixes
  • Breaking Changes
  • Version 5.13.1 (2022-02-24)
  • Fix
  • Version 5.13.0 (2022-02-17)
  • Fix
  • Version 5.12.0 (2022-02-04)
  • New Feature
  • Fix
  • Version 5.11.0 (2022-01-25)
  • New Features
  • Fixes
  • Version 5.10.0 (2021-12-24)
  • Fix
  • New Features
  • Breaking Changes
  • Version 5.9.0 (2021-12-09)
  • New Features
  • Fixes
  • Breaking Changes
  • Version 5.8.2 (2021-11-10)
  • Breaking Changes
  • Version 5.8.1 (2021-11-10)
  • Fix
  • Version 5.8.0 (2021-10-28)
  • Fix
  • New Features
  • Version 5.7.0 (2021-10-14)
  • New Features
  • Fixes
  • Version 5.6.4 (2021-10-12)
  • Fix
  • Version 5.6.3 (2021-10-08)
  • Fixes
  • Version 5.6.1 (2021-09-24)
  • Fix
  • Version 5.5.1 (2021-09-03)
  • Fix
  • Version 5.5.0 (2021-08-31)
  • Version 5.4.2 (2021-08-16)
  • Fixes
  • Version 5.4.1 (2021-08-11)
  • Fixes
  • Version 5.3.2 (2021-07-16)
  • Version 5.3.1 (2021-07-13)
  • Fixes
  • Version 5.3.0 (2021-07-08)
  • Version 5.0.2 (2021-05-25)
  • Fix
  • Version 5.0.1 (2021-05-25)
  • Fix
  • Version 5.0.0 (2021-04-30)
  • Fixes

Was this helpful?

Export as PDF
  1. Social+ SDK
  2. Changelogs & Versioning

JavaScript (Deprecated)

This page contains an overview of all relevant changes made to the JavaScript SDK and the latest version releases.

The JavaScript SDK was deprecated on November 9, 2023. To continue receiving the latest features and improvements, please migrate to the TypeScript SDK - TypeScript.

Version 5.37.4 (2023-11-9)

Fixes

  • Improved LiveStreamPlayer 's stability and reliability when playing a recorded live-streaming videos.

Compatibility:

  • NodeJS >= v14.21.3

  • NPM >= v6.14.18

Version 5.37.3 (2023-10-06)

New Features

  • Introduced LiveStreamPlayer for enhanced livestream playback for an improved video-watching experience. For more information, please visit View & Play Live Stream.

Compatibility:

  • NodeJS >= v14.21.3

  • NPM >= v6.14.18

Version 5.37.2 (2023-9-21)

Fixes

  • Fixed the issue where AmityUser can't be flagged in certain situations.

Version 5.37.1 (2023-09-08)

Fixes

  • Fixed the issue where the watch minutes API in video live stream got denied by the backend.

Version 5.37.0 (2023-08-11)

New Features

  • Introduced LiveStreamPlayer.getPlayer(), a new API that provides a player for live stream video playback, along with watch time tracking capability.

Version 5.36.0 (2023-06-01)

Fixes

  • Fixed the following user collection pagination issue.

Version 5.35.0 (2023-03-13)

New Features

  • Add session v3 and sessionHandler into the option for createClient.

Fixes

  • Fixed issue where user access token cannot be renewed after the token is expired.

Version 5.34.0 (2023-02-09)

Fixes

  • ​Fixed issue where error message is not displayed when logging in with deleted user_id.

Version 5.33.0 (2023-01-13)

Fixes

  • SDK Upgrade

Version 5.32.0 (2022-12-16)

Fixes

  • Fixed issue where the Community pending screen is not getting updated when the post is declined.

Version 5.31.0 (2022-12-02)

New Features

Fixes

  • Fixed issue where user cannot update comment.

Version 5.30.0 (2022-11-18)

New Features

Fixes

  • Fixed issue where a user who has not joined a public community can see posts in the global feed.

Version 5.29.0 (2022-11-04)

New Features

  • Introduced the ability for User roles to create community with “Admin can post only” settings.

Fixes

  • Fixed issue where tags were not returned in the response when a community was created with tags.

  • Fixed issue where version 5.24.0 JS SDK does not work on Nextjs.

Version 5.28.0 (2022-10-21)

New Features

  • Introduced the ability to query poll type.

Fixes

  • Fixed issue where a community with metadata could not be created.

Version 5.27.0 (2022-10-07)

New Features

  • Add ​​moderatorMemberCount to the channel model.

Fixes

  • Fixed issue where users occasionally cannot send messages in the channel.

Version 5.26.0 (2022-09-23)

Fixes

  • Non-members with the User role can no longer be able to get information about the conversation channel.

  • Non-members with the User role can no longer query messages within the conversation channel.

Version 5.25.0 (2022-09-09)

New Features

  • Community query is now case-insensitive! You no longer have to match the case sensitivity of the community’s display name when querying for a community

  • System now displays an error message while uploading HDR video format

Version 5.24.0 (2022-08-26)

New Features

  • New method createVideo(file:File, feedType:ContentFeedType, onProgress:OnProgressCallback)is added in AmityFileRepository to specify the content type of the video.

Fixes

  • Fixed issue where user could not create image/file message

  • Fixed issue where user could not query a channel

  • Fixed issue where user could not view the text on content column in video/image post

Deprecation

  • Deprecated createVideo(file:File, onProgress:OnProgressCallback). Please use createVideo(file:File, feedType:ContentFeedType, onProgress:OnProgressCallback)instead.

Version 5.23.1 (2022-08-11)

Fixes

  • Fixed issue where user could not query on a deleted post

  • Fixed issue where user could not search community member using displayName

  • Fixed issue where SDK updates postSettings for community when user updates community but does not pass postSettings values

Version 5.23.0 (2022-07-29)

Fix

  • SDK Upgrade

Version 5.22.0 (2022-07-15)

Fixes

  • Fixed issue where error message is displayed while creating a reply to a comment

  • Introduced real-time event for channel deletion

Version 5.21.0 (2022-07-04)

New Feature

  • Introduced ability to manage community post settings via SDK (i.e. 'Only Admins Can Post' or 'Approve Member Posts')

Fixes

  • Fixed issue where the replies were not updated in the comment

Breaking Changes

  • Add new flag for postSetting to community to define minimum post requirements such as being an admin or requiring approval. This is applicable to post and create.

  • Change of parameter name from needApprovalOnPostCreation to postSetting

Previous Version:

import { CommunityRepository } from '@amityco/js-sdk';

CommunityRepository.createCommunity({
  displayName: string,
  description?: string,
  avatarFileId?: string,
  categoryIds?: string[],
  tags?: string[],
  metadata?: Object,
  isPublic?: boolean,
  userIds?: string[],
});

New Version:

import { CommunityRepository } from '@amityco/js-sdk';

CommunityRepository.createCommunity({
  displayName: string,
  description?: string,
  avatarFileId?: string,
  categoryIds?: string[],
  tags?: string[],
  metadata?: Object,
  isPublic?: boolean,
  userIds?: string[],
  postSetting?: string,
  isOfficial?: boolean,
});

// Available value for postSettings
[
  ONLY_ADMIN_CAN_POST,
  ADMIN_REVIEW_POST_REQUIRED,
  ANYONE_CAN_POST,
]

Version 5.20.0 (2022-06-17)

Fixes

  • Made channelId optional when creating new channels

Breaking Changes

  • ChannelId parameter in createChannel is now optional.

Previous Version:

import { ChannelRepository } from '@amityco/js-sdk';
/**
* Previous version
* *** channelId is mandatory field ***
* *** type: ['standard', 'private', 'live', 'community', 'conversation', 'broadcast'] ***
*/
ChannelRepository.createChannel({ channelId, type, displayName, avatarFileId, userIds, tags, metadata })

New Version:

import { ChannelRepository } from '@amityco/js-sdk';
/**
* New version
* *** channelId is now optional ***
* *** type: ['live', 'community', 'conversation', 'broadcast'] ***
*/
ChannelRepository.createChannel({ channelId?, type, displayName, avatarFileId, userIds, tags, metadata })

Version 5.19.0 (2022-06-02)

New Feature

  • Real time update of user deletion

Version 5.18.0 (2022-05-20)

New Features

  • Add reactionsCount into the message model

Fix

  • SDK Upgrade

Version 5.17.0 (2022-05-09)

New Features

Version 5.16.0 (2022-04-22)

Fix

  • SDK Upgrade

Version 5.15.0 (2022-03-31)

New Features

  • Update video post by adding/removing videos from the existing post (SDK only)

  • Realtime events for comments and posts in User feed

  • Support updating video post by adding/removing the video from the existing post

Fixes

  • No error prompts when SDK method is invoked without internet connection

  • Unable to search for accent alphabet while using CommunityRepository.getCommunityMembers

Version 5.14.0 (2022-03-17)

New Feature

Fixes

  • Changed apiRegion for Singapore to sg

  • Query posts returns only five posts regardless of the limit

  • Removed type field from joinChannel

Breaking Changes

  • joinChannel no longer accepts the type parameter

Previous Version:

import { ChannelRepository } from '@amityco/js-sdk';
const result = await ChannelRepository.joinChannel({ channelId: string, type: string });

New Version:

import { ChannelRepository } from '@amityco/js-sdk';
// “type” is no need anymore
const result = await ChannelRepository.joinChannel({ channelId: string });

Version 5.13.1 (2022-02-24)

Fix

  • Error when subscribing to all community post and comment events

Version 5.13.0 (2022-02-17)

Fix

  • SDK upgrade

Version 5.12.0 (2022-02-04)

New Feature

  • Introduce Follow/Unfollow feature.

  • Introduce Query Post support tag on both user and community feeds.

  • Create poll post now supports metadata parameter.

Fix

  • Improvement of user searching for getCommunityMembers method

Version 5.11.0 (2022-01-25)

New Features

  • Custom post ranking in global feed

  • Mention in Comment/Reply

  • Follow with multiple registerSession

Fixes

  • Get Post doesn't return metadata

  • Edited post is not observed in real-time even though user subscribes to the post

  • User observed duplicated set of loadingStatus: "loaded"

  • Post disappears when its comment is deleted

Version 5.10.0 (2021-12-24)

Fix

  • SDK upgrade

New Features

  • Introduce Social Realtime Events for seamless real-time data synchronization and collaboration across all connected devices.

Breaking Changes

Previous Version:

import Client from '@amityco/js-sdk';
Client.create({ apiKey, apiEndpoint });

New Version:

import Client from '@amityco/js-sdk';
Client.create({ apiKey, apiRegion })
// OR
Client.create({ apiKey, apiEndpoint, mqttEndpoint });

The changes are optional parameters, and developers can continue to use the existing parameters if they prefer.

Version 5.9.0 (2021-12-09)

New Features

  • Create text, image, video, and file posts with the ability to mention other users

  • New assignRolesToUsers and removeRolesFromUsers methods for CommunityRepository

  • New isGlobalBan property for User model to see if user is globally banned or not

  • Search community members by CommunityRepository.getCommunityMembers method

  • Introduce support for assigning and removing multiples roles to members in community

  • Introduce support for searching members in community

  • Introduce support for mentioning users in post

  • Add isGlobalBan flag to user model

Fixes

  • Community Members now will correctly return paging token if there are more members (default: 20 members)

Breaking Changes

  • assignRolesToUsers and removeRolesFromUsers will now accept roles payload as an array

  • assignRoleToUsers and removeRoleFromUsers will be deprecated

  • Change of parameter name from assignRoleToUsers to assignRolesToUsers

import { CommunityRepository } from '@amityco/js-sdk'


// Previous version [deprecated]
CommunityRepository.assignRoleToUsers({ communityId: string, userIds: string[] });


// New version
CommunityRepository.assignRoleToUsers({ communityId: string, roles: string[], userIds: string[] });
  • Change of parameter name from removeRoleFromUsers to removeRolesFromUsers

import { CommunityRepository } from '@amityco/js-sdk'


// Previous version [deprecated]
CommunityRepository.removeRoleToUsers({ communityId: string, userIds: string[] });


// New version
CommunityRepository.removeRoleToUsers({ communityId: string, roles: string[], userIds: string[] });

Version 5.8.2 (2021-11-10)

Breaking Changes

  • Change function type of function from sync to async for updatePost

Version 5.8.1 (2021-11-10)

Fix

  • SDK upgrade

Version 5.8.0 (2021-10-28)

Fix

  • SDK upgrade

New Features

  • Introduce permanent deletion support for comments and posts, replacing the prior default of soft delete

Version 5.7.0 (2021-10-14)

New Features

  • Add the mentioned users to the message model for the community/live group chat

  • Send mention unread information to users/UIKit

  • Fetch the list of members in the chat with the ability to search using the display name or user ID

  • Add a tag feature to the post

  • Add the chat setting into the network setting

Fixes

  • Cannot connect to client when user is unbanned

  • Cannot connect to client when Web Socket gets disconnected

Version 5.6.4 (2021-10-12)

Fix

  • Cannot fetch messages in chat

Version 5.6.3 (2021-10-08)

Fixes

  • Incorrect error code received when user is global banned

  • Cannot load the next page in chatroom when scrolling up to the first message and new messages are received

Version 5.6.1 (2021-09-24)

Fix

  • Cannot load the next page after reading all the messages in chat and then receiving more messages

Version 5.5.1 (2021-09-03)

Fix

  • Sending a blocklisted word in a message will result to a syncing state instead of an error

Version 5.5.0 (2021-08-31)

  • Add Web SDK license

Version 5.4.2 (2021-08-16)

Fixes

  • Expose channel errors to the user

  • Fix incorrect positioning of messages sent in chat when sending multiple messages at once

Version 5.4.1 (2021-08-11)

Fixes

  • Expose global ban error to the user

  • Expose connection errors to the user

Version 5.3.2 (2021-07-16)

  • Minor enhancements and continuous improvement

Version 5.3.1 (2021-07-13)

Fixes

  • Live Collection does not fire events for additional pages when data is already in cache

  • JoinChannels return value should be a promise

Version 5.3.0 (2021-07-08)

  • Minor enhancements and continuous improvement

Version 5.0.2 (2021-05-25)

Fix

  • Minor enhancements and continuous improvement

Version 5.0.1 (2021-05-25)

Fix

  • Minor enhancements and continuous improvement

Version 5.0.0 (2021-04-30)

Fixes

  • Add explicit public flag is necessary when publishing org packages

  • Add missing default build command

Last updated 10 months ago

Was this helpful?

Introduced functionality to describe the authentication status of the client device.

Introduced the ability to query community and receive "user object".

Upgraded the feature. When a moderator role is demoted to a user role, post creation must be approved by a moderator.

Introduced the ability for the to demote a moderator to a user/member.

Introduced the ability for the to promote a user/member to moderator.

When creating a , the closedIn value is set to 30 days by default if the user does not set any value.

Enhanced (VOD) configurations. Videos you upload with our SDK can now be transcoded to 4 different resolutions (from 360p to 1080p) with a maximum file size of 1 GB and a duration of up to 2 hours.

Added endpoint for to access Beta services

Realtime events for User

Introduce in a poll post.

Provide an ability to send a message with

Session State
post review
poll post
Video on Demand
generating token
follow/unfollow
mentioned users
Create Post with Mentions
channel moderator
channel moderator
users