diff --git a/CHANGELOG.md b/CHANGELOG.md index 56b2fcf5ee..0ebb016749 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -180,7 +180,6 @@ Breaking changes in this release: - [`@redux-devtools/extension@3.3.0`](https://npmjs.com/package/@redux-devtools/extension/v/3.3.0) - [`adaptivecards@3.0.5`](https://npmjs.com/package/adaptivecards/v/3.0.5) - [`botframework-directlinejs@0.15.6`](https://npmjs.com/package/botframework-directlinejs/v/0.15.6) - - [`botframework-directlinespeech-sdk@4.18.1-main.20251208.8ccadd6`](https://npmjs.com/package/botframework-directlinespeech-sdk/v/4.18.1-main.20251208.8ccadd6) - [`core-js@3.47.0`](https://npmjs.com/package/core-js/v/3.47.0) - [`core-js-pure@3.47.0`](https://npmjs.com/package/core-js-pure/v/3.47.0) - [`event-as-promise@2.0.0`](https://npmjs.com/package/event-as-promise/v/2.0.0) @@ -313,7 +312,7 @@ Breaking changes in this release: - Bumped `react-chain-of-responsibility` to `0.4.2` version, by [@OEvgeny](https://github.com/OEvgeny) in PR [#5620](https://github.com/microsoft/BotFramework-WebChat/pull/5620), in PR [#5624](https://github.com/microsoft/BotFramework-WebChat/pull/5624) - Bumped Chrome in Docker to 141 from 110, in PR [#5619](https://github.com/microsoft/BotFramework-WebChat/pull/5619), by [@compulim](https://github.com/compulim) - Bumped to [`valibot@1.2.0`](https://npmjs.com/package/valibot/v/1.2.0), in PR [#5650](https://github.com/microsoft/BotFramework-WebChat/pull/5650), by [@compulim](https://github.com/compulim) -- Pinned to [`botframework-directlinespeech-sdk@4.18.1-main.20251208.8ccadd6`](https://npmjs.com/package/botframework-directlinespeech-sdk/v/4.18.1-main.20251208.8ccadd6), by [@OEvgeny](https://github.com/OEvgeny) in PR [#5662](https://github.com/microsoft/BotFramework-WebChat/pull/5662) +- Pinned to [`botframework-directlinespeech-sdk@4.18.1-main.20251208.8ccadd6`](https://npmjs.com/package/botframework-directlinespeech-sdk/v/4.18.1-main.20251208.8ccadd6), by [@OEvgeny](https://github.com/OEvgeny) in PR [#5662](https://github.com/microsoft/BotFramework-WebChat/pull/5662), and unpinned in PR [#5681](https://github.com/microsoft/BotFramework-WebChat/pull/5681) - Converted activity components to CSS Modules - Bubble, carousel, say-alt, in PR [#5668](https://github.com/microsoft/BotFramework-WebChat/pull/5668), by [@OEvgeny](https://github.com/OEvgeny) - Activity status, in PR [#5669](https://github.com/microsoft/BotFramework-WebChat/pull/5669), by [@OEvgeny](https://github.com/OEvgeny) diff --git a/__tests__/html2/autoScroll/autoScroll.afterSend.html.snap-1.png b/__tests__/html2/autoScroll/autoScroll.afterSend.html.snap-1.png index e5721214f7..834078edf9 100644 Binary files a/__tests__/html2/autoScroll/autoScroll.afterSend.html.snap-1.png and b/__tests__/html2/autoScroll/autoScroll.afterSend.html.snap-1.png differ diff --git a/__tests__/html2/hooks/useTextBox.html.snap-1.png b/__tests__/html2/hooks/useTextBox.html.snap-1.png index b9400025bd..a9b61fb842 100644 Binary files a/__tests__/html2/hooks/useTextBox.html.snap-1.png and b/__tests__/html2/hooks/useTextBox.html.snap-1.png differ diff --git a/__tests__/html2/hooks/useTextBox.html.snap-2.png b/__tests__/html2/hooks/useTextBox.html.snap-2.png index e5721214f7..834078edf9 100644 Binary files a/__tests__/html2/hooks/useTextBox.html.snap-2.png and b/__tests__/html2/hooks/useTextBox.html.snap-2.png differ diff --git a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-1.png b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-1.png index b9400025bd..a9b61fb842 100644 Binary files a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-1.png and b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-1.png differ diff --git a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-2.png b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-2.png index f0e609b7cc..a46c736788 100644 Binary files a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-2.png and b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-2.png differ diff --git a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-3.png b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-3.png index da545124d9..95380a0888 100644 Binary files a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-3.png and b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-3.png differ diff --git a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-4.png b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-4.png index f5f136dd01..a9b61fb842 100644 Binary files a/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-4.png and b/__tests__/html2/scrollToEndButton/scrollToEndButton.visibility.html.snap-4.png differ diff --git a/__tests__/html2/speech/performCardAction.continuous.html b/__tests__/html2/speech/performCardAction.continuous.html index 05152c061e..f44ad9bfe5 100644 --- a/__tests__/html2/speech/performCardAction.continuous.html +++ b/__tests__/html2/speech/performCardAction.continuous.html @@ -76,7 +76,7 @@ ); // THEN: Should construct the SpeechRecognition() instance and call start(). - expect(ponyfill.SpeechRecognition).toHaveBeenCalledTimes(1); + await waitFor(() => expect(ponyfill.SpeechRecognition).toHaveBeenCalledTimes(1)); const { value: speechRecognition1 } = ponyfill.SpeechRecognition.mock.results[0]; diff --git a/package-lock.json b/package-lock.json index 2bea880d81..fcbc786d59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20570,7 +20570,7 @@ "@babel/runtime": "7.28.4", "adaptivecards": "3.0.5", "botframework-directlinejs": "0.15.6", - "botframework-directlinespeech-sdk": "4.18.1-main.20251208.8ccadd6", + "botframework-directlinespeech-sdk": "0.0.0-0", "botframework-webchat-api": "0.0.0-0", "botframework-webchat-component": "0.0.0-0", "botframework-webchat-core": "0.0.0-0", @@ -20642,31 +20642,11 @@ "react-dom": ">= 16.8.6" } }, - "packages/bundle/node_modules/botframework-directlinespeech-sdk": { - "version": "4.18.1-main.20251208.8ccadd6", - "resolved": "https://registry.npmjs.org/botframework-directlinespeech-sdk/-/botframework-directlinespeech-sdk-4.18.1-main.20251208.8ccadd6.tgz", - "integrity": "sha512-TRqyN2OziCPhNAaI/N+1fxDEkzaMp7KgbHSOllsZfblbxsjI5MEMzVpjgzUr3lwxfApvPPVEm6SSclaNXKursw==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "7.28.2", - "abort-controller": "3.0.0", - "base64-arraybuffer": "1.0.2", - "core-js": "3.44.0", - "core-js-pure": "3.44.0", - "event-as-promise": "2.0.0", - "event-target-shim": "6.0.2", - "math-random": "2.0.1", - "microsoft-cognitiveservices-speech-sdk": "1.17.0", - "web-speech-cognitive-services": "8.1.3" - }, - "engines": { - "node": ">= 10.14.2" - } - }, "packages/bundle/node_modules/botframework-directlinespeech-sdk/node_modules/@babel/runtime": { "version": "7.28.2", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz", "integrity": "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==", + "extraneous": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -20676,6 +20656,7 @@ "version": "3.44.0", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.44.0.tgz", "integrity": "sha512-aFCtd4l6GvAXwVEh3XbbVqJGHDJt0OZRa+5ePGx3LLwi12WfexqQxcsohb2wgsa/92xtl19Hd66G/L+TaAxDMw==", + "extraneous": true, "hasInstallScript": true, "license": "MIT", "funding": { @@ -20683,29 +20664,6 @@ "url": "https://opencollective.com/core-js" } }, - "packages/bundle/node_modules/core-js-pure": { - "version": "3.44.0", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.44.0.tgz", - "integrity": "sha512-gvMQAGB4dfVUxpYD0k3Fq8J+n5bB6Ytl15lqlZrOIXFzxOhtPaObfkQGHtMRdyjIf7z2IeNULwi1jEwyS+ltKQ==", - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "packages/bundle/node_modules/event-target-shim": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-6.0.2.tgz", - "integrity": "sha512-8q3LsZjRezbFZ2PN+uP+Q7pnHUMmAOziU2vA2OwoFaKIXxlxl38IylhSSgUorWu/rf4er67w0ikBqjBFk/pomA==", - "license": "MIT", - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, "packages/bundle/node_modules/type-fest": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.3.1.tgz", diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 5022e2ce4a..acf6f96839 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -119,7 +119,7 @@ "precommit:eslint": "../../node_modules/.bin/eslint --report-unused-disable-directives --max-warnings 0", "precommit:typecheck": "tsc --project ./src --emitDeclarationOnly false --esModuleInterop true --noEmit --pretty false", "preversion": "../../scripts/npm/preversion.sh", - "start": "../../scripts/npm/notify-build.sh \"src\" \"../repack/adaptivecards/package.json\" \"../repack/base64-js/package.json\" \"../repack/botframework-directlinejs/package.json\" \"../isomorphic-react/package.json\" \"../isomorphic-react-dom/package.json\" \"../repack/microsoft-cognitiveservices-speech-sdk/package.json\" \"../repack/react/package.json\" \"../repack/react@baseline/package.json\" \"../repack/react-dom/package.json\" \"../repack/react-dom@baseline/package.json\" \"../repack/react-dom@umd/package.json\" \"../repack/react-is/package.json\" \"../repack/react@umd/package.json\" \"../component/package.json\"", + "start": "../../scripts/npm/notify-build.sh \"src\" \"../repack/adaptivecards/package.json\" \"../repack/base64-js/package.json\" \"../repack/botframework-directlinejs/package.json\" \"../isomorphic-react/package.json\" \"../isomorphic-react-dom/package.json\" \"../repack/microsoft-cognitiveservices-speech-sdk/package.json\" \"../repack/react/package.json\" \"../repack/react@baseline/package.json\" \"../repack/react-dom/package.json\" \"../repack/react-dom@baseline/package.json\" \"../repack/react-dom@umd/package.json\" \"../repack/react-is/package.json\" \"../repack/react@umd/package.json\" \"../directlinespeech/package.json\" \"../component/package.json\"", "test:tsd": "tsd" }, "pinDependencies": { @@ -150,10 +150,6 @@ "uuid": [ "8", "uuid@9 emit non-ES5 build because of default parameters" - ], - "botframework-directlinespeech-sdk": [ - "4.18.1-main.20251208.8ccadd6", - "pinned temporarily due to missing access rights" ] }, "localDependencies": { @@ -175,6 +171,7 @@ "@msinternal/react-dom-umd": "development", "@msinternal/react-is": "development", "@msinternal/react-umd": "development", + "botframework-directlinespeech-sdk": "production", "botframework-webchat-api": "production", "botframework-webchat-component": "production", "botframework-webchat-core": "production" @@ -223,7 +220,7 @@ "@babel/runtime": "7.28.4", "adaptivecards": "3.0.5", "botframework-directlinejs": "0.15.6", - "botframework-directlinespeech-sdk": "4.18.1-main.20251208.8ccadd6", + "botframework-directlinespeech-sdk": "0.0.0-0", "botframework-webchat-api": "0.0.0-0", "botframework-webchat-component": "0.0.0-0", "botframework-webchat-core": "0.0.0-0",