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

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

  • Enhanced Video on Demand (VOD) configurations. Videos uploaded in our SDK can now be transcoded into 4 different resolutions (from 360p to 1080p) with a maximum file size of 1 GB lasting up to 2 hours.
  • 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

Version 5.20.0 (2022-06-17)

Fixes

  • Made channelId optional when creating new channels

Version 5.19.0 (2022-06-02)

New Feature

  • Real time update of user deletion

Version 5.18.0 (2022-05-20)

Fix

  • SDK Upgrade

Version 5.17.0 (2022-05-09)

New Features

  • Added endpoint for generating token to access Beta services

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

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

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

  • Mention in poll post

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

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

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

Version 5.8.1 (2021-11-10)

Fix

  • SDK upgrade

Version 5.8.0 (2021-10-28)

Fix

  • SDK upgrade

Version 5.7.0 (2021-10-14)

New Features

  • Provide an ability to send a message with mentioned users
  • 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

Fixes

  • Cannot connect to client when user is unbanned
  • Cannot connect to client when Web Socket gets disconnected

Breaking Changes

  • User data available in message.user, not in message.user.model

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 modified 1d ago
Export as PDF
Copy link
Outline
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
Version 5.20.0 (2022-06-17)
Fixes
Version 5.19.0 (2022-06-02)
New Feature
Version 5.18.0 (2022-05-20)
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
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
Version 5.9.0 (2021-12-09)
New Features
Fixes
Breaking Changes
Version 5.8.1 (2021-11-10)
Fix
Version 5.8.0 (2021-10-28)
Fix
Version 5.7.0 (2021-10-14)
New Features
Fixes
Breaking Changes
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