MyGit

2.8.2

apache/airflow

版本发布时间: 2024-02-26 17:14:14

apache/airflow最新发布版本:2.9.0(2024-04-08 20:11:00)

Significant Changes

The allowed_deserialization_classes flag now follows a glob pattern (#36147).

For example if one wants to add the class airflow.tests.custom_class to the allowed_deserialization_classes list, it can be done by writing the full class name (airflow.tests.custom_class) or a pattern such as the ones used in glob search (e.g., airflow.*, airflow.tests.*).

If you currently use a custom regexp path make sure to rewrite it as a glob pattern.

Alternatively, if you still wish to match it as a regexp pattern, add it under the new list allowed_deserialization_classes_regexp instead.

The audit_logs permissions have been updated for heightened security (#37501).

This was done under the policy that we do not want users like Viewer, Ops, and other users apart from Admin to have access to audit_logs. The intention behind this change is to restrict users with less permissions from viewing user details like First Name, Email etc. from the audit_logs when they are not permitted to.

The impact of this change is that the existing users with non admin rights won't be able to view or access the audit_logs, both from the Browse tab or from the DAG run.

AirflowTimeoutError is no longer except by default through Exception (#35653).

The AirflowTimeoutError is now inheriting BaseException instead of AirflowException->Exception. See https://docs.python.org/3/library/exceptions.html#exception-hierarchy

This prevents code catching Exception from accidentally catching AirflowTimeoutError and continuing to run. AirflowTimeoutError is an explicit intent to cancel the task, and should not be caught in attempts to handle the error and return some default value.

Catching AirflowTimeoutError is still possible by explicitly excepting AirflowTimeoutError or BaseException. This is discouraged, as it may allow the code to continue running even after such cancellation requests. Code that previously depended on performing strict cleanup in every situation after catching Exception is advised to use finally blocks or context managers. To perform only the cleanup and then automatically re-raise the exception. See similar considerations about catching KeyboardInterrupt in https://docs.python.org/3/library/exceptions.html#KeyboardInterrupt

Bug Fixes

Miscellaneous

Doc Only Changes

相关地址:原始地址 下载(tar) 下载(zip)

1、 apache-airflow-2.8.2-source.tar.gz 26.54MB

2、 apache-airflow-2.8.2-source.tar.gz.asc 265B

3、 apache-airflow-2.8.2-source.tar.gz.sha512 165B

4、 apache_airflow-2.8.2-py3-none-any.whl 12.65MB

5、 apache_airflow-2.8.2-py3-none-any.whl.asc 265B

6、 apache_airflow-2.8.2-py3-none-any.whl.sha512 168B

7、 apache_airflow-2.8.2.tar.gz 11.78MB

8、 apache_airflow-2.8.2.tar.gz.asc 265B

9、 apache_airflow-2.8.2.tar.gz.sha512 158B

查看:2024-02-26发行的版本