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

Version 0.0.1 Beta.28 (2022-09-09)

New Features

  • Enhanced LiveCollections for Message collection, Followers/Following collection. Newly created messages and new followers are now automatically reflected in their respective collections.
  • 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.

Version 0.0.1 Beta.27 (2022-08-26)

New Features

  • Enhanced LiveCollections for message reactions. Newly created reactions are now automatically added into the collection.
  • Introduced ability to ban/un-ban channel members. Admins can now ban/un-ban channel members.

Version 0.0.1 Beta.26 (2022-08-11)

New Features

  • Enhanced LiveCollections for comments collection. Newly added comments are now automatically added into the collection

Fixes

  • Fixed issue where two different messageIds were being returned when attempting to create a new message

Breaking Change

  • queryReactions pagination parameters changed from {limit: number; after: number;} to {limit: number; before: string} which before should be referenceId

Version 0.0.1 Beta.25 (2022-07-29)

New Features

  • Introduced post review feature. Admin can now approve or decline a community post
  • Introduced ability to flag and unflag users
  • Introduced onPollUpdated feature that allows to receive reactive callback when a user chooses to Vote, Close and Delete on a poll

Fixes

  • Fixed issue where tags cannot be updated on a channel if new parameter is sent

Version 0.0.1 Beta.24 (2022-07-12)

Fixes

  • SDK Upgrade

Version 0.0.1 Beta.23 (2022-07-04)

Fixes

  • Fixed issue with myReactions array disappearing when message was updated
  • Fixed issue with messages being created multiple times

Version 0.0.1 Beta.22 (2022-06-17)

Fixes

  • Fixed issue with comment sorting
  • Fixed issue with Amity.Message<"text"> function being replaced by "never"
  • Added missing type for isDeleted parameter in queryChannels
  • Added missing type for contentDataPoll
  • Support tags in chat

Version 0.0.1 Beta.21 (2022-06-02)

Fixes

  • Passed the channel member model to the related channel member event callback

Version 0.0.1 Beta.20 (2022-05-20)

New Features

  • When a user log in with only a ‘user id’, the user's display name will no longer be replaced with the user id.
  • Support ability to query reactions

Fixes

  • Fixed picture rotation issue when uploading an image in chat

Version 0.0.1 Beta.19 (2022-05-09)

New Features

  • Ability to filter channels by tags.
  • New createImage function to upload images.

Fixes

  • createPoll Typo

Breaking Changes

Version 0.0.1 Beta.18 (2022-04-22)

New Features

  • Ability to create, update and delete poll post.
  • Ability to vote poll post.
  • Ability to mention user in poll post

Fixes

  • Regex related to Real Time Event to support in android low end devices.
  • Accessing global object on all ends

Breaking Changes

Version 0.0.1 Beta.17 (2022-03-31)

New Features

  • Realtime events for comments and posts in User feed
  • Add tag type property in Post model
  • Upload video in posts and messages

Breaking Changes

  • Change addCommunityMembersRole to addCommunityMembersRoles and the second parameter(roles) should be sent as array

Before v0.0.1-beta.17

addCommunityMembersRole(communityId, 'admin', ['user1', 'user2'])
Starting v0.0.1-beta.17
addCommunityMembersRoles(communityId, ['admin'], ['user1', 'user2'])
  • Change removeCommunityMembersRole to removeCommunityMembersRoles and the second parameter(roles) should be sent as array

Before v0.0.1-beta.17

removeCommunityMembersRole(communityId, 'admin', ['user1', 'user2'])
Starting v0.0.1-beta.17
removeCommunityMembersRoles(communityId, ['admin'], ['user1', 'user2'])

Version 0.0.1 Beta.16 (2022-03-17)

New Feature

  • Syntax improvement for Amity.Paged. Refer to Pagination for its usage.
    const [options, setOptions] =
    useState<Amity.RunQueryOptions<typeof queryMessages>>();

Version 0.0.1 Beta.15 (2022-03-03)

Fixes

  • Resolve undefined API_ENDPOINT by adding API_REGIONS constant
  • Fix observers callback type

Version 0.0.1 Beta.14 (2022-02-17)

New Feature

  • Mention individual users in chat

Fixes

  • Paging type issue in query methods ( i.e. queryPosts, queryComments , queryMessages, queryChannels, queryCommunities)
  • Incorrect type returned in runQuery response

Version 0.0.1 Beta.13 (2022-02-04)

New Features

  • User can leave Community
  • Ability to report unnecessary Comments
  • Ability to report unnecessary Posts
  • User can edit or update one's own Posts
  • Mention users in Comments
  • Mention users in Posts (text, image, file, and audio posts)
  • Ability to comment and reply in Posts
  • User can invite and dismiss Community Members
  • Ability to create a private/public Community

Version 0.0.1 Beta.12 (2022-01-21)

Fixes

  • Only the first observable can call the update callback if there are more than one observables listening to the same event simultaneously
  • Unhandled exception if connection is closed without error instance
Due to current limitation, we encounter observers call duplication. We are working on fixing this issue for the next release.

Version 0.0.1 Beta.11 (2022-01-11)

Fix

  • Get user function issues

Version 0.0.1 Beta.10 (2021-12-29)

New Features

  • New Internal Cache System
  • Query Users Caching
  • runQuery algorithm is revamped so that it reads better, and includes constantly loading/origin values with meaning
  • All API endpoints will return at least an Amity.Cached
    Due to a technical issue, prevPage and nextPage are not available in the returned interface for queries including pagination. A temporary fix is to use // @ts-ignore to avoid typing error. A fix for this issue will be available in our next release.

Fix

  • Run latest version with MQTT support on react-native

Breaking Changes

  • clearCache function is renamed to disableCache
  • Amity.QueryMetadata is deprecated, use Amity.SnapshotOptions instead
  • Returned data from runQuery is changed from an object with keys to an array of items

Version 0.0.1 Beta.9 (2021-12-24)

Fix

  • SDK Upgrade

Version 0.0.1 Beta.7 (2021-11-10)

Fix

  • SDK Upgrade

Version 0.0.1 Beta.6 (2021-10-28)

Fix

  • SDK Upgrade

Version 0.0.1 Beta.5 (2021-10-14)

New Feature

  • Global ban error handling

Version 0.0.1 Beta.4 (2021-10-05)

New Feature

  • Channel Types Filter for querying Channels

Version 0.0.1 Beta.3 (2021-09-21)

New Features

Initial beta release. Included the following Chat features:
  • Create Text, Image, and File Messages
  • Flag and Unflag Messages
  • Query and Get Messages
  • Update and Delete Messages
  • Add and Remove Reaction from Messages
  • Join and Leave Channels
  • Create Channels
  • Query and Get Channels
Last modified 2d ago
Export as PDF
Copy link
Outline
Version 0.0.1 Beta.28 (2022-09-09)
New Features
Version 0.0.1 Beta.27 (2022-08-26)
New Features
Version 0.0.1 Beta.26 (2022-08-11)
New Features
Fixes
Breaking Change
Version 0.0.1 Beta.25 (2022-07-29)
New Features
Fixes
Version 0.0.1 Beta.24 (2022-07-12)
Fixes
Version 0.0.1 Beta.23 (2022-07-04)
Fixes
Version 0.0.1 Beta.22 (2022-06-17)
Fixes
Version 0.0.1 Beta.21 (2022-06-02)
Fixes
Version 0.0.1 Beta.20 (2022-05-20)
New Features
Fixes
Version 0.0.1 Beta.19 (2022-05-09)
New Features
Fixes
Breaking Changes
Version 0.0.1 Beta.18 (2022-04-22)
New Features
Fixes
Breaking Changes
Version 0.0.1 Beta.17 (2022-03-31)
New Features
Breaking Changes
Version 0.0.1 Beta.16 (2022-03-17)
New Feature
Version 0.0.1 Beta.15 (2022-03-03)
Fixes
Version 0.0.1 Beta.14 (2022-02-17)
New Feature
Fixes
Version 0.0.1 Beta.13 (2022-02-04)
New Features
Version 0.0.1 Beta.12 (2022-01-21)
Fixes
Version 0.0.1 Beta.11 (2022-01-11)
Fix
Version 0.0.1 Beta.10 (2021-12-29)
New Features
Fix
Breaking Changes
Version 0.0.1 Beta.9 (2021-12-24)
Fix
Version 0.0.1 Beta.7 (2021-11-10)
Fix
Version 0.0.1 Beta.6 (2021-10-28)
Fix
Version 0.0.1 Beta.5 (2021-10-14)
New Feature
Version 0.0.1 Beta.4 (2021-10-05)
New Feature
Version 0.0.1 Beta.3 (2021-09-21)
New Features