AI Provider: Universal 1.0.0-rc1

Changes since 1.0.0-beta4. Release candidate: no new features are planned before 1.0.0, only fixes.

Security hardening

A security pass over the whole module ahead of the security advisory coverage review. None of these was exploitable without an account holding the permission involved.

Bias ratings: no third-party data in the repository

New: terms and privacy analyzer (experimental)

Other changes

Upgrading

  1. composer update drupal/ai_provider_universal drupal/ai (AI 1.5 or newer).
  2. drush updb: sets the terms API's hourly limit on sites that already enabled the submodule from 1.0.x-dev.
  3. drush cr.
  4. Check roles that hold view factcheck results: they keep viewing results but can no longer change or delete them. Roles granted use standalone fact check keep it; the permission is now flagged as restrict access on the permissions page.
  5. Scripts calling drush factcheck:sync-bias-ratings with no options, or with --file pointing at mbfc-ratings-full.json or mbfc-ratings-sample.json, need their own ratings file or --fetch.
  6. Callers of the terms API from 1.0.x-dev: send Content-Type: application/json, and X-CSRF-Token when authenticated by cookie.

Known limitations

Requirements

Install: composer require 'drupal/ai_provider_universal:^1.0@RC'