Skip to content

v2.3.0

Choose a tag to compare

@dennishei dennishei released this 29 Nov 10:13
· 39 commits to main since this release

Upgrade

  • A new scheduled task scalecommerce_vo.refresh_ownership_index builds the ownership index; register it with bin/console plugin:update ScaleVideoOptimizer (or scheduled-task:register) and make sure the scheduled tasks run (cron / messenger:consume); until the first build (or bin/console scalecommerce:vo:index) video details use the per-uuid lookup as before (#70).
  • New plugin settings ownershipIndexInterval (default 15 minutes), lookupBudgetSite (30) and lookupBudgetClient (10) with the previous limits as defaults; the index is stored in the object cache (cache.object, scoped by token), so a cache clear drops it until the next refresh (#70).
  • The API token needs library:view for the index (without it the refresh logs one warning a day and video details keep using the per-uuid lookup); run bin/console scalecommerce:vo:index in deploy scripts, since a cache clear or plugin update drops the index (#70).
  • A video detail with a fresh complete index answers "not found" for a uuid that is not in it without asking the API (HTTP cache lifetime capped at 5 minutes; on 6.6 not kept in the Store API route cache); a video uploaded since the last refresh needs the video.ready webhook or the next refresh (#70).
  • Multiple web servers need a shared cache.object and LOCK_DSN for the index (otherwise video details use the per-uuid lookup) (#70).
  • VideoOptimizerClient takes the OwnershipIndex as an optional last constructor argument (#70).

Added

  • Ownership index of all videos of the organization (scheduled refresh, CLI scalecommerce:vo:index with --status, webhook and admin updates); video detail pages are verified from it without an API call per video (#70).
  • Index state and a "Rebuild index now" action (permission editor) in the Webhook card of the VideoOptimizer module (#70).
  • Settings for the lookup budgets (site-wide and per client, 1 to 1000) and the index refresh interval (5 to 1440 minutes) (#70).

API level: 2026-11-27