# Apache Airflow 2.5.0 — Release & Upgrade Intelligence
- **Product:** Apache Airflow (https://airflow.apache.org)
- **Version:** 2.5.0
- **Released:** Dec 02, 2022
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/airflow/updates/2.5.0/

## Executive Summary (TL;DR)
Apache Airflow 2.5.0. Source highlight: ``TaskRunner``: notify of component start and finish (#27855)

## New Features
- ``TaskRunner``: notify of component start and finish (#27855)
- Add DagRun state change to the Listener plugin system(#27113)
- Metric for raw task return codes (#27155)
- Add logic for XComArg to pull specific map indexes (#27771)
- Clear TaskGroup (#26658, #28003)
- Add critical section query duration metric (#27700)

## Improvements
- Allow depth-first execution (#27827)
- UI: Update offset height if data changes (#27865)
- Improve TriggerRuleDep typing and readability (#27810)
- Make views requiring session, keyword only args (#27790)
- Optimize ``TI.xcom_pull()`` with explicit task_ids and map_indexes (#27699)
- Allow hyphens in pod id used by k8s executor (#27737)

## Bug Fixes
- Fix formatting leftovers (#27750)
- Activate debug logging in commands with --verbose option (#27447)
- Fix scheduler ``crashloopbackoff`` when using ``hostname_callable`` (#24999)
- Gracefully handle whole config sections being renamed (#28008)
- Add allow list for imports during deserialization (#27887)
- Soft delete datasets that are no longer referenced in DAG schedules or task outlets (#27828)
