The Wire · Showcase
LARAVEL AI FIXES PROVIDER KEY RESOLUTION WHILE SAIL BACKPORTS 8.5 DOCKERFILE ACROSS LEGACY VERSIONS
By RepoJournal · Filed · About Laravel
Laravel's AI package just patched a consistency bug in provider option resolution that was forcing boilerplate code into every provider implementation [ref:1], while Sail v1.59.0 rolled out unified Dockerfile improvements across five PHP versions in one shot [ref:10].
The AI package fixed a root cause issue [1] where provider key resolution wasn't centralized, forcing redundant code across implementations — this merge pulls that logic into TextGenerationOptions once and for all. Separately, Laravel's adding validation teeth to embeddings input [8], rejecting blank strings and non-strings before they hit providers, cutting useless API calls. There's also a fix pending for database connection respect in Conversation and ConversationMessage models [9], which were ignoring configured secondary databases and hitting the default instead. Across five repositories — AI, Sail, Boost, Agent Skills, and Agent Detector — the team pinned all GitHub Actions to commit SHAs and added Dependabot automation [4] [5] [6] [7], a security hardening move that drops GITHUB_TOKEN exposure after checkout. Sail's backport [3] brought 8.5 Dockerfile improvements down to 8.4, 8.3, 8.2, 8.1, and 8.0, including playwright setup and MYSQL_CLIENT args for older versions.
Action items
- → Upgrade Laravel Sail to v1.59.0 if you're running PHP 8.0–8.4 to sync Dockerfile improvements laravel/sail [plan]
- → Update Laravel AI and check if you're using custom embeddings to validate against blank/non-string inputs laravel/ai [plan]
- → If using ai.conversations.connection config, update to the pending database connection fix when merged laravel/ai [monitor]
References
- [1] Consistent provider key resolution in provider options ↗ laravel/ai
- [2] v1.59.0 ↗ laravel/sail
- [3] Backport 8.5 Dockerfile to 8.4, 8.3, 8.2, 8.1 and 8.0 ↗ laravel/sail
- [4] Pin GitHub Actions to commit SHAs and add Dependabot config ↗ laravel/ai
- [5] Pin GitHub Actions to commit SHAs and add Dependabot config ↗ laravel/agent-skills
- [6] Pin GitHub Actions to commit SHAs and add Dependabot config ↗ laravel/boost
- [7] Pin GitHub Actions to commit SHAs and add Dependabot config ↗ laravel/agent-detector
- [8] Reject blank or non-string embeddings inputs ↗ laravel/ai
- [9] Respect configured database connection in Conversation and ConversationMessage models ↗ laravel/ai
FAQ
- What changed in Laravel on May 14, 2026?
- Laravel's AI package just patched a consistency bug in provider option resolution that was forcing boilerplate code into every provider implementation , while Sail v1.59.0 rolled out unified Dockerfile improvements across five PHP versions in one shot .
- What should Laravel teams do about it?
- Upgrade Laravel Sail to v1.59.0 if you're running PHP 8.0–8.4 to sync Dockerfile improvements • Update Laravel AI and check if you're using custom embeddings to validate against blank/non-string inputs • If using ai.conversations.connection config, update to the pending database connection fix when merged
- Which Laravel repositories shipped on May 14, 2026?
- laravel/ai, laravel/sail, laravel/agent-skills, laravel/boost, laravel/agent-detector