All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.10.1 - 2024-03-27
- Updated package dependencies. [#36539, #36585]
0.10.0 - 2024-03-18
- Add image generator hook [#36415]
0.9.0 - 2024-03-12
- Fix typescript errors [#35904]
- Updated package dependencies. [#36325]
- AI Client: Fix audio recording where WebM is not supported (iOS for example). [#36160]
0.8.2 - 2024-03-04
- AI Client: add audio validation hook. [#36043]
- Voice to Content: Close audio stream on hook destruction [#36086]
- AI Client: change loading and error state handling on media recording hook. [#36001]
- AI Client: publish audio information on the validation success callback of the audio validation hook. [#36094]
- Updated package dependencies. [#36095]
- Updated package dependencies. [#36143]
- AI Client: fixed transcription request from P2 editor [#36081]
0.8.1 - 2024-02-27
- AI Client: support audio transcription and transcription post-processing canceling. [#35923]
0.8.0 - 2024-02-26
- Add upgrade message for free tier [#35794]
- Updated package dependencies. [#35793]
- Voice to Content: Add audio analyser to media recording hook [#35877]
- Voice to Content: Make transcriptions cancelable and add onProcess callback [#35737]
0.7.0 - 2024-02-19
- AI Client: add support for audio transcriptions. [#35691]
- AI Client: add support for transcription post-processing. [#35734]
- AI Client: Update voice to content feature [#35698]
- Make build usable in projects using tsc with
moduleResolution
set to 'nodenext'. [#35453] - Voice to Content: Add states and refactor duration calculation [#35717]
0.6.1 - 2024-02-13
- Updated package dependencies. [#35608]
0.6.0 - 2024-02-05
- Jetpack AI: Support floating error messaging on the AI Control component. [#35322]
- Updated package dependencies. [#35384]
0.5.1 - 2024-01-29
- Update dependencies. [#35170]
0.5.0 - 2024-01-25
- AI Control: Do not call onAccept from the discard handler. A fix has been put in place on #35236. [#35238]
0.4.1 - 2024-01-22
- Update dependencies. [#35117]
0.4.0 - 2024-01-15
- AI Client: introduce bannerComponent prop, React.Element, to render on top of the AI Control [#34918]
- Jetpack AI: Check for post id type and only include numbers [#34974]
0.3.1 - 2024-01-04
- Updated package dependencies. [#34815]
0.3.0 - 2023-12-20
- AI Client: improved usability with new block positioning, prompt and suggestion action buttons. [#34383]
- Updated package dependencies. [#34696]
0.2.1 - 2023-12-03
- Updated the prompt shadow for a better sense of depth. [#34362]
- Updated package dependencies. [#34411] [#34427]
0.2.0 - 2023-11-20
- Include built JavaScript code in addition to TypeScript. [#34118]
0.1.16 - 2023-11-14
- Updated package dependencies. [#34093]
0.1.15 - 2023-11-13
- Prevented dispatching the
done
event for JETPACK_AI_ERROR. [#34051] - Ensured the unclear prompt error is dispatched only once per request. [#34025]
0.1.14 - 2023-11-03
0.1.13 - 2023-10-23
- Updated package dependencies. [#33687]
- AI Client: Remove obsolete blockListBlockWithAiDataProvider() HOC component. [#33726]
0.1.12 - 2023-10-16
- Updated package dependencies. [#33584]
0.1.11 - 2023-10-10
- Updated package dependencies. [#33428]
0.1.10 - 2023-09-28
- AI Client: Add keyboard shortcut text next to Stop action [#33271]
0.1.9 - 2023-09-25
- Export GuidelineMessage for use in other blocks. [#33180]
0.1.8 - 2023-09-19
- AI Client: Add support for the jetpack-ai role on the prompt messages. [#33052]
- AI Client: add
model
param to request helpers [#33083] - AI Client: Emit specific error for large context error on SuggestionsEventSource [#33157]
- AI Client: Introduce blockListBlockWithAiDataProvider() function [#33025]
- AI Client: Move showGuideLine to AIControl component props [#33084]
- AI Client: check media record ref of the useMediaRecording() hook before to remove the listeners [#33013]
0.1.7 - 2023-09-11
- AI Client: add and expose reset() from useAiSuggestions() hook [#32886]
- AI Client: introduce audio duration display component [#32825]
0.1.6 - 2023-09-04
- AI Client: add play and pause icons [#32788]
- AI Client: add player stop button icon [#32728]
- AI Client: create blob audio data. Introduce onDone() callback [#32791]
- AI Client: improve useMediaRecorder() timeslice recording option [#32805]
- AI Client: introduce useMediaRecording() hook [#32767]
- AI Client: minor change in useMediaRecording() hook example [#32769]
- Updated package dependencies. [#32803]
- Remove unnecessary files from mirror repo and published package. [#32674]
- AI Client: fix mic icon visual issue in Safari [#32787]
0.1.5 - 2023-08-28
- AI Client: add mic icon [#32665]
- 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
- 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]
- AI Client: Expose stopSuggestion function on useAiSuggestions hook so the consumer can stop a suggestion in the middle. [#32382]
- AI Client: Remove redundant switch case [#32405]
0.1.3 - 2023-08-09
- AI Client: Introduce disabled prop in AI Control. [#32326]
- AI Control: Add guideline message. [#32358]
- AI Client: handle token fetching errors by dispatching an event from the SuggestionsEventSource class. [#32350]
- AI Client: tweak layout and styles to make AI Control mobile friendly. [#32362]
- AI Control: clean up props. [#32360]
- Updated package dependencies. [#32166]
- AI Client: fix TS type definition issue [#32330]
0.1.2 - 2023-08-07
- AI Assistant: Add options parameter to request function on useAiSuggestions hook [#32198]
- AI Client: add @wordpress/compose dependency [#32228]
- AI Client: Add clear button in AI Control component [#32274]
- AI Client: Add keyboard shortcut to AIControl [#32239]
- AI Client: add onError() response support [#32223]
- AI Client: Export types [#32209]
- AI Client: Start supporting request options on requestSuggestion callback. [#32303]
- AI Control: introduce AiStatusIndicator component [#32258]
- AI Client: complete/update/improve doc [#32311]
- AI Client: rename the prop name of the requesting state of the AiStatusIndicator component [#32279]
- AI Client: Fix wrong disabled state condition. [#32210]
0.1.1 - 2023-08-01
- Add AI Client icon components [#32079]
- AI Assistant: add function calling feature. [#32161]
- AI Client: add AI Assistant data context. [#32129]
- AI Client: add useAiContext() react hook. [#32145]
- AI Client: add useAiSuggestions() react custom hook. [#32022]
- AI Client: introduce AI Control component. [#32163]
- AI Client: introduce withAiDataProvider HOC. [#32142]
- AI Client: add Icon suffix to icon components. [#32173]
- AI Client: handle properly passing the post_id parameter to endpoint. [#32104]
- AI Client: replace using CSS modules with the regular way. [#32171]
- AI Client: remove unused image library [#32127]
- Add Jetpack AI Client [#30855]
- AI Client: add askQuestion() lib [#31964]
- AI Client: export SuggestionsEventSource updated library [#31944]
- AI Client: update and expose JWT library [#31924]
- AI Client: stop using smart document visibility handling on the fetchEventSource library, so it does not restart the completion when changing tabs. [#32004]
- Updated package dependencies. [#31468]
- Updated package dependencies. [#31659]
- Updated package dependencies. [#31785]