Skip to content

Latest commit

 

History

History
692 lines (563 loc) · 94.6 KB

CHANGELOG.md

File metadata and controls

692 lines (563 loc) · 94.6 KB

Changelog

All notable changes to this project will be documented in this file, per the Keep a Changelog standard.

3.2.0 - 2024-12-18

Prior to updating, please read: this release of ClassifAI rearchitects how the settings pages are built, from a standard PHP approach to using React components. If you've created custom Features or Providers or added your own custom settings, you'll need to update your code to work in this new structure. See our documentation for examples.

Also note that this release bumps the WordPress minimum from 6.1 to 6.5.

Added

Changed

Fixed

Security

Developer

3.1.1 - 2024-08-06

Changed

  • Switch from using the gpt-3.5-turbo model to the new gpt-4o-mini model for any OpenAI text generation requests. Increase our context window from 16,385 tokens to 128,000 tokens (props @dkotter, @iamdharmesh via #785).

Fixed

3.1.0 - 2024-07-15

Added

Changed

  • Update from the text-embedding-ada-002 to the text-embedding-3-small model for the OpenAI Embeddings Provider. Note this requires regenerating all existing embeddings for comparisons to work properly. Also worth mentioning you'll want to check your threshold settings to ensure that works well with these changes, as we're seeing lower threshold scores with this new model (props @dkotter, @iamdharmesh via #758).
  • When generating embeddings, ensure we chunk our content down and reduce our vector dimensions to 512 (props @dkotter, @iamdharmesh via #758).
  • Increase the amount of terms we consider when running comparisons using the OpenAI Embeddings Provider from 500 to 5000 (props @dkotter, @iamdharmesh via #758).
  • Allow the Embeddings Provider to be used by Features other than Classification (props @iamdharmesh, @dkotter via #766).
  • Hide the Provider's configuration help text when the Provider is already configured (props @kmgalanakis, @Sidsector9, @dkotter via #770).
  • Select label is changed to Replace within Content Resizing suggestions modal (props @Sidsector9, @jeffpaul, @faisal-alvi, @dkotter via #774).
  • Content Resizing modal title is updated from static to dynamic depending on the type of resizing (props @Sidsector9, @jeffpaul, @faisal-alvi, @dkotter via #774).
  • Add the ability to send chunked content in a single request to the Embedding API (props @dkotter, @iamdharmesh via #776).
  • Embeddings classification now uses background processing to improve performance. This is done by including the Action Scheduler package (props @Sidsector9, @dkotter via #779).
  • Bump WordPress "tested up to" version to 6.6 (props @qasumitbagthariya, @dkotter, @jeffpaul via #751).
  • Replaced lee-dohm/no-response with actions/stale to help with closing no-response/stale issues (props @jeffpaul, @dkotter via #751).
  • Update the @10up/cypress-wp-utils package to 0.3.0 (props @dkotter, @jeffpaul via #760).

Fixed

Security

3.0.1 - 2024-03-07

Fixed

3.0.0 - 2024-02-29

Note that this is a major release of ClassifAI that restructures most of the codebase and will have some breaking changes. If you're extending ClassifAI in any way, please ensure you fully test those integrations prior to running this update on production. For more details on what is changing, see the migration guide.

Added

Changed

  • Major refactoring of the plugin to a feature-first architecture (props @Sidsector9, @dkotter via #611).
  • Update the Azure AI Vision Image Analyze API from v3.0 to v3.2 and the Azure AI Vision Smart Cropping API from v3.1 to v3.2. Note that we recommend lowering the threshold values for the Descriptive Text Generator Feature to 55% for best results (props @kmgalanakis, @dkotter, @sksaju, @iamdharmesh via #559).
  • Update from using DALL·E 2 to using DALL·E 3 in our Image Generation Feature (props @dkotter, @jeffpaul, @iamdharmesh via #717).
  • Refactor ClassifAI onboarding to work with the new feature-first refactoring (props @iamdharmesh, @Sidsector9 via #642).
  • Ensure the Classification functionality works the same for all Providers (props @dkotter, @iamdharmesh via #709).
  • Introduce a filter to add new arguments to the Image Generation REST route, instead of registering that route twice (props @iamdharmesh, @dkotter via #727).
  • If on a multisite install, when handling user access based on role, if a Super Admin does not have a specific role on a site, treat that user as an administrator (props @dkotter, @jeffpaul, @gsarig, @iamdharmesh via #689).
  • Remove the "Enable role-based access" and "Enable user-based access" settings options and instead set those to be enabled by default (props @iamdharmesh, @dkotter, @jeffpaul via #692).
  • Update minimum node version to 20 (props @Sidsector9, @dkotter via #722).
  • Updated E2E tests to work with the new feature-first refactoring (props @Sidsector9, @dkotter via #653).

Fixed

Removed

Deprecated

Security

2.5.1 - 2024-01-11

Changed

Fixed

Security

2.5.0 - 2023-12-13

Note that this release bumps the WordPress minimum from 5.8 to 6.1.

Added

Changed

Fixed

Security

2.4.0 - 2023-11-09

Added

Changed

Fixed

Security

2.3.0 - 2023-09-05

Note that this release bumps the WordPress minimum from 5.7 to 5.8.

Added

  • Ability to resize (expand or condense) text content using OpenAI's ChatGPT API (props @Sidsector9, @dkotter, @jeffpaul, @jakemgold via #532).
  • Ability to generate excerpts when using the Classic Editor (props @jamesmorrison, @ravinderk, @dkotter via #491).
  • Ability to generate images directly in the Media Library, instead of at a post level, by going to Media > Generate Images (props @phpbits, @dkotter via #524).
  • Ability to generate images within the Inserter Media tab. As of WordPress 6.3, this requires the latest version of the Gutenberg plugin to work. Also note that image generation requests are sent as soon as you are done typing so you may end up making multiple requests as you type out your prompt (resulting in charges for each request), depending on the typing speed (props @dkotter, @jeffpaul, @peterwilsoncc via #535).
  • New display option to control the display of the Text-to-Speech audio controls on the front-end (props @joshuaabenazer, @dkotter via #549).
  • Initial integration with the new Command Palette API (props @dkotter, @iamdharmesh, @ravinderk via #536).
  • New POST endpoints for title and excerpt generation (props @phpbits, @dkotter via #525).
  • New filter, classifai_chatgpt_allowed_roles, to allow ChatGPT image role settings to be overridden (props @bjorn2404, @phpbits, @dkotter via #459).
  • New filter, classifai_openai_dalle_allowed_image_roles, to allow DALL·E image role settings to be overridden (props @bjorn2404, @phpbits, @dkotter via #459).
  • New filter, classifai_openai_chatgpt_{$feature}, to allow granular access control for ChatGPT title and excerpt generation (props @bjorn2404, @phpbits, @dkotter via #459).
  • New filter, classifai_openai_dalle_enable_image_gen, to allow granular access control for DALL·E image generation (props @bjorn2404, @phpbits, @dkotter via #459).

Changed

  • Bump WordPress minimum from 5.7 to 5.8 (props @Sidsector9 via #532).
  • Bump WordPress "tested up to" version to 6.3 (props @dkotter, @ravinderk via #556).
  • Utilize the new POST endpoints for title and excerpt generation, ensuring most recent content is always used (props @phpbits, @dkotter via #525).
  • Update the IBM Watson NLU API to the 2022-08-10 version (props @dkotter, @ravinderk via #543).
  • Update the prompt we send to OpenAI that is used to generate excerpts to try and ensure the excerpts generated pair well with the title of the content (props @dkotter, @Sidsector9 via #544).
  • Update our title generation prompt to use a system message (props @dkotter, @Sidsector9 via #545).
  • Better error handling for environments that don't match our minimum PHP version (props @rahulsprajapati, @dkotter via #546).
  • Modify the audio generation process for the TTS feature. Audio generation is enabled by default but will be disabled automatically once audio has been generated (props @joshuaabenazer, @dkotter via #549).
  • Upgrade the Plugin Update Checker library to from 4.13 to 5.1 (props @dkotter, @ravinderk via #555).
  • Update the references of the renamed Computer Vision API to Azure AI Vision (props @kmgalanakis, @dkotter via #560).
  • Update the Release GitHub Action workflow files to fix an issue where release archives were not being attached (props @iamdharmesh, @dkotter via #565).

Fixed

Security

2.2.3 - 2023-07-13

Added

  • Support post classification via OpenAI Embeddings in the Classic Editor (props @phpbits, @dkotter via #515).
  • Support Text-to-Speech functionality in the Classic Editor (props @dkotter, @iamdharmesh via #518).
  • Custom WP-CLI command, transcribe_audio, to generate audio transcriptions in bulk (props @dkotter, @Sidsector9 via #514).
  • Custom WP-CLI command, generate_excerpt, to generate excerpts in bulk (props @dkotter, @iamdharmesh via #516).
  • Custom WP-CLI command, embeddings, to classify posts via OpenAI Embeddings in bulk (props @phpbits, @dkotter via #521).
  • Ability to generate excerpts in bulk using the Bulk actions dropdown (props @dkotter, @Sidsector9 via #523).
  • Ability to generate excerpts on an individual item from the All Posts screen (props @dkotter, @Sidsector9 via #523).
  • New filter, classifai_pre_render_post_audio_controls, that provides ability to override Text-to-Speech audio player controls markup (props @joshuaabenazer, @dkotter via #528).
  • Provide sample copy that can be added to a site's Privacy Policy, letting site visitors know AI tools are in use (props @dkotter, @jeffpaul via #529).

Changed

Fixed

2.2.2 - 2023-06-28

Added

Changed

Fixed

  • Ensure any edits made to generated titles persist when that title is inserted (props @dkotter, @Sidsector9 via #509).
  • Ensure we show all post statuses in our settings instead of just the core post ones (props @Sidsector9, @dkotter via #507).

2.2.1 - 2023-06-08

Added

  • Ability to generate images in the Classic Editor (props @dkotter, @ravinderk via #471).
  • Ability to trigger Text-to-Speech generation in bulk (props @dkotter, @ravinderk via #477).
  • Ability to trigger Text-to-Speech generation on an individual item from the post lists screen (props @dkotter, @ravinderk via #477).
  • Custom WP-CLI command,text_to_speech, that can be used to generate Text-to-Speech data in bulk (props @dkotter, @ravinderk via #478).

Changed

Fixed

Security

2.2.0 - 2023-05-22

Added

Changed

Fixed

2.1.0 - 2023-05-02

Note that this release moves the ClassifAI settings to be nested under Tools instead of it's own menu.

Added

Fixed

  • Address a PHP notice that is thrown when editing a non-image attachment (props @av3nger, @dkotter, @peterwilsoncc via #425).
  • Ensure generated images are assigned properly to their post (props @derweili, @dkotter via #438).
  • Remove use of deprecated FILTER_SANITIZE_STRING constant (props @Sidsector9, @dkotter via #442).
  • Ensure proper CSS is always loaded based on the enabled features (props @jeffpaul, @dkotter via #441).
  • Removed a duplicate filter (props @benlk, @dkotter via #444).
  • Buttons to generate descriptive text and image tags are no longer displayed when those settings are disabled in Microsoft Azure Image Processing settings (props @benlk, @dkotter via #445).

Changed

  • Use new get_asset_info utility for all of our enqueues (props @Spoygg, @dkotter via #421).
  • Change how we import dependencies in our JS files (props @Spoygg, @dkotter via #421).
  • Tweaks to the image generation UI (props @mehidi258, @jeffpaul, @dkotter via #441).
  • When attempting to use Azure to parse a too-large document, the error log message will include the document size and the maximum document size (props @benlk, @dkotter via #443).

2.0.0 - 2023-04-04

Added

Fixed

Changed

Security

1.8.1 - 2023-01-05

Note that this release bumps the WordPress minimum from 5.6 to 5.7 and the PHP minimum from 7.2 to 7.4.

Added

Changed

Security

1.8.0 - 2022-09-30

Note that this release bumps the PHP minimum from 7.0 to 7.2.

Added

Fixed

Changed

  • Upgrade the Plugin Update Checker library, yahnis-elsts/plugin-update-checker, from 4.6 to 4.13 (props @dkotter, @Sidsector9 via #365).

Security

1.7.3 - 2022-07-28

Note that this release bumps the WordPress minimum from 5.0 to 5.6.

Added

Changed

Fixed

Security

1.7.2 - 2022-06-27

Added

Changed

Removed

Fixed

1.7.1 - 2022-04-25

Added

  • classifai_post_statuses filter; allows post statuses for content classification to be changed as required but would apply to all post types (props @jamesmorrison, @dkotter via #310).
  • classifai_post_statuses_for_post_type_or_id filter; allows post statuses for content classification to be changed as required based on post type / post ID (props @jamesmorrison, @dkotter via #310).
  • Implement can_register() method for Classifai/Providers/Watson/NLU.php (props @thrijith via #313).
  • Notice for deprecated IBM Watson watsonplatform.net NLU API endpoint (props @rahulsprajapati, @jeffpaul via #320).
  • CodeQL Analaysis code scanning and Dependency security scanning actions (props @jeffpaul via #314, #336).

Changed

Removed

Fixed

Security

1.7.0 - 2021-08-26

Added

  • Automated Optical Character Recognition (OCR) scanning of multi-page PDF files adding text content to media description field (props @dinhtungdu, @dkotter, @phpbits via #282).
  • ComputerVision::reset_settings() method (props @ActuallyConnor, @dinhtungdu via #264).
  • Update URI header to ensure only legitimate ClassifAI updates are applied to this install (props @jeffpaul via #290).
  • Issue management automation via GitHub Actions (props @jeffpaul via #294).

Changed

Fixed

Security

1.6.0 - 2020-11-02

Added

Changed

Removed

Fixed

Security

1.5.1 - 2020-03-06

Added

Changed

  • Consolidated hook documentation and release workflows (props @helen via #192)

Fixed

1.5.0 - 2020-3-04

Added

Changed

Removed

Fixed

1.4.0 - 2019-09-26

Added

Changed

  • Enable comma delimited list of Post IDs in WP CLI command for Watson NLU bulk language processing (props @adamsilverstein, @helen via #55)

Fixed

1.3.2 - 2019-07-24

Fixed

Changed

1.3.1 - 2019-06-13

Fixed

  • Specify and handle minimum PHP version support (props @helen via #84)

1.3.0 - 2019-06-06

Added

Changed

  • Settings page split into separate Language and Image Processing settings pages (props @ryanwelcher, @helen via #46)

Security

1.2.1 - 2019-04-25

Added

  • Free registration for in-admin updates

Fixed

  • Run init at a later priority to be sure that most other callbacks run first
  • Clean up docs references

1.2.0 - 2019-03-21

Added

  • Initial public release with a new name! 🎉
  • Gutenberg support
  • Admin support for Concepts classification
  • Clearer settings page
  • Alert if plugin is not set up with credentials yet
  • Tests and linting and documentation, oh my

1.1.0 - 2018-10-30

Added

  • Taxonomy mapping support
  • Admin notice on API errors

1.0.0 - 2018-07-24

  • Initial closed source release