Skip to content

Commit 43da976

Browse files
Bump react and react-dom versions to be 19.2.1 (#13408)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
1 parent 4ac3767 commit 43da976

File tree

10 files changed

+15578
-2733
lines changed

10 files changed

+15578
-2733
lines changed

dotnet/samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ReactFrontend/package-lock.json

Lines changed: 6765 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dotnet/samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ReactFrontend/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,23 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@fluentui-contrib/react-chat": "^0.1.10",
14-
"@fluentui/react-components": "^9.61.6",
13+
"@fluentui-contrib/react-chat": "^0.2.2",
14+
"@fluentui/react-components": "^9.72.7",
1515
"@microsoft/signalr": "^8.0.7",
1616
"@protobuf-ts/grpcweb-transport": "^2.9.6",
1717
"@protobuf-ts/runtime": "^2.9.6",
1818
"@protobuf-ts/runtime-rpc": "^2.9.6",
19-
"react": "^19.0.0",
20-
"react-dom": "^19.0.0",
19+
"axios": "^1.7.9",
20+
"react": "^19.2.1",
21+
"react-dom": "^19.2.1",
2122
"react-markdown": "^10.1.0",
2223
"uuid": "^11.1.0"
2324
},
2425
"devDependencies": {
2526
"@eslint/js": "^9.21.0",
2627
"@protobuf-ts/plugin": "^2.9.6",
27-
"@types/react": "^19.0.10",
28-
"@types/react-dom": "^19.0.4",
28+
"@types/react": "^19.2.7",
29+
"@types/react-dom": "^19.2.3",
2930
"@vitejs/plugin-react": "^4.3.4",
3031
"eslint": "^9.21.0",
3132
"eslint-plugin-react-hooks": "^5.1.0",
@@ -35,4 +36,4 @@
3536
"typescript-eslint": "^8.24.1",
3637
"vite": "^6.2.7"
3738
}
38-
}
39+
}

dotnet/samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ReactFrontend/src/components/GenerateDocumentsChat.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) 2025 Microsoft
33
* All rights reserved.
44
*/
5-
import { useEffect, useState } from "react";
6-
import { v4 as uuidv4 } from "uuid";
75
import {
86
Button,
97
Card,
@@ -18,10 +16,12 @@ import {
1816
Title2,
1917
useId,
2018
} from "@fluentui/react-components";
19+
import { useEffect, useState } from "react";
2120
import Markdown from "react-markdown";
21+
import { v4 as uuidv4 } from "uuid";
2222
import { ChatMessageContent, ChatUser } from "../common/ChatConstants";
23-
import SimpleChat from "./SimpleChat";
2423
import { CheckIcon, RejectIcon } from "./Icons";
24+
import SimpleChat from "./SimpleChat";
2525

2626
export interface NewDocument {
2727
title?: string;
@@ -106,7 +106,7 @@ const GenerateDocsChat: React.FC<GenerateDocsChatProps> = ({
106106

107107
return (
108108
<Card>
109-
<CardHeader header={<Title2 weight="semibold">{header}</Title2>} />
109+
<CardHeader header={<Title2>{header}</Title2>} />
110110
<Markdown>{content}</Markdown>
111111
</Card>
112112
);

dotnet/samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ReactFrontend/src/services/signalr/documentGeneration.client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as signalR from "@microsoft/signalr";
22
import {
3-
FeatureDocumentationRequest,
4-
DocumentationContentRequest,
53
DocumentationApprovalRequest,
4+
DocumentationContentRequest,
5+
FeatureDocumentationRequest,
66
} from "../signalr/documentGeneration";
77

88
export class SignalRDocumentationGenerationClient {
@@ -46,7 +46,7 @@ export class SignalRDocumentationGenerationClient {
4646
return this.connection.invoke("PublishDocumentation", input);
4747
}
4848

49-
subscribeToProcessEvents(processId: string, handlers: {
49+
subscribeToProcessEvents(_processId: string, handlers: {
5050
onPublishedDocument: (message: any) => void;
5151
onDocumentForReview: (message: any) => void;
5252
}): void {

dotnet/samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ReactFrontend/yarn.lock

Lines changed: 1351 additions & 1432 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)