diff --git a/shared/signaling/channel-basics/index.mdx b/shared/signaling/channel-basics/index.mdx index b5d345370..bccfc99bf 100644 --- a/shared/signaling/channel-basics/index.mdx +++ b/shared/signaling/channel-basics/index.mdx @@ -19,7 +19,7 @@ Conceptually, a channel is a conduit that controls the flow of messages. uses the App ID as the namespace for the channel. Each channel under the app ID is jointly identified by the channel name and the channel type. If two channels have different channel types or different channel names, treats them as two separate channels. If two channels have the same channel type and channel name, treats them as the same channel. +A channel name cannot be empty. It must be a string of up to 64 bytes in length, consisting of letters or numbers from the ASCII character set. uses the app ID as the namespace for the channel. Each channel under the app ID is jointly identified by the channel name and the channel type. If two channels have different channel types or different channel names, treats them as two separate channels. If two channels have the same channel type and channel name, treats them as the same channel. ### Legal characters @@ -31,6 +31,8 @@ The supported legal characters are: - Space - `!`, `#`, `$`, `%`, `&`, `(`, `)`, `+`, `,`, `-`, `:`, `;`, `<`, `=`, `>`, `?`, `@`, `[`, `]`, `^`, `_`, `{`, `|`, `}`, `~`, `` ` `` +Channel names cannot be prefixed with an underscore. + ### Illegal characters The use of `.`, `*`, `/`, `\`, `\0` and non-printable ASCII characters in channel names is not allowed. diff --git a/shared/signaling/release-notes/android.mdx b/shared/signaling/release-notes/android.mdx index 5ed79fdc8..f3290e588 100644 --- a/shared/signaling/release-notes/android.mdx +++ b/shared/signaling/release-notes/android.mdx @@ -10,6 +10,27 @@ import * as presence from '@docs/shared/signaling/reference/api-ref/shared/_pres import * as storage from '@docs/shared/signaling/reference/api-ref/shared/_storage.mdx' import * as lock from '@docs/shared/signaling/reference/api-ref/shared/_lock.mdx' +### v2.1.12 + +v2.1.12 was released on June X, 2024. + +#### Improvements + +This release includes the following improvements: + +- For data synchronization errors caused by network issues, this release introduces a user logout mechanism, which ensures that the SDK automatically logs out of the Signaling system. +- Unsubscribing from a message channel during network disconnection will no longer return an error. + +#### Fixed issues + +This release fixed the following issues: + +- During a disconnection with the Signaling system under poor network conditions, the user experienced errors when unsubscribing from a message channel. +- Under poor network conditions, the user occasionally failed to receive callbacks after a successful login. +- After reconnecting from a disconnection, the user occasionally could not receive the {config.onstorageevent[props .ag_platform]} event notification. +- After reconnecting from a disconnection, the SDK occasionally failed to restore subscription relationships in the stream channel. +- Occasional failure to receive topic messages from web clients. + ### v2.1.11 v2.1.11 was released on May 13, 2024. diff --git a/shared/signaling/release-notes/ios.mdx b/shared/signaling/release-notes/ios.mdx index 15eb5cd89..bbe98c627 100644 --- a/shared/signaling/release-notes/ios.mdx +++ b/shared/signaling/release-notes/ios.mdx @@ -9,6 +9,27 @@ import * as presence from '@docs/shared/signaling/reference/api-ref/shared/_pres import * as storage from '@docs/shared/signaling/reference/api-ref/shared/_storage.mdx' import * as lock from '@docs/shared/signaling/reference/api-ref/shared/_lock.mdx' +### v2.1.12 + +v2.1.12 was released on June X, 2024. + +#### Improvements + +This release includes the following improvements: + +- For data synchronization errors caused by network issues, this release introduces a user logout mechanism, which ensures that the SDK automatically logs out of the Signaling system. +- Unsubscribing from a message channel during network disconnection will no longer return an error. + +#### Fixed issues + +This release fixed the following issues: + +- During a disconnection with the Signaling system under poor network conditions, the user experienced errors when unsubscribing from a message channel. +- Under poor network conditions, the user occasionally failed to receive callbacks after a successful login. +- After reconnecting from a disconnection, the user occasionally could not receive the {config.onstorageevent[props.ag_platform]} event notification. +- After reconnecting from a disconnection, the SDK occasionally failed to restore subscription relationships in the stream channel. +- Occasional failure to receive topic messages from web clients. + ### v2.1.11 v2.1.11 was released on May 13, 2024. diff --git a/shared/signaling/release-notes/linux-cpp.mdx b/shared/signaling/release-notes/linux-cpp.mdx index 2db95463b..f630c99b9 100644 --- a/shared/signaling/release-notes/linux-cpp.mdx +++ b/shared/signaling/release-notes/linux-cpp.mdx @@ -10,6 +10,27 @@ import * as lock from '@docs/shared/signaling/reference/api-ref/shared/_lock.mdx +### v2.1.12 + +v2.1.12 was released on June X, 2024. + +#### Improvements + +This release includes the following improvements: + +- For data synchronization errors caused by network issues, this release introduces a user logout mechanism, which ensures that the SDK automatically logs out of the Signaling system. +- Unsubscribing from a message channel during network disconnection will no longer return an error. + +#### Fixed issues + +This release fixed the following issues: + +- During a disconnection with the Signaling system under poor network conditions, the user experienced errors when unsubscribing from a message channel. +- Under poor network conditions, the user occasionally failed to receive callbacks after a successful login. +- After reconnecting from a disconnection, the user occasionally could not receive the {config.onstorageevent[props.ag_platform]} event notification. +- After reconnecting from a disconnection, the SDK occasionally failed to restore subscription relationships in the stream channel. +- Occasional failure to receive topic messages from web clients. + ### v2.1.11 v2.1.11 was released on May 13, 2024. diff --git a/shared/signaling/release-notes/web.mdx b/shared/signaling/release-notes/web.mdx index 3eda18e33..fc2ead97b 100644 --- a/shared/signaling/release-notes/web.mdx +++ b/shared/signaling/release-notes/web.mdx @@ -10,6 +10,25 @@ import * as lock from '@docs/shared/signaling/reference/api-ref/shared/_lock.mdx +### v2.1.10 + +v2.1.10 was released on June X, 2024. + +#### Improvements + +This release improves the error code prompt for failed `login` method calls. For example, when you enable token authentication but use an app ID for initialization, the `RTM_ERROR_INVALID_TOKEN (-10005)` error code is returned during login. + +#### Fixed issues + +This release addresses the following issues: + +- In scenarios involving frequent setting and retrieving of locks, the user experienced occasional inaccuracies in the `lock` event notification. +- After reconnecting from a disconnection, the SDK occasionally failed to initialize the presence service when calling the `subscribe` method. +- Occasional message reception failure in apps developed using the Vite framework. +- After joining a channel and reconnecting from a disconnection, the user failed to receive the `lock` and `storage` event notifications. +- Occasional duplicate receipt of the `storage` event notifications with the `UPDATE` type when updating the user metadata. +- Occasional duplicate receipt of the `lock` event notifications with the `REMOVED` type when removing locks. + ### v2.1.9 v2.1.9 was released on March 12, 2024.