Added
- New filters,
classifai_provider_credentials_{$provider_id}andclassifai_provider_credentials, that allows developers the ability to override AI credentials prior to those being used. This allows you to manage credentials outside of the database, like as environment variables or other secret management services (props @fabiankaegy, @peterwilsoncc, @dkotter via #1043). - New Feature that allows you to track your OpenAI API usage and set both soft (admin notice only) and hard (admin notice and Feature disablement) thresholds, helping you from exceeding your API usage limits (props @rahulsprajapati, @jeffpaul, @dkotter via #1065).
- Content Generation integration with the WordPress Quick Draft widget for quick AI-powered draft content creation (props @faisal-alvi, @jeffpaul, @dkotter via #1012).
- New methods on the Provider class that allow you to get all credentials or a specific credential, pulling the credentials from the larger Feature settings (props @fabiankaegy, @peterwilsoncc, @dkotter via #1043).
- Ability to change any AI suggested terms when using the Classification Feature in manual mode (props @zamanq, @jeffpaul, @dkotter via #1039).
- Helper texts for various settings, making it easier to understand what each setting does (props @hugosolar, @jeffpaul, @dkotter via #957).
- Ensure all Providers have an
authenticate_credentialsmethod that we can use to validate the credentials are valid (props @peterwilsoncc, @dkotter via #1048).
Changed
- Text-to-speech audio generation now runs asynchronously via Action Scheduler, ensuring request timeouts aren't hit (props @rahulsprajapati, @peterwilsoncc, @dkotter via #1042).
- Move the Ollama model dropdown setting out of the Provider configuration, making it easier to choose a model (props @turtlepod, @jeffpaul, @iamdharmesh, @dkotter via #1031).
- For filters that run when API requests are made, the Feature name, not the Feature option name is now passed as an argument. If you have code that relies on that argument, updates will be needed (props @peterwilsoncc, @dkotter via #1043).
- Allow all settings to be saved, including credential fields, even if they are blank. This is mostly to support those using the new
classifai_provider_credentialsfilters to override credentials (props @peterwilsoncc, @dkotter via #1048).
Fixed
- Opt-in to new changes coming to Gutenberg react components, like larger font-sizing and removal of margins, to avoid deprecation notices being logged to the browser console (props @dkotter, @peterwilsoncc via #1045).
- Resolve deprecation warnings in our WordPress Playground integration (props @dkotter, @jeffpaul via #1037).
Deprecated
- The legacy settings screen (enabled via the
classifai_use_legacy_settings_panelfilter) is now formally deprecated and scheduled for removal in a future release. An admin notice will be displayed when this filter is active. Please migrate to the new React-based settings experience (props @zamanq, @jeffpaul, @dkotter via #1036).
Security
- Add a
CredentialObfuscatorclass that will obfuscate any private credentials before rendering those in the settings screen (props @dkotter, @peterwilsoncc via #1047). - Hardening: add read post check for Watson NLU classification previewer (props @peterwilsoncc @dkotter via #1049).
- Ensure our helper files don't allow direct file access (props @dkotter, @jeffpaul via #1028).
Developer
- New documentation on how to extend ClassifAI with a custom Feature (props @shadyvb, @dkotter via #1015).
- Add Patchstack security-reporting FAQ (props @jeffpaul via #1029).
- Remove SVG loader in favour of WP Scripts version (props @peterwilsoncc, @dkotter via #1033).
- E2E test: set fast fail to false in GitHub action (props @peterwilsoncc, @dkotter via #1033).
- Update
@wordpress/scriptsto 31.3.0 and@wordpress/envto 10.38.0 (props @peterwilsoncc, @dkotter via #1033). - Move WP bundled dependencies to eslint config (props @peterwilsoncc, @dkotter via #1033).
- Update readmes to be more streamlined and link to our documentation site for those that want more information (props @dkotter, @jeffpaul via #1041).
- Update dependencies via npm audit fix (props @peterwilsoncc, @dkotter via #1033).
- Bump
lodashfrom 4.17.21 to 4.17.23 (props @dependabot[bot], @dkotter via #1034). - Bump
lodash-esfrom 4.17.22 to 4.17.23 (props @dependabot[bot], @dkotter via #1035). - Bump
systeminformationfrom 5.30.0 to 5.31.1 (props @dependabot[bot], @dkotter via #1057). - Bump
basic-ftpfrom 5.1.0 to 5.2.0 (props @dependabot[bot], @dkotter via #1061). - Bump
immutablefrom 5.1.4 to 5.1.5 (props @dependabot[bot], @dkotter via #1063). - Bump
svgofrom 3.3.2 to 3.3.3 (props @dependabot[bot], @dkotter via #1064).
New Contributors
- @hugosolar made their first contribution in #957
- @shadyvb made their first contribution in #1015
- @turtlepod made their first contribution in #1031
Full Changelog: 3.7.1...3.8.0
View closed items in the milestone.