# Astro astro@5.12.1 — Release & Upgrade Intelligence
- **Product:** Astro (https://astro.build)
- **Version:** astro@5.12.1
- **Released:** Jul 21, 2025
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/astro/updates/astro-5.12.1/

## Executive Summary (TL;DR)
Astro astro@5.12.1. Source highlight: Correct types to allow `priority` on all images

## Bug Fixes
- Correct types to allow `priority` on all images
- Fixes a bug that caused a type error when defining session options without a driver
- Fixes an issue where Astro's default 404 route would incorrectly match routes containing "/404" in dev
- Fixes a case where `astro:env` would not load the right environments variables in dev
- Improves error handling in live collections
- Fixes a bug that caused some image service builds to fail

## Upgrade Command
```bash
npm install --save-exact astro@5.12.1
```
