Releases: ukjinjang/react-channel-plugin
Releases · ukjinjang/react-channel-plugin
v3.0.0
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 theCustomEvent
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
3.0.0-rc.0
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 theCustomEvent
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
Chores
- chore: add react 18 to peer dependency and migrate TypeScript definition.
- chore: update
tslib
to 2.4.0
2.1.4
2.1.3
Chores
- chore: edit warning console message
- typing: update
ChannelIOUser
Features
- New prop added (
verbose
): Print debug logs viaconsole.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
Fixes
- chore: downlevel
ChannelIO.d.ts
to support ts version under 4.0ChannelIO.ts
used Labeled Tuple Elements, which implemented since TypeScript version 4.0.0.
2.1.1
2.1.0
Features
- New prop added (
rebootOnOptionChanged
): reboot channel plugin when boot option changed - New prop added (
useCustomLauncherSelectorTweak
): Since ChannelIO does not supportcustomLauncherSelector
after plugin booted, addonClick
event listener at element which hascustomLauncherSelector
whenever DOM tree mutated. (observed byMutationObserver
) - Reset user profile information when
null
provided as profile prop
Improvements
- fix: remove wrong deprecated flag at boot option