Skip to content

Releases: ukjinjang/react-channel-plugin

3.0.0-rc.0

10 May 05:42
da9d330
Compare
Choose a tag to compare
3.0.0-rc.0 Pre-release
Pre-release

Breaking Changes

  • API changes: By following the latest Channel IO SDK and using the @channel.io/channel-web-sdk-loader package to handle internal typing and logic, some APIs have been added or removed. Please refer to their documentation to see which APIs have changed.
  • CustomEvent ponyfill removed: Since Channel IO no longer supports IE, we have removed the CustomEvent ponyfill and now use only the native implementation.

Chores

  • chore: Add @channel.io/channel-web-sdk-loader as a dependency to handle internal logic and typings.
  • chore: Update tslib@^2.6.2.

Features

  • New Component: <ReactChannelIOLauncher /> has been added, allowing you to use APIs related to the launcher button as a component rather than a hook.
    <ReactChannelIOLauncher>
      {({ isBooted, isOpen, toggle }) => (
        <button disabled={!isBooted} onClick={toggle}>
          Into the Unknown!
        </button>
      )}
    </ReactChannelIOLauncher>

Bug Fixes

  • fix: resolve some issues

2.2.0

20 Jul 05:47
Compare
Choose a tag to compare

Chores

2.1.4

12 Apr 08:26
Compare
Choose a tag to compare

Chores

  • chore: move react from dependencies to devDependencies (Thanks to @kotarella1110, #44)

2.1.3

12 May 05:33
Compare
Choose a tag to compare

Chores

  • chore: edit warning console message
  • typing: update ChannelIOUser

Features

  • New prop added (verbose): Print debug logs via console.debug.
  • feat: change user language, when user language of plugin different with option one.
    • Channel IO plugin won't change user language, if the user already created.

Bug Fixes

  • fix: resolve some issues

2.1.2

11 May 17:23
Compare
Choose a tag to compare

Fixes

2.1.1

11 May 15:53
Compare
Choose a tag to compare

Fixes

  • chore: use react instead of react-jsx

2.1.0

11 May 15:15
Compare
Choose a tag to compare

Features

  • New prop added (rebootOnOptionChanged): reboot channel plugin when boot option changed
  • New prop added (useCustomLauncherSelectorTweak): Since ChannelIO does not support customLauncherSelector after plugin booted, add onClick event listener at element which has customLauncherSelector whenever DOM tree mutated. (observed by MutationObserver)
  • Reset user profile information when null provided as profile prop

Improvements

  • fix: remove wrong deprecated flag at boot option

2.0.0

10 May 15:47
Compare
Choose a tag to compare

Breaking Changes

  • Previous component (<ChannelTalk />) revamped as react hooks based. (Please see README for more detail)
    • <ReactChannelIO />
    • useChannelIOApi()
    • useChannelIOEvent()

1.0.0

05 Mar 14:48
Compare
Choose a tag to compare

General

  • First release
  • Init Channel Talk plugin and show messenger
  • Provide APIs and event listener