# Apache Airflow 2.8.0 is here

DevFeed: [Apache Airflow 2.8.0 is here](<https://devfeed.tech/articles/apache-airflow-2-8-0-is-here-32538.md>)

Original publisher: [Read original article](<https://airflow.apache.org/blog/airflow-2.8.0/>)

Author: Apache Airflow

Published: 2023-12-15T00:00:00Z

Content type: release

Language: en

Sources: [Apache Airflow Blog](<https://devfeed.tech/sources/apache-airflow-blog.md>)

Topics: [airflow](<https://devfeed.tech/topics/airflow.md>), [Python](<https://devfeed.tech/topics/python.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [Azure](<https://devfeed.tech/topics/azure.md>)

Tags: [apache-airflow](<https://devfeed.tech/tags/apache-airflow.md>), [azure](<https://devfeed.tech/tags/azure.md>), [configure](<https://devfeed.tech/tags/configure.md>), [docker](<https://devfeed.tech/tags/docker.md>), [logs](<https://devfeed.tech/tags/logs.md>), [messages](<https://devfeed.tech/tags/messages.md>), [object-storage](<https://devfeed.tech/tags/object-storage.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [python](<https://devfeed.tech/tags/python.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [s3](<https://devfeed.tech/tags/s3.md>)

## AI overview

Apache Airflow 2.8.0 is a software release that adds experimental object storage abstractions for systems such as S3, GCS, and Azure Blob Storage, integrates messages from other components into task logs, and introduces dataset listener hooks. It also adds extra index URL support for PythonVirtualEnvOperator and its decorator, including caching for additional Python package repositories.

## Source excerpt

I am thrilled to announce the release of Apache Airflow 2.8.0, featuring a host of significant enhancements and new features that will greatly benefit our community. Details: 📦 PyPI: https://pypi.org/project/apache-airflow/2.8.0/ 📚 Docs: https://airflow.apache.org/docs/apache-airflow/2.8.0/ 🛠 Release Notes: https://airflow.apache.org/docs/apache-airflow/2.8.0/release_notes.html 🐳 Docker Image: "docker pull apache/airflow:2.8.0" 🚏 Constraints: https://github.com/apache/airflow/tree/constraints-2.8.0 Airflow Object Storage (AIP-58) This feature is experimental and subject to change. Airflow now offers a generic abstraction layer over various object stores like S3, GCS, and Azure Blob Storage, enabling the use of different storage systems in DAGs without code modification. In addition, it allows you to use most of the standard Python modules, like shutil, that can work with file-like objects. Here is an example of how to use the new feature to open a file: from airflow.io.path import ObjectStoragePath base = ObjectStoragePath("s3://my-bucket/", conn_id="aws_default") # conn_id is optional @task def read_file(path: ObjectStoragePath) -> str: with path.open() as f: return f.read() The above example is just the tip of the iceberg. The new feature allows you to configure an alternative backend for a scheme or protocol. Here is an example of how to configure a custom backend for the dbfs scheme: from airflow.io.path import ObjectStoragePath from airflow.io.store import attach from fsspec.implementations.dbfs import DBFSFileSystem attach(protocol="dbfs", fs=DBFSFileSystem(instance="myinstance", token="mytoken")) base = ObjectStoragePath("dbfs://my-location/") For more information: Airflow Object Storage The support for a specific object storage system depends on the installed providers, with out-of-the-box support for the file scheme. Ship logs from other components to Task logs This feature seamlessly integrates task-related messages from various Airflow components, includi