diff --git a/CHANGELOG.md b/CHANGELOG.md index 202ca9d040..2f6233c976 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,14 +16,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fix [#XXX](https://github.com/microsoft/BotFramework-WebChat/issues/XXX). Patched something, by [@johndoe](https://github.com/johndoe) in PR [#XXX](https://github.com/microsoft/BotFramework-WebChat/pull/XXX) --> -## [4.5.1] - 2019-07-16 - + +## [4.5.1] - 2019-07-16 + +### Fixed + - Fix [#2187](https://github.com/microsoft/BotFramework-WebChat/issues/2187). Bump core-js and update core-js modules on index-es5.js, by [@corinagum](https://github.com/corinagum) in PR [#2195](https://github.com/microsoft/BotFramework-WebChat/pull/2195) - Fix [#2193](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix Adaptive Card/attachments do not get read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) - Fix [#2150](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix timestamps read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) +- Fix [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) ## [4.5.0] - 2019-07-10 diff --git a/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js b/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js index d126a692f0..8bc0ab47e5 100644 --- a/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js +++ b/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js @@ -193,7 +193,10 @@ AdaptiveCardRenderer.propTypes = { styleSet: PropTypes.shape({ adaptiveCardRenderer: PropTypes.any.isRequired }).isRequired, - tapAction: PropTypes.func + tapAction: PropTypes.shape({ + type: PropTypes.string.isRequired, + value: PropTypes.string + }) }; AdaptiveCardRenderer.defaultProps = { diff --git a/packages/component/src/Attachment/TypingActivity.js b/packages/component/src/Attachment/TypingActivity.js index cbfe1a3707..63cdb02b6f 100644 --- a/packages/component/src/Attachment/TypingActivity.js +++ b/packages/component/src/Attachment/TypingActivity.js @@ -7,7 +7,7 @@ import TypingAnimation from './Assets/TypingAnimation'; const TypingActivity = ({ language, styleSet }) => (
- +
); @@ -18,4 +18,4 @@ TypingActivity.propTypes = { }).isRequired }; -export default connectToWebChat(({ styleSet }) => ({ styleSet }))(TypingActivity); +export default connectToWebChat(({ language, styleSet }) => ({ language, styleSet }))(TypingActivity); diff --git a/packages/component/src/ErrorBox.js b/packages/component/src/ErrorBox.js index b6a3bd8f90..9ec3178bdc 100644 --- a/packages/component/src/ErrorBox.js +++ b/packages/component/src/ErrorBox.js @@ -25,4 +25,4 @@ ErrorBox.propTypes = { }).isRequired }; -export default connectToWebChat(({ styleSet }) => ({ styleSet }))(ErrorBox); +export default connectToWebChat(({ language, styleSet }) => ({ language, styleSet }))(ErrorBox);