Skip to content

Latest commit

 

History

History
254 lines (145 loc) · 7.91 KB

File metadata and controls

254 lines (145 loc) · 7.91 KB

Changelog

v1.0.2 - 2026-03-05

Fixed

  • Restored statamic/cms: ^5.0 requirement — v1.0.1 incorrectly required ^6.0, making it uninstallable on Statamic 5 projects (#9)

v2.0.2 - 2026-02-27

Fixed

  • Add missing icon for "Generate Alt Text" action in asset browser dropdown (#7)

v2.0.1 - 2026-02-25

Fixed

  • Support custom CP route prefix (#4, #5) — the addon no longer hardcodes /cp/ for URL matching and API calls, using Statamic.$config.get('cpRoot') instead
  • Updated browser test infrastructure and CI workflow for Statamic 6
  • Added orchestra/testbench ^10.0 compatibility
  • Added feature tests for trigger/check endpoints

v1.0.1 - 2026-02-25

Fixed

  • Support custom CP route prefix (#4, #6) — the addon no longer hardcodes /cp/ for URL matching and API calls, using Statamic.$config.get('cpRoot') instead
  • Updated browser test infrastructure and CI workflow
  • Added orchestra/testbench ^10.0 compatibility
  • Added feature tests for trigger/check endpoints

v2.0.0 - 2026-01-28

Statamic v6 Support

This release requires Statamic v6. The Statamic v6 control panel ships with significant JavaScript and UI changes that are incompatible with earlier versions. v2.0 of Auto Alt Text is built for this new foundation — if you're on Statamic v5, use the v1.x branch instead.

Prism PHP Integration

Auto Alt Text now uses Prism PHP as its AI backend, replacing the built-in OpenAI and Moondream integrations. This gives you access to a wide range of AI providers through a single, unified configuration.

Supported Providers

Configure any Prism-supported provider via a single AUTO_ALT_TEXT_MODEL env variable:

  • OpenAI (openai/gpt-4.1)
  • Anthropic (anthropic/claude-sonnet-4-5)
  • Ollama (ollama/llava)
  • Mistral (mistral/pixtral-large-latest)
  • And more — see Prism's documentation for the full list.

Breaking Changes

  • Requires Statamic v6 — The v6 control panel JavaScript is incompatible with v5. There is no cross-version support.
  • Moondream support removed — Prism does not support Moondream. Use Ollama with a vision model like llava for local processing.
  • Configuration restructured — The nested services.openai.* config has been replaced with a flat model setting in provider/model format.
  • Environment variables changed:
    • AUTO_ALT_TEXT_MODEL replaces AUTO_ALT_TEXT_SERVICE
    • OpenAI/provider API keys are now managed via Prism's own config (config/prism.php)
    • Removed: MOONDREAM_*, OPENAI_ENDPOINT, OPENAI_DETAIL

Migration Guide

Before (v0.x)

AUTO_ALT_TEXT_SERVICE=openai
OPENAI_API_KEY=sk-...
OPENAI_MODEL=gpt-4.1
OPENAI_ENDPOINT=https://api.openai.com/v1/chat/completions



After (v2.0)

AUTO_ALT_TEXT_MODEL=openai/gpt-4.1



API keys are configured in Prism's config (config/prism.php), which uses standard environment variables like OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.

Re-publish the config to get the new structure:

php artisan vendor:publish --tag=statamic-auto-alt-text-config --force



Version Support

Auto Alt Text Statamic Status
v2.x v6 Active development
v1.x v5 Maintenance

v1.0.0 - 2026-01-28

What's New

Statamic Auto Alt Text now uses Prism PHP as its AI backend, replacing the built-in OpenAI and Moondream integrations. This gives you access to a wide range of AI providers through a single, unified configuration.

Supported Providers

Configure any Prism-supported provider via a single AUTO_ALT_TEXT_MODEL env variable:

  • OpenAI (openai/gpt-4.1)
  • Anthropic (anthropic/claude-sonnet-4-5)
  • Ollama (ollama/llava)
  • Mistral (mistral/pixtral-large-latest)
  • And more — see Prism's documentation for the full list.

Breaking Changes

  • Moondream support removed — Prism does not support Moondream.
  • Configuration restructured — The nested services.openai.* config has been replaced with a flat model setting in provider/model format.
  • Environment variables changed:
    • AUTO_ALT_TEXT_MODEL replaces AUTO_ALT_TEXT_SERVICE
    • OpenAI/provider API keys are now managed via Prism's own config (config/prism.php)
    • Removed: MOONDREAM_*, OPENAI_ENDPOINT, OPENAI_DETAIL

Migration Guide

Before (v0.x)

AUTO_ALT_TEXT_SERVICE=openai
OPENAI_API_KEY=sk-...
OPENAI_MODEL=gpt-4.1
OPENAI_ENDPOINT=https://api.openai.com/v1/chat/completions




After (v1.0)

AUTO_ALT_TEXT_MODEL=openai/gpt-4.1




API keys are configured in Prism's config (config/prism.php), which uses standard environment variables like OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.

Re-publish the config to get the new structure:

php artisan vendor:publish --tag=statamic-auto-alt-text-config --force




v0.5.3 - 2025-10-05

What's new

  • Add comprehensive testing infrastructure with Pest 4
  • Add GitHub Actions CI workflow for automated testing
  • Add browser tests for UI interactions
  • Add feature tests for asset event handling

What's fixed

  • Remove parallel processing to improve reliability
  • Save assets quietly to prevent premature alt text generation
  • Improve OpenAI service parameter handling (which should have been included in v0.5.2)

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.5.2...v0.5.3

v0.5.2 - 2025-09-22

What's new

  • Add params config option to support reasoning models and enhance versatility

This release adds support for configurable parameters in OpenAI API calls, designed to work with reasoning models like OpenAI's o1 and gpt-5 series that require setting max_completion_tokens instead of max_tokens.

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.5.1...v0.5.2

v0.5.1 - 2025-09-06

What's Changed

Bug Fixes

  • Fixed issue with stale data when triggering job on asset with existing caption

Maintenance

  • Updated gitignore configuration

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.5.0...v0.5.1

v0.5.0 - 2025-07-13

What's new

  • Antlers templating support for dynamic prompts with asset data
  • Configurable system message to OpenAI service for better prompt control

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.4.0...v0.5.0

v0.4.0 - Add Asset Filtering - 2025-06-25

What's new

  • new: Individual asset ignore field for granular exclusion control
  • new: Global asset exclusion patterns to filter assets by filename or path
  • new: Container-specific filtering for targeted exclusion rules

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.3.2...v0.4.0

v0.3.2 - 2025-06-20

What's new

  • add ---dispatch-jobs flag to allow asynchronous processing of alt text generation

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.3.1...v0.3.2

v0.3.1 - 2025-06-12

What's fixed

  • fix wrong permission checks, #1

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.3.0...v0.3.1

v0.3.0 - 2025-06-04

What's new

  • breaking: Command is now nested under statamic namespace - use php please auto-alt:generate instead of php artisan auto-alt:generate
  • improvement: OpenAI default model changed from gpt-4-turbo to gpt-4.1-mini for better efficiency
  • new: Added support for OpenAI 'detail' parameter (low/high/auto) for vision API
  • improvement: Increased default max image dimension from 1920px to 2048px
  • improvement: Use base64 images with OpenAI for convenience and better reliability

Full Changelog: https://github.com/el-schneider/statamic-auto-alt-text/compare/v0.2.0...v0.3.0