From f97ff8d684d86c6233211e193675ab6acd93a8f5 Mon Sep 17 00:00:00 2001 From: sdixon194 Date: Mon, 14 Aug 2023 19:44:14 +0000 Subject: [PATCH 01/12] Backport mu-wpcom-plugin 1.6.12, jetpack 12.5-a.9 Changes (#32465) Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5859707062 --- CHANGELOG.md | 21 +++++++++------------ package.json | 2 +- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3553ee0..064cb2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,22 +5,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.4-alpha] - unreleased - -This is an alpha version! The changes listed here are not final. - +## [0.1.4] - 2023-08-14 ### Added -- AI Client: Add border-box in AIControl -- AI Client: Export AiStatusIndicator -- AI Client: import base styles in the AI stauts indicator component -- AI Control: Forward ref to consumer -- AI Control: Import jetpack-base-styles +- AI Client: Add border-box in AIControl. [#32419] +- AI Client: Export AiStatusIndicator. [#32397] +- AI Client: Import base styles in the AI status indicator component. [#32396] +- AI Control: Forward ref to consumer. [#32400] +- AI Control: Import jetpack-base-styles. [#32376] ### Changed -- AI Client: Expose stopSuggestion function on useAiSuggestions hook so the consumer can stop a suggestion in the middle. +- AI Client: Expose stopSuggestion function on useAiSuggestions hook so the consumer can stop a suggestion in the middle. [#32382] ### Removed -- AI Client: Remove redundant switch case +- AI Client: Remove redundant switch case [#32405] ## [0.1.3] - 2023-08-09 ### Added @@ -85,7 +82,7 @@ This is an alpha version! The changes listed here are not final. - Updated package dependencies. [#31659] - Updated package dependencies. [#31785] -[0.1.4-alpha]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.3...v0.1.4-alpha +[0.1.4]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.0...v0.1.1 diff --git a/package.json b/package.json index 4ec8ffc..38b7490 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": false, "name": "@automattic/jetpack-ai-client", - "version": "0.1.4-alpha", + "version": "0.1.4", "description": "A JS client for consuming Jetpack AI services", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme", "bugs": { From 3327c4f815d399118fb63b4331cf82bf969cd3ed Mon Sep 17 00:00:00 2001 From: sergeymitr Date: Wed, 16 Aug 2023 12:32:17 +0000 Subject: [PATCH 02/12] Connection: adjust the way we render initial state (#32499) Change the way we render connection initial state to prevent re-render attempts, and simplify it for consuming plugins/packages. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5878621546 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38b7490..91d44b0 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "dependencies": { "@automattic/jetpack-base-styles": "^0.6.5", "@automattic/jetpack-connection": "workspace:*", - "@automattic/jetpack-shared-extension-utils": "^0.11.1", + "@automattic/jetpack-shared-extension-utils": "^0.11.2-alpha", "@microsoft/fetch-event-source": "2.0.1", "@wordpress/api-fetch": "6.35.0", "@wordpress/block-editor": "12.6.0", From a934a2e7e246152deac91a0354e15d2f53872a28 Mon Sep 17 00:00:00 2001 From: anomiex Date: Fri, 18 Aug 2023 11:50:43 +0000 Subject: [PATCH 03/12] CI: Lint that published packages' deps are published too (#32515) js-packages/ai-client depends on js-packages/connection, but the latter isn't published. That makes the published version of ai-client unusable. We should lint for that. Then, of course, we have to actually publish the necessary packages. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5902132850 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 91d44b0..ba041e9 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@automattic/jetpack-base-styles": "^0.6.5", - "@automattic/jetpack-connection": "workspace:*", + "@automattic/jetpack-connection": "^0.29.8-alpha", "@automattic/jetpack-shared-extension-utils": "^0.11.2-alpha", "@microsoft/fetch-event-source": "2.0.1", "@wordpress/api-fetch": "6.35.0", From 801d7cc1d73252003e81ba4a35ff927e1918e363 Mon Sep 17 00:00:00 2001 From: anomiex Date: Mon, 21 Aug 2023 18:38:58 +0000 Subject: [PATCH 04/12] Update dependency yoast/phpunit-polyfills to v1.1.0 (#32605) Co-authored-by: Renovate Bot Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5929974986 --- CHANGELOG.md | 8 ++++++++ composer.json | 4 ++-- package.json | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 064cb2e..44b1c7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.5-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + +### Changed +- Updated package dependencies. + ## [0.1.4] - 2023-08-14 ### Added - AI Client: Add border-box in AIControl. [#32419] @@ -82,6 +89,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated package dependencies. [#31659] - Updated package dependencies. [#31785] +[0.1.5-alpha]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.4...v0.1.5-alpha [0.1.4]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.1...v0.1.2 diff --git a/composer.json b/composer.json index 664449b..caf1e36 100644 --- a/composer.json +++ b/composer.json @@ -5,8 +5,8 @@ "license": "GPL-2.0-or-later", "require": {}, "require-dev": { - "yoast/phpunit-polyfills": "1.0.4", - "automattic/jetpack-changelogger": "^3.3.7" + "yoast/phpunit-polyfills": "1.1.0", + "automattic/jetpack-changelogger": "^3.3.8-alpha" }, "autoload": { "classmap": [ diff --git a/package.json b/package.json index ba041e9..30fe9e8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": false, "name": "@automattic/jetpack-ai-client", - "version": "0.1.4", + "version": "0.1.5-alpha", "description": "A JS client for consuming Jetpack AI services", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme", "bugs": { @@ -32,7 +32,7 @@ ".": "./index.ts" }, "dependencies": { - "@automattic/jetpack-base-styles": "^0.6.5", + "@automattic/jetpack-base-styles": "^0.6.6-alpha", "@automattic/jetpack-connection": "^0.29.8-alpha", "@automattic/jetpack-shared-extension-utils": "^0.11.2-alpha", "@microsoft/fetch-event-source": "2.0.1", From ca668ea4ad6c246eec27560c58f4667f56487b68 Mon Sep 17 00:00:00 2001 From: sdixon194 Date: Mon, 21 Aug 2023 21:16:00 +0000 Subject: [PATCH 05/12] Backport Jetpack 12.5-beta Changes (#32606) Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5931365022 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 30fe9e8..5e2a0a1 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ }, "dependencies": { "@automattic/jetpack-base-styles": "^0.6.6-alpha", - "@automattic/jetpack-connection": "^0.29.8-alpha", - "@automattic/jetpack-shared-extension-utils": "^0.11.2-alpha", + "@automattic/jetpack-connection": "^0.29.8", + "@automattic/jetpack-shared-extension-utils": "^0.11.3-alpha", "@microsoft/fetch-event-source": "2.0.1", "@wordpress/api-fetch": "6.35.0", "@wordpress/block-editor": "12.6.0", From c3399f72974ab161a64c07a472ef20ae7e9be001 Mon Sep 17 00:00:00 2001 From: dhasilva Date: Tue, 22 Aug 2023 16:00:21 +0000 Subject: [PATCH 06/12] AI Extension: Specify input background color on form (#32628) * specify input background color * changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5941049284 --- CHANGELOG.md | 1 + src/components/ai-control/style.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44b1c7a..5b2a122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This is an alpha version! The changes listed here are not final. ### Changed +- AI Extension: Specify input background color - Updated package dependencies. ## [0.1.4] - 2023-08-14 diff --git a/src/components/ai-control/style.scss b/src/components/ai-control/style.scss index a8efb25..3ab602a 100644 --- a/src/components/ai-control/style.scss +++ b/src/components/ai-control/style.scss @@ -29,6 +29,7 @@ width: 100%; textarea.jetpack-components-ai-control__input { + background-color: var( --jp-white ); width: 100%; min-height: 20px; border-radius: 2px; From 60e5da1c6ed1bd081202ac25b0021de00c98e606 Mon Sep 17 00:00:00 2001 From: lhkowalski Date: Thu, 24 Aug 2023 13:15:50 +0000 Subject: [PATCH 07/12] AI Assistant: Support backend prompt building when composing forms (#32495) * Turn content optional and add context property to the message * Move form creation prompts to server side * Add changelog files * Fix changelog type error * Bump version number * Keep sending the prompt so we dont need to sync client and backend deployment * Rename user request prompt type * Update prompt types to match backend refactory Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5963984198 --- CHANGELOG.md | 1 + src/types.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b2a122..5563e60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This is an alpha version! The changes listed here are not final. ### Changed +- AI Assistant: Change messages to turn content optional and start supporting a context property. - AI Extension: Specify input background color - Updated package dependencies. diff --git a/src/types.ts b/src/types.ts index d8e126b..66baa8e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -18,7 +18,8 @@ export type SuggestionErrorCode = */ export type PromptItemProps = { role: 'system' | 'user' | 'assistant'; - content: string; + content?: string; + context?: object; }; export type PromptMessagesProp = Array< PromptItemProps >; From 7804ad7c724e67d35147b124fcc0f8d793d6fdf1 Mon Sep 17 00:00:00 2001 From: sdixon194 Date: Thu, 24 Aug 2023 15:51:57 +0000 Subject: [PATCH 08/12] Backport social 2.2.0, backup 2.1 Changes (#32648) Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5965753165 --- composer.json | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index caf1e36..7bb1db4 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": {}, "require-dev": { "yoast/phpunit-polyfills": "1.1.0", - "automattic/jetpack-changelogger": "^3.3.8-alpha" + "automattic/jetpack-changelogger": "^3.3.8" }, "autoload": { "classmap": [ diff --git a/package.json b/package.json index 5e2a0a1..c7c11cc 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,9 @@ ".": "./index.ts" }, "dependencies": { - "@automattic/jetpack-base-styles": "^0.6.6-alpha", + "@automattic/jetpack-base-styles": "^0.6.6", "@automattic/jetpack-connection": "^0.29.8", - "@automattic/jetpack-shared-extension-utils": "^0.11.3-alpha", + "@automattic/jetpack-shared-extension-utils": "^0.11.3", "@microsoft/fetch-event-source": "2.0.1", "@wordpress/api-fetch": "6.35.0", "@wordpress/block-editor": "12.6.0", From ab0a4ac5ecce5d5ea0acbfb3d46aa120d2939b6e Mon Sep 17 00:00:00 2001 From: retrofox Date: Thu, 24 Aug 2023 17:52:02 +0000 Subject: [PATCH 09/12] AI Client: add mic icon (#32665) * [not verified] add and export mic icon * changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5966977117 --- CHANGELOG.md | 3 +++ src/icons/index.ts | 1 + src/icons/mic.tsx | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 src/icons/mic.tsx diff --git a/CHANGELOG.md b/CHANGELOG.md index 5563e60..9032095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This is an alpha version! The changes listed here are not final. +### Added +- AI Client: add mic icon + ### Changed - AI Assistant: Change messages to turn content optional and start supporting a context property. - AI Extension: Specify input background color diff --git a/src/icons/index.ts b/src/icons/index.ts index c49117a..046044a 100644 --- a/src/icons/index.ts +++ b/src/icons/index.ts @@ -1,3 +1,4 @@ export { default as aiAssistantIcon } from './ai-assistant'; +export { default as micIcon } from './mic'; export { default as origamiPlaneIcon } from './origami-plane'; export { default as speakToneIcon } from './speak-tone'; diff --git a/src/icons/mic.tsx b/src/icons/mic.tsx new file mode 100644 index 0000000..919c282 --- /dev/null +++ b/src/icons/mic.tsx @@ -0,0 +1,19 @@ +/** + * External dependencies + */ +import { SVG, Rect, Line, Path } from '@wordpress/components'; +import React from 'react'; + +const mic = ( + + + + + +); + +export default mic; From 1674e9c6d365c8299c7f888ca7c4e9b040b1c07b Mon Sep 17 00:00:00 2001 From: dhasilva Date: Fri, 25 Aug 2023 18:28:12 +0000 Subject: [PATCH 10/12] AI Extension: Use new AIControl component from AI package and remove local implementation (#32682) * add showClearButton prop to AIControl component * add requestingState to useSuggestionsFromOpenAI hook * change local AIControl component import to package component * remove local AIControl component * changelog * disable toolbar options when upgrade is required Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5979060196 --- CHANGELOG.md | 1 + src/components/ai-control/Readme.md | 5 +- src/components/ai-control/index.tsx | 53 ++++++++++--------- .../ai-control/stories/index.stories.tsx | 4 +- src/components/ai-control/style.scss | 2 +- 5 files changed, 35 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9032095..6183a78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This is an alpha version! The changes listed here are not final. ### Changed - AI Assistant: Change messages to turn content optional and start supporting a context property. +- AI Extension: Add showClearButton prop to AIControl component and fix names - AI Extension: Specify input background color - Updated package dependencies. diff --git a/src/components/ai-control/Readme.md b/src/components/ai-control/Readme.md index e3eeff9..e4d9c30 100644 --- a/src/components/ai-control/Readme.md +++ b/src/components/ai-control/Readme.md @@ -7,9 +7,10 @@ - `placeholder` (**string**) (Optional): Placeholder text for the input field. Default value is `''`. - `showAccept` (**boolean**) (Optional): Determines if the accept button is shown. Default value is `false`. - `acceptLabel` (**string**) (Optional): Label text for the accept button. Default value is `'Accept'`. -- `showButtonsLabel` (**boolean**) (Optional): Determines if button labels are shown. Default value is `true`. -- `isOpaque` (**boolean**) (Optional): Controls the opacity of the component. Default value is `false`. +- `showButtonLabels` (**boolean**) (Optional): Determines if button labels are shown. Default value is `true`. +- `isTransparent` (**boolean**) (Optional): Controls the opacity of the component. Default value is `false`. - `state` (**RequestingStateProp**) (Optional): Determines the state of the component. Default value is `'init'`. +- `showClearButton` (**boolean**) (Optional): Determines if the clear button is shown when the input has a value. Default value is `true`. - `onChange` (**Function**) (Optional): Handler for input change. Default action is no operation. - `onSend` (**Function**) (Optional): Handler to send a request. Default action is no operation. - `onStop` (**Function**) (Optional): Handler to stop a request. Default action is no operation. diff --git a/src/components/ai-control/index.tsx b/src/components/ai-control/index.tsx index 0c25b75..5a7967d 100644 --- a/src/components/ai-control/index.tsx +++ b/src/components/ai-control/index.tsx @@ -26,20 +26,21 @@ const noop = () => {}; /** * AI Control component. * - * @param {object} props - component props - * @param {boolean} props.disabled - is disabled - * @param {string} props.value - input value - * @param {string} props.placeholder - input placeholder - * @param {boolean} props.showAccept - show accept button - * @param {string} props.acceptLabel - accept button label - * @param {boolean} props.showButtonsLabel - show buttons label - * @param {boolean} props.isOpaque - is opaque - * @param {string} props.state - requesting state - * @param {Function} props.onChange - input change handler - * @param {Function} props.onSend - send request handler - * @param {Function} props.onStop - stop request handler - * @param {Function} props.onAccept - accept handler - * @param {object} ref - Auto injected ref from react + * @param {object} props - Component props + * @param {boolean} props.disabled - Input disabled state + * @param {string} props.value - The input value + * @param {string} props.placeholder - The input placeholder + * @param {boolean} props.showAccept - Whether to show the accept button + * @param {string} props.acceptLabel - The accept button label + * @param {boolean} props.showButtonLabels - Whether to show the button labels + * @param {boolean} props.isTransparent - Whether the component has low opacity + * @param {string} props.state - The request state + * @param {boolean} props.showClearButton - Whether to show the clear button when the input has a value + * @param {Function} props.onChange - Input change handler + * @param {Function} props.onSend - Request send handler + * @param {Function} props.onStop - Request stop handler + * @param {Function} props.onAccept - Response accept handler + * @param {object} ref - Auto injected ref from react * @returns {object} - AI Control component */ export function AIControl( @@ -49,9 +50,10 @@ export function AIControl( placeholder = '', showAccept = false, acceptLabel = __( 'Accept', 'jetpack-ai-client' ), - showButtonsLabel = true, - isOpaque = false, + showButtonLabels = true, + isTransparent = false, state = 'init', + showClearButton = true, onChange = noop, onSend = noop, onStop = noop, @@ -62,9 +64,10 @@ export function AIControl( placeholder?: string; showAccept?: boolean; acceptLabel?: string; - showButtonsLabel?: boolean; - isOpaque?: boolean; + showButtonLabels?: boolean; + isTransparent?: boolean; state?: RequestingStateProp; + showClearButton?: boolean; onChange?: ( newValue: string ) => void; onSend?: ( currentValue: string ) => void; onStop?: () => void; @@ -74,7 +77,7 @@ export function AIControl( ) { const promptUserInputRef = useRef( null ); const loading = state === 'requesting' || state === 'suggesting'; - const showGuideLine = ! ( loading || disabled || value?.length || isOpaque ); + const showGuideLine = ! ( loading || disabled || value?.length || isTransparent ); // Pass the ref to forwardRef. useImperativeHandle( ref, () => promptUserInputRef.current ); @@ -103,14 +106,14 @@ export function AIControl( ); const actionButtonClasses = classNames( 'jetpack-components-ai-control__controls-prompt_button', { - 'has-label': showButtonsLabel, + 'has-label': showButtonLabels, } ); return (
@@ -126,7 +129,7 @@ export function AIControl( />
- { value?.length > 0 && ( + { value?.length > 0 && showClearButton && ( ) : ( ) }
@@ -168,7 +171,7 @@ export function AIControl( label={ acceptLabel } > - { showButtonsLabel && acceptLabel } + { showButtonLabels && acceptLabel } ) } diff --git a/src/components/ai-control/stories/index.stories.tsx b/src/components/ai-control/stories/index.stories.tsx index 848e8f9..c2648a6 100644 --- a/src/components/ai-control/stories/index.stories.tsx +++ b/src/components/ai-control/stories/index.stories.tsx @@ -52,10 +52,10 @@ const Template = args => { const DefaultArgs = { loading: false, - isOpaque: false, + isTransparent: false, placeholder: '', requestingState: 'init', - showButtonsLabel: true, + showButtonLabels: true, showAccept: false, acceptLabel: 'Accept', onChange: action( 'onChange' ), diff --git a/src/components/ai-control/style.scss b/src/components/ai-control/style.scss index 3ab602a..b9a6567 100644 --- a/src/components/ai-control/style.scss +++ b/src/components/ai-control/style.scss @@ -17,7 +17,7 @@ align-items: center; box-sizing: border-box; - &.is-opaque { + &.is-transparent { opacity: 0.4; } } From 2ed2b4aa01e39ee8e74d6cdcaf15e428368f03cc Mon Sep 17 00:00:00 2001 From: zinigor Date: Mon, 28 Aug 2023 11:52:42 +0000 Subject: [PATCH 11/12] Load the block editor assets in the iframe in WP-Admin (#32706) * Add a new jetpack_should_load_block_editor_assets filter * Add a new jetpack_should_load_block_editor_assets filter This filter is used in order to guard the block editor from enqueuing on unwanted contexts. * Load the Jetpack editor block assets with enqueue_block_editor_assets on the front-end and enqueue_block_assets in WP-Admin. This way, the Site Editor and Post Editor load in the iframe directly. * Update changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5999247384 From 444936640aafde314eea1fbdeb1b68de722810ca Mon Sep 17 00:00:00 2001 From: zinigor Date: Mon, 28 Aug 2023 11:54:40 +0000 Subject: [PATCH 12/12] Changelog edits. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/5999306971 --- CHANGELOG.md | 17 +++++++---------- package.json | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6183a78..4a73851 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,18 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.5-alpha] - unreleased - -This is an alpha version! The changes listed here are not final. - +## [0.1.5] - 2023-08-28 ### Added -- AI Client: add mic icon +- AI Client: add mic icon [#32665] ### Changed -- AI Assistant: Change messages to turn content optional and start supporting a context property. -- AI Extension: Add showClearButton prop to AIControl component and fix names -- AI Extension: Specify input background color -- Updated package dependencies. +- AI Assistant: Change messages to turn content optional and start supporting a context property. [#32495] +- AI Extension: Add showClearButton prop to AIControl component and fix names [#32682] +- AI Extension: Specify input background color [#32628] +- Updated package dependencies. [#32605] ## [0.1.4] - 2023-08-14 ### Added @@ -95,7 +92,7 @@ This is an alpha version! The changes listed here are not final. - Updated package dependencies. [#31659] - Updated package dependencies. [#31785] -[0.1.5-alpha]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.4...v0.1.5-alpha +[0.1.5]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.4...v0.1.5 [0.1.4]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.1...v0.1.2 diff --git a/package.json b/package.json index c7c11cc..8d7012e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": false, "name": "@automattic/jetpack-ai-client", - "version": "0.1.5-alpha", + "version": "0.1.5", "description": "A JS client for consuming Jetpack AI services", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme", "bugs": {