You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
42
42
-`styleOptions.hideUploadButton` is being deprecated in favor of `styleOptions.disableFileUpload`. The option will be removed on or after 2027-07-14
43
43
-`botframework-directlinespeech-sdk` no longer ponyfill `AbortController`, it is supported by modern browsers, in PR [#5530](https://github.com/microsoft/BotFramework-WebChat/pull/5530)
44
44
-`activityMiddleware` is being deprecated in favor of [`polymiddleware`](./docs/MIDDLEWARE.md). It will be removed on or after 2027-08-16, related to PR [#5515](https://github.com/microsoft/BotFramework-WebChat/pull/5515)
45
+
- Root-level (unconnected) `Claim` entity is being deprecated, in PR [#5564](https://github.com/microsoft/BotFramework-WebChat/pull/5564), by [@compulim](https://github.com/compulim). It will be removed on or after 2027-08-29
46
+
- Use `entities[@id=""][@type="Message"].citation[@type="Claim"]` instead
45
47
-`activityStatusMiddleware.nextVisibleActivity` and `activityStatusMiddleware.sameTimestampGroup` is removed after deprecation, in PR [#5565](https://github.com/microsoft/BotFramework-WebChat/issues/5565), by [@compulim](https://github.com/compulim)
46
48
47
49
### Added
@@ -117,6 +119,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
117
119
-`@msinternal/botframework-webchat-api-middleware` for middleware branch of API package
118
120
-`@msinternal/botframework-webchat-debug-theme` package for enabling debugging scenarios
119
121
-`@msinternal/botframework-webchat-react-hooks` for helpers for React hooks
122
+
- Added link sanitization and ESLint rules, in PR [#5564](https://github.com/microsoft/BotFramework-WebChat/pull/5564), by [@compulim](https://github.com/compulim)
120
123
121
124
### Changed
122
125
@@ -292,6 +295,8 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
292
295
-`useSuggestedActions()` hook is being deprecated in favor of the `useSuggestedActionsHooks().useSuggestedActions()` hook, in PR [#5489](https://github.com/microsoft/BotFramework-WebChat/pull/5489), by [@compulim](https://github.com/compulim)
293
296
- Fixed core internal import in legacy CommonJS environments, in [5509](https://github.com/microsoft/BotFramework-WebChat/pull/5509), by [@OEvgeny](https://github.com/OEvgeny)
294
297
-`activityMiddleware` is being deprecated in favor of [`polymiddleware`](./docs/MIDDLEWARE.md). It will be removed on or after 2027-08-16, related to PR [#5515](https://github.com/microsoft/BotFramework-WebChat/pull/5515)
298
+
- Root-level (unconnected) `Claim` entity is being deprecated, in PR [#5564](https://github.com/microsoft/BotFramework-WebChat/pull/5564), by [@compulim](https://github.com/compulim). It will be removed on or after 2027-08-29
299
+
- Use `entities[@id=""][@type="Message"].citation[@type="Claim"]` instead
295
300
-`activityStatusMiddleware.nextVisibleActivity` and `activityStatusMiddleware.sameTimestampGroup` is being deprecated and will be removed on or after 2022-07-22, in PR [#4362](https://github.com/microsoft/BotFramework-WebChat/issues/4362), by [@compulim](https://github.com/compulim)
296
301
- Completed deprecation, in PR [#5565](https://github.com/microsoft/BotFramework-WebChat/issues/5565), by [@compulim](https://github.com/compulim)
Copy file name to clipboardExpand all lines: docs/CITATION.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,10 @@ The activity graph should have a [Message thing](#message-thing).
30
30
31
31
A [Message thing](https://schema.org/Message) represent the message activity itself and act as the root of the [activity graph](#activity-graph). It must have the following fields:
32
32
33
-
-`@context` of `"https://schema.org"`
34
-
-`@id` of `""` (an empty string means self in JSON-LD fashion)
35
-
-`@type` of `"Message"`
36
-
-`type` of `"https://schema.org/Message"`
33
+
-`@context` of `"https://schema.org"`
34
+
-`@id` of `""` (an empty string means self in JSON-LD fashion)
35
+
-`@type` of `"Message"`
36
+
-`type` of `"https://schema.org/Message"`
37
37
38
38
### Non-URL citation
39
39
@@ -53,7 +53,7 @@ Bot developers should implement citations as outlined in this section to ensure
53
53
54
54
Notes:
55
55
56
-
-The third citation is a non-URL citation, its link `cite:1` is currently ignored
56
+
- The third citation is a non-URL citation, its link `cite:1` is ignored and treated as an opaque string
57
57
58
58
```
59
59
Sure, you should override the default proxy settings[1][2], when your proxy server requires authentication[3].
@@ -73,8 +73,10 @@ Sure, you should override the default proxy settings[1][2], when your proxy s
73
73
74
74
Please refer to the graph for details of each fields. Notably:
75
75
76
-
- Only compact from is supported (i.e. nested objects), other forms and object references are not supported unless stated otherwise
77
-
- Subclasses are not supported. If the object is expected to be `Message`, it must not be `EmailMessage` (subclass)
76
+
- Only compact from is supported (i.e. nested objects), other forms and object references are not supported unless stated otherwise
77
+
- Subclasses are not supported. If the object is expected to be `Message`, it must not be `EmailMessage` (subclass)
78
+
79
+
> Notes: In some older versions of Web Chat, we were using root-level and unconnected `Claim` thing. This is strictly used internally and its usage is being deprecated.
78
80
79
81
#### Sample payload
80
82
@@ -193,7 +195,11 @@ We use `position` instead of `@id` to match the link definition in Markdown to t
193
195
194
196
### Source of truths
195
197
196
-
If there are deviations of information in Markdown and Message thing, the Message thing should take precedence over the Markdown, given the receiver understood the Message thing.
198
+
> This is updated in PR [5564](https://github.com/microsoft/BotFramework-WebChat/pull/5564) in 2025-08-29.
199
+
200
+
~If there are deviations of information in Markdown and Message thing, the Message thing should take precedence over the Markdown, given the receiver understood the Message thing.~
201
+
202
+
If there are deviations of information in Markdown and Message thing, the Markdown should take precedence over the Message thing. This is to support plain text channels (text/SMS) as they do not have capacity to display content from the Message thing.
197
203
198
204
### `usageInfo` on the `Message` thing should be a blank node
199
205
@@ -203,4 +209,4 @@ In JSON-LD, blank node means a node that does not have any contents but `@id` an
203
209
204
210
## Further reading
205
211
206
-
-[Microsoft Teams: Bot messages with AI-generated content](https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/bot-messages-ai-generated-content?tabs=after%2Cbotmessage#citations)
212
+
-[Microsoft Teams: Bot messages with AI-generated content](https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/bot-messages-ai-generated-content?tabs=after%2Cbotmessage#citations)
0 commit comments