Astro Runtime release notes
Astro Runtime is a Docker image built and published by Astronomer that extends the Apache Airflow project to provide a differentiated data orchestration experience. This document provides a summary of changes made to each available version of Astro Runtime.
To upgrade Astro Runtime, see Upgrade Astro Runtime. For general product release notes, see Astro Release Notes. If you have any questions or a bug to report, contact Astronomer support.
Because Astronomer has separate maintenance life cycles for each major version of Astro Runtime, the same change can be introduced multiple times across major versions, resulting in multiple identical release notes. When a new major version releases, such as Astro Runtime 8.0.0, all changes from previously released versions are included in the new major version.
If you're upgrading to receive a specific change, ensure the release note for the change appears either:
- Within your target major version.
- In any minor or patch version that was released before the first release (
X.0.0
) of your target major version. For example, a change in Astro Runtime 9.9.0, which released January 10 2024, is not guaranteed to appear in Runtime 10.0.0, which released December 8 2023, unless there is a release note for it in a subsequent Runtime 10 patch. However, a change in Astro Runtime 9.6.0, which released November 30 2023, is guaranteed to exist in Runtime 10.0.0 because 9.6.0 was released prior to 10.0.0.
Astro Runtime 12.3.0
- Release date: November 6, 2024
- Airflow version: 2.10.3
Additional improvements
- Introduced a new Red Hat UBI 9 based image option.
- Upgraded the minor and patch versions of several open-source provider packages. See Astro Runtime 12.3.0 provider packages
Astro Runtime 12.2.0
- Release date: October 16, 2024
- Airflow version: 2.10.2
Early access Airflow bug fixes
- Fixed a bug where the executor would not clean up terminated task instances that go too long without a heartbeat #43065
- Fixed a bug that caused
StaleDataError
by using a different session for writing and deleting recent task instance failures #42928
Additional improvements
- Scarf telemetry collected by Airflow is disabled by default.
Astro Runtime 12.1.1
- Release date: September 20, 2024
- Airflow version: 2.10.2
Additional improvements
- Upgraded to Airflow 2.10.2. See Airflow Release Notes for more information.
Astro Runtime 12.1.0
- Release date: September 6, 2024
- Airflow version: 2.10.1
Additional improvements
- Upgraded to Airflow 2.10.1. See Airflow Release Notes for more information.
- Updated the Airflow startup sequence to better isolate DAG authors.
- Upgraded the minor and patch versions of some open-source provider packages. See Astro Runtime 12.1.0 provider packages
Security fixes
- Fixed CVE-2024-45034
- Fixed CVE-2024-45498
Astro Runtime 12.0.0
- Release date: August 16, 2024
- Airflow version: 2.10.0
Airflow 2.10.0
Astro Runtime 12.0.0 includes same-day support for Apache Airflow 2.10, which includes a number of new features and improvements. Airflow 2.10 includes the following changes:
- Adds decorators for task flow (
@skip_if
,@run_if
) to make it easier to apply whether or not to skip a task. - You can now see
TaskInstance
Try History in the Airflow UI - Enable ending the task directly from the triggerer without going into the worker.
- Extended dataset dependencies to support dynamic Dataset Event Emission and Dataset Creation.
- A new object,
DatasetAlias
, is available to support dynamic Dataset Event Emission and Dataset Creation (#40478) - Implement accessors to read dataset events defined as inlet (#39367)
For more information about the major changes in this release, see the Airflow Blog or the Airflow release notes.
Additional improvements
- Updated OS to Debian 12.6 (bookworm)
- Updated Python version to 3.12 in default image
- Upgraded the minor and patch versions of some open-source provider packages. See Astro Runtime 12.0.0 provider packages
Behavior change
- Since Airflow 2.10 uses Python 3.12, some Python modules have reached end of life, like
imp
, that might create errors in your DAGs if you still use them. See Upgrade considerations: Runtime 12 for more information.
Astro Runtime 11.13.0
- Release date: October 31, 2024
- Airflow version: 2.9.3
Additional improvements
- Introduced a new Red Hat UBI 9 based image option.
- Upgraded the minor and patch versions of several open-source provider packages. See Astro Runtime 11.13.0 provider packages
Astro Runtime 11.12.0
- Release date: October 25, 2024
- Airflow version: 2.9.3
Early access Airflow bug fixes
- Revert "Fix: DAGs are not marked as stale if the dags folder change" #42197
- Revert "Handle Example dags case when checking for missing files" #42193
Additional improvements
- Upgraded the minor and patch versions of several open-source provider packages. See Astro Runtime 11.12.0 provider packages
Astro Runtime 11.11.0
- Release date: October 3, 2024
- Airflow version: 2.9.3
Early access Airflow bug fixes
- Fixed a bug in the check served logs logic that caused the UI to show an erroneous 404 error if the user was looking at the logs for a non-running try #41272
- Fixed a bug where clicking on a
run_id
in atask_instance
ordag_run
list incorrectly opened a differentrun_id
#42138
Additional improvements
- Add logging around listener.
- Upgraded the minor and patch versions of several open-source provider packages. See Astro Runtime 11.11.0 provider packages
Astro Runtime 11.10.1
- Release date: September 6, 2024
- Airflow version: 2.9.3
Additional improvements
- Updated the Airflow startup sequence to better isolate DAG authors.
- Included open-source provider packages reference. See Astro Runtime 11.10.1 provider packages
Security fixes
- Fixed CVE-2024-45034
Astro Runtime 11.10.0
- Release date: September 2, 2024
- Airflow version: 2.9.3
Additional improvements
- Upgraded the minor and patch versions of several open-source provider packages. See Astro Runtime 11.10.0 provider packages
Bug fixes
- Resolved a DAG parsing issue where DAGs were not marked as stale if the
AIRFLOW__CORE__DAGS_FOLDER
was changed. (#41433) - LocalTaskJob no longer fails on heartbeat due to temporary database connection losses. (#41704)
Astro Runtime 11.9.0
- Release date: August 15, 2024
- Airflow version: 2.9.3
Additional improvements
- Downgrade
apache-airflow-providers-openlineage
to1.8.0
to prevent scheduler OOM with complex DAGs
Astro Runtime 11.8.0
- Release date: August 9, 2024
- Airflow version: 2.9.3
Additional improvements
- Fixed the Tasks API endpoint for scenarios when a DAG doesn't have a
start_date
(#40878) - Added validation for the project URL that comes from installed providers, before displaying the URL in views (#40933)
- Upgraded the minor and patch versions of some open-source provider packages. See Astro Runtime 11.8.0 provider packages
Astro Runtime 11.7.0
- Release date: July 17, 2024
- Airflow version: 2.9.3
Airflow 2.9.3
Astro Runtime 11.7.0 includes same-day support for Apache Airflow 2.9.3. Airflow 2.9.3 contains a number of bug fixes and new features including:
- The time unit for
scheduled_duration
andqueued_duration
metrics has changed to milliseconds instead of seconds #37936 - Support for OpenTelemetry metrics on Airflow are now considered Stable, and was previously added in Airflow version 2.7.0 as Experimental #40286
For more information, see the Apache Airflow release notes.
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 11.7.0 provider packages
Security fixes
- Fixed CVE-2024-6345
- Fixed CVE-2024-39863
- Fixed CVE-2024-39877
Astro Runtime 11.6.0
- Release date: June 28, 2024
- Airflow version: 2.9.2
Early access Airflow bug fixes
- Fixed a bug where FAB config options, such as
[fab] update_fab_perms
, were not checking for values in the deprecated webserver config section. For example,[webserver] update_fab_perms
(#40317)
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 11.6.0 provider packages
Astro Runtime 11.5.0
- Release date: June 11, 2024
- Airflow version: 2.9.2
Airflow 2.9.2
Astro Runtime 11.5.0 includes same-day support for Apache Airflow 2.9.2. Airflow 2.9.2 contains a number of bug fixes including:
- Resolved a bug where valid DAGs that worked in Airflow 2.8 and had outlet datasets with specific URIs stopped working depending on how the URI was formatted (#39670)
- Resolved an issue where the object storage XCOM backend did not serialize correctly, causing custom XCOM backends to sometimes fail (#39313)
For more information, see the Apache Airflow release notes.
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 11.5.0 provider packages
Security fixes
Astro Runtime 11.4.0
- Release date: May 28, 2024
- Airflow version: 2.9.1
Additional improvements
- Upgraded some OSS providers' minor and patch versions. See Astro Runtime 11.4.0 provider packages
- Added a centralized reference page with all OSS provider package versions listed for each Astro Runtime version. See Provider package reference
Astro Runtime 11.3.0
- Release date: May 6, 2024
- Airflow version: 2.9.1
Early access Airflow bug fixes
- Fixed a bug affecting custom actions in Airflow plugins that prevents users from running an Astro Runtime environment locally for Astro Runtime versions
11.0.0
-11.2.0
. Deployments running these versions on Astro are not affected. To continue using11.0.0
-11.2.0
locally, setAIRFLOW__ASTRONOMER__UPDATE_CHECK_INTERVAL=0
in your Astro project.env
file (#39421)
Additional improvements
- Upgraded some OSS providers' minor and patch versions
Security fixes
Astro Runtime 11.2.0
- Release date: April 26, 2024
- Airflow version: 2.9.0
Due to an issue related to using custom FAB actions in Airflow plugins, you might experience an error when you run this version of Astro Runtime locally using the Astro CLI. To resolve this issue, either upgrade directly to Astro Runtime 11.3.0 or set AIRFLOW__ASTRONOMER__UPDATE_CHECK_INTERVAL=0
in your Astro project .env
file.
Early access Airflow bug fixes
- Fixed a bug where
airflow db migrate
would throw an error (#39246)
Additional improvements
- Added the
apache-airflow-providers-mysql
provider - Upgraded some OSS providers' minor and patch versions
Security fixes
Astro Runtime 11.1.0
- Release date: April 19, 2024
- Airflow version: 2.9.0
Due to an issue related to using custom FAB actions in Airflow plugins, you might experience an error when you run this version of Astro Runtime locally using the Astro CLI. To resolve this issue, either upgrade directly to Astro Runtime 11.3.0 or set AIRFLOW__ASTRONOMER__UPDATE_CHECK_INTERVAL=0
in your Astro project .env
file.
Additional improvements
- Updated
sqlparse
to0.5.0
. - Upgraded Gunicorn to
22.0.0
. - Added functionality for using plugins to generate custom menu items in the Airflow UI. This feature will be fully available on Astro in a future release.
Astro Runtime 11.0.0
- Release date: April 8, 2024
- Airflow version: 2.9.0
Due to an issue related to using custom FAB actions in Airflow plugins, you might experience an error when you run this version of Astro Runtime locally using the Astro CLI. To resolve this issue, either upgrade directly to Astro Runtime 11.3.0 or set AIRFLOW__ASTRONOMER__UPDATE_CHECK_INTERVAL=0
in your Astro project .env
file.
Airflow 2.9.0
Astro Runtime 11.0.0 includes same-day support for Apache Airflow 2.9, which includes a number of new features and improvements. Airflow 2.9 includes the following changes:
- New data-aware scheduling lets you use conditional logic (AND / OR) to schedule DAGs.
- You can now create your own labels for dynamically mapped tasks with templates, which makes it easier to search through mapped task instances.
- External XCom backends can now be configured to use object storage.
- Delivered several significant improvements to the Airflow UI. For example, you can now filter, view, and create datasets through the Airflow UI.
- New Listener API methods are considered stable and suitable for use in production.
- Added the ability to automatically pause a DAG after a pre-defined number of sequentially failed runs.
- Dataset URIs are validated when you enter them, and must conform to the rules set in AIP-60. See the Dataset documentation for more information.
For more information about the major changes in this release, see the Airflow Blog or the Airflow release notes.
Upgrade to Python 3.12
Airflow now supports Python 3.12. However, Pendulum 2 does not support Python 3.12. If you upgrade to Python 3.12 and want to use Airflow, you also need to upgrade to Pendulum 3.
Refer to the Airflow release notes for more information about any limitations in Python 3.12 support.
Bug fixes
- Fixed a bug where after a task failed, and no longer exists in a DAG, you can now still access details about the DAG in the Grid View of the Airflow UI.
- Fixed a bug where Airflow would show
failed_upstream
when a dynamically mapped task wasskipped
. - In the Python task decorator, you can only have
None
as the default parameter for context parameters.
Astro Runtime 10.9.0
- Release date: June 13, 2024
- Airflow version: 2.8.4
Early access Airflow bug fixes
- Fixed an issue where Airflow might accidentally store dynamic content in a cache, possibly storing sensitive data (#39550)
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 10.9.0 provider packages
- Includes
astronomer-providers-logging
version 1.1.5.1
Security fixes
Astro Runtime 10.8.0
- Release date: April 18, 2024
- Airflow version: 2.8.4
Additional improvements
- Added functionality for using plugins to generate custom menu items in the Airflow UI. This feature will be fully available on Astro in a future release.
- Updated
sqlparse
to0.5.0
. - Upgraded Gunicorn to
22.0.0
.
Security fixes
Ignored CVEs
- CVE-2024-34069 The underlying vulnerability of this CVE is only relevant to a small set of use cases and scenarios, such as when hosting Airflow publicly on the internet, and is considered low risk for Astro and Software users. Because the resolution would require significant changes to Airflow and its dependencies, this CVE has not been addressed at this time.
Astro Runtime 10.7.0
- Release date: April 11, 2024
- Airflow version: 2.8.4
Early access Airflow bug fixes
- Load providers configuration when gunicorn workers start (#38795)
- Prevent large objects from being stored in the RTIF (#38094)
- Load
consuming_dags
attr eagerly before dataset listener (#36247) - Add "return" statement to "yield" within a while loop in core triggers (#38389)
- Improve ExternalTaskSensor Async Implementation (#36916)
Security fixes
Astro Runtime 10.6.0
- Release date: March 26, 2024
- Airflow version: 2.8.4
Airflow 2.8.4
Astro Runtime 10.6.0 includes same-day support for Apache Airflow 2.8.4. Airflow 2.8.4 contains a number of bug fixes including:
- Fix the serialization of DAGs with
start_date
in a fixed timezone, which could cause the scheduler to crash (#38139) - Fix a bug where the scheduler heartrate wasn't calculated correctly, the parameter needed to calculate scheduler heartrate has been corrected (#37992)
For more information, see the Apache Airflow release notes.
Additional improvements
- Upgraded
apache-airflow-providers-google
to version10.16.0
Security fixes
Astro Runtime 10.5.0
- Release date: March 11, 2024
- Airflow version: 2.8.3
Airflow 2.8.3
Astro Runtime 10.5.0 includes same-day support for Apache Airflow 2.8.3. Airflow 2.8.3 contains a number of bug fixes including:
- Fix external_executor_id being overwritten (#37784)
- Set parsing context dag_id in dag test command (#37606)
For more information, see the Apache Airflow release notes.
Security fixes
Astro Runtime 10.4.0
- Release date: February 26, 2024
- Airflow version: 2.8.2
Airflow 2.8.2
Astro Runtime 10.4.0 includes same-day support for Apache Airflow 2.8.2. Airflow 2.8.2 contains a number of bug fixes including:
- Base date for fetching DAG grid view must include selected run_id (#34887)
- Change AirflowTaskTimeout to inherit BaseException (#35653)
For more information, see the Apache Airflow release notes.
Security fixes
Astro Runtime 10.3.0
- Release date: February 1, 2024
- Airflow version: 2.8.1
Early access Airflow bug fixes
- Fix bug introduced by replacing spaces by + in run_id (#36877)
- Remove superfluous
@Sentry.enrich_errors
(#37002)
Additional improvements
- Upgraded the Astro SDK to 1.8.0.
Bug fixes
- Fixed an issue where some logging features would not work for DAG runs with spaces in their DAG run IDs.
- Astro Runtime now relies on logic
apache-airflow-providers-openlineage
to determine whether OpenLineage should be enabled or disabled in a given environment, which makes the behavior more consistent between different environments and implementations. - Fixed an issue where
airflow tasks test <dag_id> <task_id>
always generated an error that stated it was unable to find a foreign key for the tableab_user
.
Astro Runtime 10.2.0
- Release date: January 19, 2024
- Airflow version: 2.8.1
Airflow 2.8.1
Astro Runtime 10.2.0 includes same-day support for Apache Airflow 2.8.1. Airflow 2.8.1 contains a number of bug fixes including:
- Fix scheduler exiting with code 0 on exceptions (#36880)
- Fix Callback exception when a removed task is the last one in the task instance list (#36693)
For more information, see the Apache Airflow release notes.
Security fixes
Ignored CVEs
- CVE-2024-25128 This CVE applies to OpenID users only. Attackers can gain unauthorized access to the Airflow UI by impersonating any Airflow user. Note this impacts OpenID only, which is long deprecated, and should not be confused with the more common OpenID Connect (ODIC). This scenario does not apply to Astro Runtime users.
Astro Runtime 10.1.0
- Release date: January 10, 2024
- Airflow version: 2.8.0
Additional improvements
- You can now set
ASTRO_CLOUDWATCH_TASK_LOGS_LOG_GROUP
andASTRO_CLOUDWATCH_TASK_LOGS_GROUP_STREAM
in a Deployment to change the names of the AWS Cloudwatch log groups and streams that Astro uses to organize log events. Create custom names for log streams and groups if you need to set targeted policies for these objects in Cloudwatch, or if you otherwise want to change how task logs are grouped. See Export task logs to AWS Cloudwatch. - To improve scheduler performance, the default value for
AIRFLOW__SCHEDULER__MAX_TIS_PER_QUERY
is now512
.
Astro Runtime 10.0.0
- Release date: December 18, 2023
- Airflow version: 2.8.0
Airflow 2.8
Astro Runtime 10.0.0 includes same-day support for Apache Airflow 2.8, which includes a number of new features and improvements. Most notably, Airflow 2.8 includes the following changes:
- The new object storage features make it easier to work with popular object storage systems like S3 and GCS. You can use new abstract object types to work with files in multiple different object storage systems without writing system-specific code.
- You can now specify extra index URLs in the PythonVirtualEnvOperator, which makes it easier to spin up virtual environments that include private Python packages.
- The Airflow UI Grid view now supports filtering on multiple run states at once so that you can compare runs across states.
For more information about the major changes in this release, see the Airflow blog.
Additional improvements
- When you export logs to Datadog from Astro, you can now filter the logs in Datadog by log type.
Bug fixes
- Fixed an issue in Astro where all Airflow task logs exported to Datadog appeared as
INFO
logs regardless of their actual log type. - Fixed an issue in Astro where logging features could be disrupted if you set
AZURE_CLIENT_ID
as an environment variable. - Fixed an issue where Astro audit logs listed a user's name as
User
for trigger events instead of their IDs.
Astro Runtime 9.19.5
- Release date: October 17, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Backported a fix to solve issues with DAG serialization when the
dags
folder is a symlink. (#42197)
Astro Runtime 9.19.4
- Release date: October 2, 2024
- Airflow version: 2.7.3
Additional improvements
- Add logging around listener.
Astro Runtime 9.19.3
- Release date: September 6, 2024
- Airflow version: 2.7.3
Additional improvements
- Update the Airflow startup sequence to better isolate DAG authors.
- Included open-source provider packages reference. See Astro Runtime 9.19.3 provider packages
Security Fixes
- Fixed CVE-2024-45034
Astro Runtime 9.19.2
- Release date: September 2, 2024
- Airflow version: 2.7.3
Bug fixes
- Resolved a DAG parsing issue where DAGs were not marked as stale if the
AIRFLOW__CORE__DAGS_FOLDER
was changed. (#41433) - LocalTaskJob no longer fails on heartbeat due to temporary database connection losses. (#41704)
Astro Runtime 9.19.1
- Release date: August 21, 2024
- Airflow version: 2.7.3
Additional improvements
- Updated provider packages docs for patch version. See Astro Runtime 9.19.1 provider packages.
Bug fixes
- Fix the BigQueryInsertJobOperator job cancellation issue by requiring
gcloud-aio-bigquery
version 7.1.0 or higher.
Astro Runtime 9.19.0
- Release date: August 15, 2024
- Airflow version: 2.7.3
Additional improvements
- Downgrade
apache-airflow-providers-openlineage
to1.8.0
to prevent scheduler OOM with complex DAGs - Upgraded the minor and patch versions of some open-source provider packages. See Astro Runtime 9.19.0 provider packages.
Astro Runtime 9.18.0
- Release date: August 15, 2024
- Airflow version: 2.7.3
Additional improvements
- If the
Taskinstance
state isskipped
, also skip checkingsubdaglist
(#40578) - Added validation for the project URL that comes from installed providers, before displaying the URL in views (#40933)
- Upgraded the minor and patch versions of some open-source provider packages. See Astro Runtime 9.18.0 provider packages.
Astro Runtime 9.17.0
- Release date: July 18, 2024
- Airflow version: 2.7.3
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 9.17.0 provider packages
Security fixes
- Fixed CVE-2024-6345
Astro Runtime 9.16.0
- Release date: July 10, 2024
- Airflow version: 2.7.3
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 9.16.0 provider packages
Security fixes
- Fixed CVE-2024-39863
- Fixed CVE-2024-39877
Astro Runtime 9.15.0
- Release date: June 12, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Fixed an issue where Airflow might accidentally store dynamic content in a cache, possibly storing sensitive data (#39550)
Additional improvements
- Upgraded the minor and patch versions of some Astro open source provider packages. See Astro Runtime 9.15.0 provider packages
- Includes
astronomer-providers-logging
version 1.1.5.1
Bug fixes
- Fixed a bug where liveness/readiness probes might periodically fail when trying to remove a configuration file that did not exist.
Security fixes
Astro Runtime 9.14.0
- Release date: May 13, 2024
- Airflow version: 2.7.3
Additional improvements
- Added the
apache-airflow-providers-mysql
provider - Upgraded some OSS providers' minor and patch versions
Bug fixes
- Fixed (CVE-2024-30251)
Security fixes
Astro Runtime 9.13.0
- Release date: April 18, 2024
- Airflow version: 2.7.3
Additional improvements
- Added functionality for using plugins to generate custom menu items in the Airflow UI. This feature will be fully available on Astro in a future release.
- Upgraded Gunicorn to
22.0.0
. - Updated the version of
sqlparse
to0.5.0
.
Bug fixes
- Fixed a bug where the Cluster Activity tab was missing from the Airflow UI.
Security fixes
Astro Runtime 9.12.0
- Release date: April 11, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Load providers configuration when gunicorn workers start (#38795)
- Prevent large objects from being stored in the RTIF (#38094)
- Load
consuming_dags
attr eagerly before dataset listener (#36247) - Add "return" statement to "yield" within a while loop in core triggers (#38389)
- Improve ExternalTaskSensor Async Implementation (#36916)
Security fixes
Astro Runtime 9.11.0
- Release date: February 26, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Simplify DAG trigger UI (#34567)
- Hide logical date and run id in trigger UI form (#35284)
- Allow pre-population of trigger form values via URL parameters (#37497)
- Fix regression on trigger form error display on form validation (#37672)
- Revert the sequence of initializing configuration defaults (#37155)
- Bugfix Triggering DAG with parameters is mandatory when show_trigger_form_if_no_params is enabled (#37063)
- Revert "Fix future DagRun rarely triggered by race conditions when max_active_runs reached its upper limit. (#37596)
- Revoking audit_log permission from all users except admin (#37501)
- Check permissions for ImportError (#37468)
Security fixes
Ignored CVEs
- CVE-2024-34069 The underlying vulnerability of this CVE is only relevant to a small set of use cases and scenarios such as when hosting Airflow publicly on the internet, and is considered low risk for Astro and Software users. Because the resolution would require significant changes to Airflow and its dependencies, this CVE has not been addressed at this time.
Astro Runtime 9.10.2
- Release date: April 18, 2024
- Airflow version: 2.7.3
Additional improvements
- Upgraded Gunicorn to
22.0.0
.
Astro Runtime 9.10.1
- Release date: April 16, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Providers now load when Gunicorn workers start (#38795)
- You can now customize the size of objects stored in the rendered
taskinstance
field (#38094) - Fixed an issue where the dataset listener could cause an error by closing the session prematurely (#36247)
- Fixed an issue where core triggers were not exiting a
while
loop as expected (#38389) - Updated the behavior of the asynchornous implementation of
ExternalTaskSensor
to work more similarly to the synchronous implementation(#36916)
Additional Improvements
- Updated the version of
sqlparse
to0.5.0
.
Bug fixes
- Fixed a bug where the Cluster Activity tab was missing from the Airflow UI.
Security fixes
Ignored CVEs
- CVE-2024-25128 This CVE applies to OpenID users only. Attackers can gain unauthorized access to the Airflow UI by impersonating any Airflow user. Note this impacts OpenID only, which is long deprecated, and should not be confused with the more common OpenID Connect (ODIC). This scenario does not apply to Astro Runtime users.
Astro Runtime 9.10.0
- Release date: January 31, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Fix bug introduced by replacing spaces by + in run_id (#36877)
Bug fixes
- Fixed an issue where some logging features would not work for DAG runs with spaces in their DAG run IDs.
- Astro Runtime now relies on logic
apache-airflow-providers-openlineage
to determine whether OpenLineage should be enabled or disabled in a given environment, which makes the behavior more consistent between different environments and implementations. - Fixed an issue where
airflow tasks test <dag_id> <task_id>
always generated an error that stated it was unable to find a foreign key for the tableab_user
.
Astro Runtime 9.9.0
- Release date: January 24, 2024
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Stop deserializing pickle when enable_xcom_pickling is False (#36255)
- Check DAG read permission before accessing DAG code (#36257)
Security fixes
Astro Runtime 9.8.0
- Release date: January 10, 2024
- Airflow version: 2.7.3
Additional improvements
- You can now set
ASTRO_CLOUDWATCH_TASK_LOGS_LOG_GROUP
andASTRO_CLOUDWATCH_TASK_LOGS_GROUP_STREAM
in a Deployment to change the names of the AWS Cloudwatch log groups and streams that Astro uses to organize log events. Create custom names for log streams and groups if you need to set targeted policies for these objects in Cloudwatch, or if you otherwise want to change how task logs are grouped. See Export task logs to AWS Cloudwatch. - To improve scheduler performance, the default value for
AIRFLOW__SCHEDULER__MAX_TIS_PER_QUERY
is now512
.
Bug fixes
- In the Airflow UI for Astro Deployments, the Audit Logs page now shows the Astro user who performed a given action in the Owner column.
Astro Runtime 9.7.0
- Release date: December 22, 2023
- Airflow version: 2.7.3
Early access Airflow bug fixes
- Account for change in UTC offset when calculating next schedule (#35887)
- Fix for infinite recursion due to secrets_masker (#35048)
- Fix updating variables during variable imports (#33932)
- Allow 'airflow variables export' to print to stdout (#33279)
- Check that dag_ids passed in request are consistent (#34366)
- Make raw HTML descriptions configurable (#35460)
- Change Trigger UI to use HTTP POST in web UI (#36026)
Additional improvements
- Upgraded
astronomer-providers
to 1.18.4. See theastronomer-providers
changelog for a complete list of changes. - You can now customize the color of the Airflow UI navigation bar text by setting the
AIRFLOW__NAVBAR_TEXT_COLOR
environment variable.
Bug fixes
- Fixed an issue where task logs on Astro Azure clusters were not encoded properly, resulting in authentication errors.
Security fixes
- CVE-2023-50783
- CVE-2023-49920
- CVE-2023-47265
- CVE-2023-49920
- CVE-2023-50783
- CVE-2023-48291
- CVE-2023-44487
Astro Runtime 9.6.0
- Release date: November 30, 2023
- Airflow version: 2.7.3
Bug fixes
- Upgraded
astronomer-providers
to 1.18.3. See theastronomer-providers
changelog for a complete list of changes. - Fixed an issue where logging defaulted to
latin-1
encoding, causing aUnicodeEncodeError
. The default encoding is now set toutf-8
. - Fixed S3 logging read issues to now use regional endpoint instead of the legacy global endpoint, resolving compatibility problems with 2.x AWS clusters in Astro.
Security fixes
Astro Runtime 9.5.0
- Release date: November 6, 2023
- Airflow version: 2.7.3
Airflow 2.7.3
Astro Runtime 9.5.0 includes same-day support for Apache Airflow 2.7.3. Airflow 2.7.3 contains a number of bug fixes including:
- Fix Scheduler crash looping when DAG run creation fails (#35135)
- Fix pre-mature evaluation of tasks in mapped task group (#34337)
- Add TriggerRule missing value in REST API (#35194)
To learn more, see the Apache Airflow 2.7.3 release notes.
Additional improvements
- You can now customize the color of the Airflow UI navigation bar by setting the
AIRFLOW__WEBSERVER__NAVBAR_COLOR
environment variable.
Security Fixes
Astro Runtime 9.4.0
- Release date: October 23, 2023
- Airflow version: 2.7.2
Additional improvements
- On Astro, you can now export Airflow task logs to AWS Cloudwatch. See Export logs to AWS cloudwatch.
- Upgraded
google-cloud-aiplatform
to 1.35.0. - Upgraded Shapely to 2.0.2.
- Added a link for Astronomer Academy to the Astronomer menu in the Airflow UI.
Bug fixes
- Fixed an issue where the Airflow UI showed an incorrect count for the total number of DAGs.
- Fixed an issue where exporting Airflow task logs from Astro to Datadog could cause workers to not shut down properly after new deploys or scale down events.
Astro Runtime 9.3.0
- Release date: October 19, 2023
- Airflow version: 2.7.2
Additional improvements
- Added support for
get_plugin_info
for class based listeners, such as OpenLineageListener and ClassBasedListener. Previously, support was limited to module based listeners (#35022) - Fixed
/plugin
endpoint in the REST API (#34858) - Upgraded many OSS providers to newer minor and patch versions.
Astro Runtime 9.2.0
- Release date: October 12, 2023
- Airflow version: 2.7.2
Airflow 2.7.2
Astro Runtime 9.2.0 includes same-day support for Apache Airflow 2.7.2. Airflow 2.7.2 contains a number of bug fixes including:
- Check if the lower of provided values are sensitives in config endpoint (#34712)
- Add missing audit logs for Flask actions add, edit and delete (#34090)
- Fix the required permissions to clear a TI from the UI (#34123)
- Fixed a bug where manually-triggered DAG runs were causing the recalculation of when the scheduler would trigger the next DAG run (#34027)
To learn more, see the Apache Airflow 2.7.2 release notes.
Additional Improvements
- On Astro, you can now create custom tags when exporting Airflow task logs to Datadog, which allows you to easily filter, aggregate, and compare data. See Export task logs to Datadog for setup instructions.
Security fixes
Astro Runtime 9.1.0
- Release date: September 7, 2023
- Airflow version: 2.7.1
Airflow 2.7.1
Astro Runtime 9.1.0 includes same-day support for Apache Airflow 2.7.1. Airflow 2.7.1 contains a number of bug fixes including:
- Treat dag-defined access_control as authoritative if defined (#33632)
- Add limit 1 if required first value from query result (#33632)
- Fix MappedTaskGroup tasks not respecting upstream dependency (#33732)
To learn more, see the Apache Airflow 2.7.1 release notes.
Additional improvements
- You can now export task logs to Datadog from Azure and GCP clusters.
- Upgraded
openlineage-airflow
to 1.1.0. See the OpenLineage release notes for a complete list of changes. - Upgraded
astro-sdk-python
to 1.7.0, which adds support for Excel files. See the Astro Python SDK changelog for a complete list of changes.
Security fixes
Astro Runtime 9.0.0
- Release date: August 18, 2023
- Airflow version: 2.7.0
Airflow 2.7
Astro Runtime 9 is based on Airflow 2.7, which includes a number of new features and improvements. Most notably, Airflow 2.7 includes the following changes:
-
In the Airflow UI, the Trigger DAG w/ config button now appears only when a DAG has configured params. Because some teams use this workflow without configuring DAG params, this change has been feature flagged. To revert the change, set the following environment variable in your Dockerfile or as an Astro environment variable:
- Key:
AIRFLOW__WEBSERVER__SHOW_TRIGGER_FORM_IF_NO_PARAMS
- Value:
True
- Key:
-
Setup and teardown tasks are a new type of task that you can use to prepare resources and configurations for specific tasks, ensuring that they always have resources even when you retry failed tasks. See Use setup and teardown tasks in Airflow to learn how to use them.
-
You can now clear task groups or mark them as successful/failed from the Airflow UI Grid View just like individual tasks.
-
You can set
operators.default_deferrable
in your Airflow config to always use the deferrable version of an operator if one is available, which means that you no longer have to update import statements in DAGs to replace traditional operators with deferrable ones.
To learn more, see the Apache Airflow 2.7.0 release notes.
New Python version distributions of Astro Runtime
Each new version of Astro Runtime now has separate distributions for Python 3.8, 3.9. 3.10 and 3.11. Using a Python distribution of Astro Runtime is the easiest way to use a specific Python version in Airflow.
Specify the Python version you want to use in your image tag, formatted as:
quay.io/astronomer/astro-runtime:<runtime-version>-python-<python-version>
For example, to use Python 3.8 in Astro Runtime 9.0.0, you would replace the image tag in your Astro project Dockerfile with quay.io/astronomer/astro-runtime:9.0.0-python-3.8
.
To keep using the same version of Python across multiple Astro Runtime upgrades, Astronomer recommends that you begin to use the Python distribution for your required Python version.
Upgrade to Python 3.11
The base image for Astro Runtime now uses Python 3.11. If you want to use a different version of Python, replace your image with the appropriate Python distribution of Astro Runtime.
Additional improvements
- Upgraded
astronomer-providers
to 1.17.3. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
astro-sdk-python
to 1.6.2. See the Astro Python SDK changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 1.0.0. See the OpenLineage blog for a summary of what's arrived in OpenLineage's first 1.x version.
Bug fixes
- Fixed an issue where you could not set DAG or task notes in the Airflow UI for environments running on Astro.
Security fixes
Astro Runtime 8.10.0
- Release date: October 12, 2023
- Airflow version: 2.6.3
Additional improvements
- Upgraded
astronomer-providers
to 1.18.0. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
astro-sdk-python
to 1.7.0. See the Astro Python SDK changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 1.4.1. See the OpenLineage changelog for a complete list of changes. - Upgraded many OSS providers to newer minor and patch versions.
Astro Runtime 8.9.0
- Release date: August 28, 2023
- Airflow version: 2.6.3
Early access Airflow bug fixes
- Fixed an issue where Airflow incorrectly used
urljoin
to generate the string forlog_url
. (#33063)
Additional improvements
- Upgraded
astronomer-providers
to 1.17.3. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
astro-sdk-python
to 1.6.2. See the Astro Python SDK changelog for a complete list of changes.
Bug fixes
- Fixed an issue where you could not set DAG or task notes in the Airflow UI for environments running on Astro.
- Fixed an issue with trigger logs for Deployments running on AWS.
Astro Runtime 8.8.0
- Release date: July 21, 2023
- Airflow version: 2.6.3
Early access Airflow bug fixes
- Fix bad delete logic for DAG runs (32684).
Additional improvements
- Upgraded a few built-in providers to new minor versions.
Bug fixes
- Upgraded
apache-airflow-providers-microsoft-azure
to 6.2.1. This fixes an issue where Deployments running Astro Runtime 8.7.0 on Azure clusters experienced failures with deferrable operators and task logs. - Fixed DAG deletion permissions in Astro for non-admin users.
Astro Runtime 8.7.0
- Release date: July 11, 2023
- Airflow version: 2.6.3
Airflow 2.6.3
Astro Runtime 8.7.0 includes same-day support for Apache Airflow 2.6.3. Airflow 2.6.3 contains a number of bug fixes including:
- Fix
operator_extra_links
property serialization in mapped tasks (31904) - You can now specify a format for manual
run_id
inputs. Manually enteredrun_ids
must conform with the regex specified in the[scheduler]allowed_run_id_pattern
setting. 32293)
For a complete list of the changes, see the Apache Airflow 2.6.3 release notes.
Additional improvements
- Upgraded
openlineage-airflow
to 0.29.2, which includes support for Spark 3.4. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 8.6.0
- Release date: June 27, 2023
- Airflow version: 2.6.2
Additional improvements
- Upgraded
astronomer-providers
to 1.17.1, which includes enhancements to theS3KeySizeSensorAsync
and some bug fixes. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
apache-airflow-providers-providers-amazon
to 8.2.0.
Astro Runtime 8.5.0
- Release date: June 17, 2023
- Airflow version: 2.6.2
Airflow 2.6.2
Astro Runtime 8.5.0 includes same-day support for Apache Airflow 2.6.2. Airflow 2.6.2 contains a number of bug fixes including:
- Fix Kubernetes executors detection of deleted pods (31274)
- Fix crash when clearing run with task from normal to mapped (31352)
For a complete list of the changes, see the Apache Airflow 2.6.2 release notes.
Additional improvements
- Upgraded
openlineage-airflow
to 0.28.0. See the OpenLineage changelog for a complete list of changes.
Bug fixes
- Fixed an issue where Istio versions were being parsed as Python versions instead of semantic versions, resulting in DAG errors.
Astro Runtime 8.4.0
- Release date: June 2, 2023
- Airflow version: 2.6.1
Early access Airflow bug fixes
- Fixed the scheduler crashing when you cleared a run of a normal task that is now a mapped task (31352).
Additional improvements
- Upgraded
astro-sdk-python
to 1.6.1, which includes support for MySQL and loading data from Azure blob storage to Databricks. See the Astro Python SDK changelog for a complete list of changes. - Upgraded
apache-airflow-providers-cncf-kubernetes
to 7.0.0.
Bug fixes
- Fixed an issue where you could not use the KubernetesPodOperator without setting
AIRFLOW_CONN_KUBERNETES_DEFAULT="kubernetes://
in your environment.
Astro Runtime 8.3.0
- Release date: May 26, 2023
- Airflow version: 2.6.1
Early access Airflow bug fixes
- Fixed a bug to ensure that
min_backoff
in the base sensor is at least1
(31412) - Updated error messaging (31502)
Additional improvements
- Upgraded
astronomer-providers
to 1.16.0. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.26.0. See the OpenLineage changelog for a complete list of changes. - Blocked the ability to pause the Monitoring DAG with the Airflow API. The Monitoring DAG is used by Astronomer to operate your Deployments and should not be paused.
- Added the Datadog provider. See the Astronomer Registry for more information on using the provider.
Astro Runtime 8.2.0
- Release date: May 16, 2023
- Airflow version: 2.6.1
Airflow 2.6.1
Astro Runtime 8.2.0 includes same-day support for Apache Airflow 2.6.1. Airflow 2.6.1 contains a number of bug fixes including:
- Fix timestamp parse failure for Kubernetes executor pod tailing (31175)
- Fix calculation of health check threshold for SchedulerJob (31277)
For a complete list of the changes, see the Apache Airflow 2.6.1 release notes.
Additional improvements
- Upgraded
astronomer-providers
to 1.15.5, which includes bug fixes. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.25.0, which adds support for Spark/Deltamerge into
support. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 8.1.0
- Release date: May 9, 2023
- Airflow version: 2.6.0
Early access Airflow bug fixes
- Ensure the KPO runs pod mutation hooks correctly (31173)
Additional improvements
- Upgraded
astro-sdk
to 1.6, which includes Astro Python SDK support for MySQL. For a complete list of changes, see the Astro SDK changelog.
Astro Runtime 8.0.0
- Release date: April 30, 2023
- Airflow version: 2.6.0
Runtime 8 includes changes that can result in DAGs running differently after upgrading. It also includes a major bug that was subsequently fixed in Runtime 8.1. To use Airflow 2.6, Astronomer recommends upgrading directly to Runtime 8.1. See Runtime upgrade considerations for more information.
Airflow 2.6
Astro Runtime 8 is based on Airflow 2.6, which includes a number of new features and improvements with an emphasis on observability. Most notably, Airflow 2.6 includes the following changes:
- Notifiers are a new class that can be used to send notifications from a DAG to a third party application, such as Slack. This release includes the SlackNotifier, with more notifiers coming in the future.
- A major bug related to zombie tasks has been fixed. The logic for handling stalled tasks has been moved to the scheduler, and any tasks that have been queued for more than
scheduler.task_queued_timeout
are now marked as failed. This prevents a type of zombie task where tasks are stuck in an infinite loop of being scheduled and queued. - You can now view logs for individual triggers in the Airflow UI. Trigger logs tell you when an individual task is sleeping and when it's triggered.
To learn more, see the Apache Airflow 2.6.0 release notes.
Fewer dependencies installed by default
Astro Runtime now includes fewer default dependencies to save on memory usage. The following provider packages are no longer installed by default:
apache-airflow-providers-apache-hive
apache-airflow-providers-apache-livy
apache-airflow-providers-databricks
apache-airflow-providers-dbt-cloud
apache-airflow-providers-microsoft-mssql
apache-airflow-providers-sftp
apache-airflow-providers-snowflake
apache-airflow-providers-ssh
If your DAGs use any of these providers, ensure that the provider packages are listed in your Astro project requirements.txt
file before upgrading.
Upgrade to Python 3.10
Astro Runtime now uses Python 3.10 by default. To continue using Python 3.9, see Python versioning.
Additional improvements
- Upgraded
astronomer-providers
to 1.15.4, which includes a bug fix for a backwards compatibility issue. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.23.0, which includes support for dbt snapshots and support for parsing additional SQL commands. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 7.6.0
- Release date: June 13, 2023
- Airflow version: 2.5.3
Early access Airflow bug fixes
- Mark
[secrets] backend_kwargs
as a sensitive config (31788)
Additional Improvements
- Upgraded
openlineage-airflow
to 0.27.2. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 7.5.0
- Release date: May 29, 2023
- Airflow version: 2.5.3
Early access Airflow bug fixes
- Fixed a bug to ensure that
min_backoff
in the base sensor is at least1
(31412) - Updated error messaging (31502)
Additional Improvements
- Upgraded
astronomer-providers
to 1.16.0. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
astro-sdk-python
to 1.6.1, which includes support for MySQL and loading data from Azure blob storage to Databricks. See the Astro Python SDK changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.26.0. See the OpenLineage changelog for a complete list of changes. - Blocked the ability to pause the Monitoring DAG with the Airflow API. The Monitoring DAG is used by Astronomer to operate your Deployments and should not be paused.
Astro Runtime 7.4.3
- Release date: April 28, 2023
- Airflow version: 2.5.3
Early access Airflow bug fixes
- Fix KubernetesExecutor sending state to scheduler (30872)
Additional improvements
- Upgraded
astronomer-providers
to 1.15.4, which includes a bug fix for a backwards compatibility issue. See theastronomer-providers
changelog for a complete list of changes.
Astro Runtime 7.4.2
- Release date: April 1, 2023
- Airflow version: 2.5.3
Airflow 2.5.3
Astro Runtime 7.4.2 includes same-day support for Apache Airflow 2.5.3. Airflow 2.5.3 contains a number of bug fixes including:
- Fix
TriggerRuleDep
when the mapped tasks count is 0 (30084) - Fix some long known Graph View UI problems (29971)
For a complete list of the changes, see the Apache Airflow 2.5.3 release notes.
Additional improvements
- When using Runtime in an Astronomer Software installation, OpenLineage and the Astronomer monitoring DAG are now disabled. OpenLineage can be re-enabled in your Deployment by setting the
OPENLINEAGE_URL
environment variable, or by setting theOPENLINEAGE_DISABLED=False
environment variable. - Upgraded
astronomer-providers
to 1.15.2, which includes several bug fixes. See theastronomer-providers
changelog for a complete list of changes.
Astro Runtime 7.4.1
- Release date: March 17, 2023
- Airflow version: 2.5.2
Early access Airflow bug fixes
- Ensure that
dag.partial_subset
doesn't mutate task group properties (30129) - Revert fix for on_failure_callback when task receives a SIGTERM (30165)
Astro Runtime 7.4.0
- Release date: March 15, 2023
- Airflow version: 2.5.2
Airflow 2.5.2
Astro Runtime 7.2.0 includes same-day support for Apache Airflow 2.5.2. Airflow 2.5.2 contains a number of bug fixes including:
- Fix validation of date-time field in API and Parameter schemas (29395)
- DAG list sorting lost when switching page (29756)
For a complete list of the changes, see the Apache Airflow 2.5.2 release notes.
Additional improvements
- Upgraded
astro-sdk-python
to 1.5.3, which includes Openlineage facets for Microsoft SQL server and restores some pandas load option classes. See the Astro Python SDK changelog for a complete list of changes. - Upgraded
astronomer-providers
to 1.15.1, which includes a new async sensorSnowflakeSensorAsync
and a number of bug fixes. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.21.1, which includes support for capturing custom environment variables from Spark and a number of bug fixes. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 7.3.0
- Release date: February 14, 2023
- Airflow version: 2.5.1
Early access Airflow bug fixes
- Use time not tries for queued & running re-checks (28586)
Additional improvements
-
Installed the following OS-level packages to support the Astro Python SDK MSSQL integration:
postgresql-client
freetds-dev
libssl-dev
libkrb5-dev
-
Upgraded
astro-sdk-python
to 1.5.0, which includes support for Microsoft SQL and DuckDB. See the Astro Python SDK changelog for a complete list of changes. -
Upgraded
openlineage-airflow
to 0.20.4, which includes a new extractor for the GCSToGCSOperator. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 7.2.0
- Release date: January 20, 2023
- Airflow version: 2.5.1
Airflow 2.5.1
Astro Runtime 7.2.0 includes same-day support for Apache Airflow 2.5.1. Airflow 2.5.1 contains a number of bug fixes including:
- Return list of tasks that will be queued (28066)
- Fix masking of non-sensitive environment variables (28802)
For a complete list of the changes, see the Apache Airflow 2.5.1 release notes.
The Astro Python SDK is now included with Astro Runtime
Astro Runtime now includes the Astro Python SDK, an open source tool and Python package (astro-sdk-python
) for DAG development that is built and maintained by Astronomer. With Astro Runtime versions 7.2.0 and later, you don't have to add the Astro Python SDK to your Astro project to use it.
To learn more about the Astro Python SDK, see Astro Python SDK ReadTheDocs and The Astro Python SDK Tutorial for ETL.
Early access Airflow bug fixes
In anticipation of future support for the Kubernetes executor on Astro, Astro Runtime includes the following bug fixes from Airflow 2.5.2:
- Be more selective when adopting pods with KubernetesExecutor (28899)
- KubernetesExecutor sends state even when successful (28871)
- Annotate KubeExecutor pods that we don't delete (28844)
Additional improvements
- Upgraded
astronomer-providers
to 1.14.0, which includes support for using a role Amazon Resource Name (ARN) withAwsBaseHookAsync
. See the Astronomer Providers changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.19.2, which includes new support for Airflow operators like theS3FileTransformOperator
and additional facets for task runs. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 7.1.0
- Release date: December 21, 2022
- Airflow version: 2.5.0
Additional improvements
- Upgraded
astronomer-providers
to 1.13.0, which includes a collection of minor enhancements and bug fixes. See theastronomer-providers
changelog. - Upgraded
openlineage-airflow
to 0.18.0, which includes new support for Airflow operators like theSQLExecuteQueryOperator
. See the OpenLineage changelog for more information. - Upgraded
apache-airflow-providers-microsoft-azure
to 5.0.1, which includes a bug fix to revertoffset
andlength
to be optional arguments. - Upgraded
certifi
to 2022.12.7. - Airflow environments hosted on Astro now include a Back to Astro button in the Airflow UI. Use this button to return to the Deployment hosting the Airflow environment in the Astro UI.
Astro Runtime 7.0.0
- Release date: December 2, 2022
- Airflow version: 2.5.0
Airflow 2.5.0
Astro Runtime 7.0.0 includes same-day support for Airflow 2.5.0, which includes a collection of new features, bug fixes, automatic changes, and deprecations. Features include:
- Add comments to task instances and DAG runs in the Airflow UI (#26457)
- Clear all task instances in a task group with one click in the Airflow UI (#26658), #28003)
- Trigger a task when at least one upstream tasks is successful with new
one_done
trigger rule #26146 - New Parsed at metric in the DAG view of the Airflow UI #27573
- Filter datasets in Airflow UI based on recent update events #26942
To learn more, see What's New in Apache Airflow 2.5 and the Apache Airflow 2.5.0 release notes.
Additional improvements
- In the Airflow UI for Astro Deployments, the Audit Logs page now shows the Astro user who performed a given action in the Owner column.
- Upgraded
astronomer-providers
to 1.11.2, which includes a collection of bug fixes. See theastronomer-providers
changelog. - Upgraded
openlineage-airflow
to 0.17.0, which includes improvements to the OpenLineage spark integration and additional facets for the OpenLineage Python client. See the OpenLineage changelog for more information.
Astro Runtime 6.10.0
- Release date: February 28, 2024
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Account for change in UTC offset when calculating next schedule (#35887)
- Fix Scheduler crash when clear a previous run of a normal task that is now a mapped task. (#31352)
- Revoking audit_log permission from all users except admin (#37501)
- Check permissions for ImportError (#37468)
Astro Runtime 6.9.2
- Release date: January 24, 2024
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Stop deserializing pickle when enable_xcom_pickling is False (#36255)
- Check DAG read permission before accessing DAG code (#36257)
Astro Runtime 6.9.1
- Release date: January 9, 2024
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Account for change in UTC offset when calculating next schedule (35887)
- Fix scheduler crash when you clear a previous run of a normal task that is now a mapped task (31352)
Astro Runtime 6.9.0
- Release date: December 22, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Check for DAG ID in query param from url as well as kwargs (32014)
- Check that dag_ids passed in request are consistent (34366)
- Fix updating variables during variable imports (33932)
Astro Runtime 6.8.0
- Release date: November 24, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Use pyarrow-hotfix to mitigate CVE-2023-47248 (35650)
- Fix Scheduler crash looping when dagrun creation fails (35135)
Astro Runtime 6.7.0
- Release date: October 12, 2023
- Airflow version: 2.4.3
Airflow bug fixes
- Listener: Simplify API by replacing SQLAlchemy event-listening by direct calls (29289)
- Listener: Move success hook to after SQLAlchemy commit (32988)
- Fixed bug when updating DagRun state for paused DAGs
- Fixed permissions for triggerer, datasets, and deleting DAGs on Astro with a non-Admin user
Additional Improvements
- Upgraded
openlineage-airflow
to 1.4.1. See the OpenLineage changelog for a complete list of changes. - Upgraded many OSS providers to newer minor and patch versions.
Astro Runtime 6.6.0
- Release date: June 13, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Mark
[secrets] backend_kwargs
as a sensitive config (31788)
Additional Improvements
- Upgraded
openlineage-airflow
to 0.27.2. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 6.5.0
- Release date: May 29, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Updated error messaging (31502)
Additional Improvements
- Upgraded
astronomer-providers
to 1.16.0. See theastronomer-providers
changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.26.0. See the OpenLineage changelog for a complete list of changes. - Blocked the ability to pause the Monitoring DAG with the Airflow API. The Monitoring DAG is used by Astronomer to operate your Deployments and should not be paused.
Astro Runtime 6.4.0
- Release date: March 23, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Ensure that
dag.partial_subset
doesn't mutate task group properties (#30129) - redirect to the origin page with all the params (#29212)
- datasets, next_run_datasets, remove unnecessary timestamp filter (#29441)
Additional improvements
- Upgraded
astronomer-providers
to 1.15.1, which includes a collection of bug fixes and a new async sensorSnowflakeSensorAsync
. See theastronomer-providers
changelog for a complete list of changes.. - Upgraded
openlineage-airflow
to 0.21.1, which includes a collection of bug fixes. See the OpenLineage changelog for a complete list of changes. - When using Runtime in an Astronomer Software installation, OpenLineage and the Astronomer monitoring DAG are now disabled. OpenLineage can be re-enabled in your Deployment by setting the
OPENLINEAGE_URL
environment variable, or by setting theOPENLINEAGE_DISABLED=False
environment variable.
Astro Runtime 6.3.0
- Release date: February 14, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Use time not tries for queued & running re-checks (28586)
Additional improvements
- Upgraded
openlineage-airflow
to 0.20.4, which includes a new extractor for the GCSToGCSOperator. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 6.2.1
- Release date: January 26, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
In anticipation of future support for the Kubernetes executor on Astro, Astro Runtime includes the following bug fixes from Apache Airflow:
- Annotate KubernetesExecutor pods that we don’t delete (28844)
Astro Runtime 6.2.0
- Release date: January 26, 2023
- Airflow version: 2.4.3
Early access Airflow bug fixes
In anticipation of future support for the Kubernetes executor on Astro, Astro Runtime includes the following bug fixes from Apache Airflow:
- Fix bad pods pickled in executor_config (28454)
- Be more selective when adopting pods with KubernetesExecutor (28899)
- Only patch single label when adopting pod (28776)
Additional improvements
- Upgraded
astronomer-providers
to 1.14.0, which includes support for using a role ARN withAwsBaseHookAsync
. See the Astronomer Providers changelog for a complete list of changes. - Upgraded
openlineage-airflow
to 0.19.2, which includes new support for Airflow operators such as theS3FileTransformOperator
and additional facets for task runs. See the OpenLineage changelog for a complete list of changes.
Astro Runtime 6.1.0
- Release date: December 21, 2022
- Airflow version: 2.4.3
Early access Airflow bug fixes
- Make DagRun state updates for paused DAGs faster (#27725)
- Fix deadlock when chaining multiple empty mapped tasks (#27964)
Additional improvements
- Upgraded
astronomer-providers
to 1.13.0, which includes a collection of minor enhancements and bug fixes. See theastronomer-providers
changelog. - Upgraded
openlineage-airflow
to 0.18.0, which includes new support for Airflow operators like theSQLExecuteQueryOperator
. See the OpenLineage changelog for more information. - Upgraded
apache-airflow-providers-microsoft-azure
to 5.0.1, which includes a bug fix to revertoffset
andlength
to be optional arguments. - You can now run Astro Runtime images on Red Hat OpenShift.
- In the Airflow UI for Astro Deployments, the Audit Logs page now shows the Astro user who performed a given action in the Owner column.
- Airflow environments hosted on Astro now include a Back to Astro button in the Airflow UI. Use this button to return to the Deployment hosting the Airflow environment in the Astro UI.
- You can now add comments to the
packages.txt
file of an Astro project.
Astro Runtime 6.0.4
- Release date: November 14, 2022
- Airflow version: 2.4.3
ARM64-based images for faster local development with Apple M1
To deploy a project using Astro Runtime 6.0.4 or later from an Apple M1 computer to Astro, you must use Astro CLI version 1.4.0 or later or else the deploy will fail. See Install the Astro CLI.
Astro Runtime images now support both AMD64 and ARM64 processor architectures for local development. When you install Astro Runtime 6.0.4 or later, Docker automatically runs the correct architecture based on the computer you're using.
If you run the Astro CLI on a Mac computer that uses an ARM-based Apple M1 Silicon chip, you will see a significant performance improvement when running Airflow locally. For example, the time it takes to run astro dev start
on average has decreased from over 5 minutes to less than 2 minutes.
For more information on developing locally with the Astro CLI, see Develop a Project.
Airflow 2.4.3
Astro Runtime 6.0.4 includes same-day support for Airflow 2.4.3, which includes a collection of bug fixes. Fixes include:
- Make
RotatingFilehandler
used inDagProcessor
non-caching (27223) - Fix double logging with some task logging handler (27591)
For a complete list of the changes, see the Apache Airflow 2.4.3 release notes.
Additional improvements
- Upgraded
openlineage-airflow
to 0.16.1. This release includes theDefaultExtractor
, which allows you to extract the default available OpenLineage data for external operators without needing to write a custom extractor. See the OpenLineage changelog for more information. - Upgraded
astronomer-providers
to 1.11.1, which includes bug fixes. For a complete list of the changes, see the Astronomer Providers changelog.
Astro Runtime 6.0.3
- Release date: October 24, 2022
- Airflow version: 2.4.2
Airflow 2.4.2
Astro Runtime 6.0.3 includes same-day support for Airflow 2.4.2. Some changes in Airflow 2.4.2 include:
For a complete list of commits, see the Apache Airflow 2.4.2 release notes.
Additional improvements
- Upgraded
openlineage-airflow
to 0.15.1, which includes a dedicated Airflow development environment. You can now create and test changes to custom OpenLineage extractors in an Airflow environment without needing to rebuild your Docker images. For more information, see the OpenLineage changelog.
Astro Runtime 6.0.2
- Release date: September 30, 2022
- Airflow version: 2.4.1
Airflow 2.4.1
Astro Runtime 6.0.2 includes same-day support for Airflow 2.4.1, which includes a collection of bug fixes. Fixes include:
- Fix Deferrable stuck as scheduled during backfill (#26205)
- Don't update backfill run from the scheduler (#26342)
For a complete list of commits, see the Apache Airflow 2.4.1 release notes.
Early access Airflow bug fixes
Astro Runtime 6.0.2 includes the following bug fixes from Apache Airflow 2.4.2:
- Remove DAG parsing from StandardTaskRunner (#26750)
- Fix airflow tasks run --local when dags_folder differs from that of processor (#26509)
- Add fixture for CLI tests requiring sample dags (#26536)
Additional improvements
- Upgraded
astronomer-providers
to 1.10.0, which includesSFTPSensorAsync
andExternalDeploymentTaskSensorAsync
as new deferrable operators. For a complete list of changes, see the Astronomer Providers changelog.
Astro Runtime 6.0.1
- Release date: September 26, 2022
- Airflow version: 2.4.0
Bug fixes
- Fixed an issue where Astro users could not access task logs on Deployments using Runtime 6.0.0
- Backported a fix to correct an issue where logs were not loading from Celery workers (#26493)
- Fixed CVE-2022-40674
Astro Runtime 6.0.0
- Release date: September 19, 2022
- Airflow version: 2.4.0
Airflow 2.4 and data-aware scheduling
Astro Runtime 6.0.0 provides same-day support for Airflow 2.4.0, which delivers significant new features for DAG scheduling. The most notable new features in Airflow 2.4.0 are:
- Data-aware scheduling, which is a new method for scheduling a DAG based on when an upstream DAG modifies a specific dataset.
- The ExternalPythonOperator, which can execute Python code in a virtual environment with different Python libraries and dependencies than your core Airflow environment.
- Automatic DAG registration. You no longer need to specify
as dag
when defining a DAG object. - Support for zipping dynamically mapped tasks.
For a complete list of commits, see the Apache Airflow 2.4.0 release notes.
Additional improvements
- Upgraded
astronomer-providers
to 1.9.0, which includes two new deferrable versions of the operators from the dbt provider package. See the Astronomer Providers changelog. - Upgraded
openlineage-airflow
to version0.14.1
. See the OpenLineage changelog.
Astro Runtime 5.5.0
- Release date: November 27, 2023
- Airflow version: 2.3.4
Early access Airflow bug fixes
- Listener: Set task on sqlalchemy taskinstance object (27167)
- Listener: Simplify API by replacing SQLAlchemy event-listening by direct calls (29289)
- Listener: move success hook to after SQLAlchemy commit (32988)
- Use pyarrow-hotfix to mitigate CVE-2023-47248 (35650)
- Fix Scheduler crash looping when dagrun creation fails (35135)
Bug fixes
- Blocked the ability to pause the Monitoring DAG with the Airflow API. The Monitoring DAG is used by Astronomer to operate your Deployments and should not be paused.
Astro Runtime 5.4.0
- Release date: March 23, 2023
- Airflow version: 2.3.4
Early access Airflow bug fixes
- Ensure that
dag.partial_subset
doesn't mutate task group properties (#30129)
Additional improvements
- Upgraded
astronomer-providers
to 1.15.1, which includes a collection of bug fixes and a new async sensorSnowflakeSensorAsync
. See theastronomer-providers
changelog for a complete list of changes.. - Upgraded
openlineage-airflow
to 0.21.1, which includes a collection of bug fixes. See the OpenLineage changelog for a complete list of changes. - When using Runtime in an Astronomer Software installation, OpenLineage and the Astronomer monitoring DAG are now disabled. OpenLineage can be re-enabled in your Deployment by setting the
OPENLINEAGE_URL
environment variable, or by setting theOPENLINEAGE_DISABLE=False
environment variable.
Astro Runtime 5.3.0
- Release date: February 14, 2023
- Airflow version: 2.3.4
Early access Airflow bug fixes
- Use time not tries for queued & running re-checks (28586)