This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a change to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
from e61cb8fa41 Apply PROVIDE_PROJECT_ID mypy workaround across Google
provider (#39129)
new 1d40343286 Fix typo with DatasetOrTimeSchedule as it was renamed
(#38576)
new 70d31c0977 Raise deprecated warning in `airflow dags backfill` only if
`-I`/`--ignore-first-depends-on-past` provided (#38676)
new c501d3a1f6 Use `methodtools.lru_cache` instead of
`functools.lru_cache` in class methods (#37757)
new 83e7dec335 Improve audit log events filter (#38719)
new 16256a2514 Bump undici from 5.28.3 to 5.28.4 in /airflow/www (#38751)
new c6c589f5a4 Use async db calls in WorkflowTrigger (#38689)
new 6d36c80d0b Fix 'use case' spelling (#38817)
new a0249d4a9e Remove decorator from rendering fields example (#38827)
new 3b84410342 Update version added field in config.yml (#38840)
new 672f8ad02a Remove a couple items from the 2.9.0 changelog (#38866)
new 84b76e02fc Fix dag run link params (#38873)
new 72b2ec0ea4 Fix typo in templates-ref.rst (#38865)
new 1725139a42 Fix problem that links in legacy log view can not be
clicked (#38882)
new 2659704629 Fix implicit cartessian product in AirflowSecurityManagerV2
(#38913)
new e9986043a1 Limit redis image to 7.2 in sample docker-compose.yaml
(#38938)
new df37d60d49 Fix `SAWarning` 'Coercing Subquery object into a select()
for use in IN()' (#38926)
new 39dd593027 Fix dag run selection (#38941)
new 2e25153a52 (external_task.py): changed the background color of
external task in graph (#38969)
new b35f67dc4c Fix calendar view with no DAG Run. (#38964)
new 5c6736daeb Don't wait for DagRun lock in mini scheduler (#38914)
new 1f70db4794 Use debug level for minischeduler skip (#38976)
new adfabe897b Add in Trove classifiers Python 3.12 support (#39004)
new 82a1b6abde Add `inherit_cache` attribute for `CreateTableAs` custom SA
Clause (#38985)
new d6e397fe11 Correcting an example taskflow example (#39015)
new 083a781d1f Undeprecate `BaseXCom.get_one` method for now (#38991)
new 3487fccfe2 Bugfix: Move rendering of `map_index_template` so it
renders for failed tasks as long as it was defined before the point of failure
(#38902)
new 983ab58769 Check whether `AUTH_ROLE_PUBLIC` is set in
`check_authentication` (#39012)
new 394821f47a Hostname was "redacted", not "redact"; remove it when there
is no context (#39037)
new 2970e35e1d Fix doc redirects (#39039)
new 672d47ebf0 [docs] update `DagBag` class docstring to include all
params (#38814)
new 0602de2222 Data aware scheduling docs edits (#38687)
new ed4cd93eca update document (#39068)
new 5fcf36cc65 Check that the dataset<>task exists before trying to render
graph (#39069)
new 7cd476ed50 Graph view improvements (#38940)
new 6cee9b0d56 Improve rendered_template ux in react dag page (#39122)
new 2091072167 Improve task filtering UX (#39119)
new fd0226e068 Add k8s 1.29 to supported version in docs (#39168)
new 092ceaed55 Update `is_authorized_custom_view` from auth manager to
handle custom actions (#39167)
new 8e458d979e Add warning about run/import Airflow under the Windows
(#39196)
new c5836745e8 Add link to `user` and `role` commands (#39224)
new 7cd311dc78 Use grid view for Task Instance's `log_url` (#39183)
new 899d4e8587 Fixed side effect of menu filtering causing disappearing
menus (#39229)
new f299149da4 doc: dynamictaskmapping pythonoperator op_kwargs (#39242)
new 505ecd9538 Get served logs when remote or executor logs not available
for non-running task try (#39177)
new d2ae8c9755 Force to use Airflow Deprecation warnings categories on
`@deprecated` decorator (#39205)
new df9db0cb15 Add Grid button to Task Instance view (#39223)
new d5d8b588f7 Add workaround for datetime-local input in firefox (#39261)
new c9cc72608d Fix trigger kwarg encryption migration (#39246)
The 48 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.pre-commit-config.yaml | 14 ++
RELEASE_NOTES.rst | 2 -
airflow/__init__.py | 16 +-
airflow/api/common/experimental/get_code.py | 6 +-
.../api/common/experimental/get_dag_run_state.py | 3 +-
airflow/api/common/experimental/get_task.py | 3 +-
.../api/common/experimental/get_task_instance.py | 4 +-
airflow/api/common/experimental/pool.py | 10 +-
.../endpoints/import_error_endpoint.py | 8 +-
airflow/api_connexion/security.py | 6 +
airflow/auth/managers/base_auth_manager.py | 21 ++-
airflow/auth/managers/fab/fab_auth_manager.py | 5 +-
.../auth/managers/fab/security_manager/override.py | 4 +-
airflow/cli/commands/dag_command.py | 13 +-
airflow/compat/functools.pyi | 27 ---
airflow/config_templates/config.yml | 2 +-
.../0140_2_9_0_update_trigger_kwargs_type.py | 46 ++++-
airflow/models/abstractoperator.py | 4 +-
airflow/models/dagbag.py | 5 +
airflow/models/mappedoperator.py | 8 +-
airflow/models/taskinstance.py | 38 ++--
airflow/models/trigger.py | 10 +-
airflow/models/xcom.py | 2 -
.../amazon/aws/auth_manager/avp/entities.py | 2 +-
.../amazon/aws/auth_manager/avp/facade.py | 7 +-
.../amazon/aws/auth_manager/aws_auth_manager.py | 2 +-
.../providers/fab/auth_manager/fab_auth_manager.py | 7 +-
airflow/reproducible_build.yaml | 4 +-
airflow/sensors/external_task.py | 4 +-
airflow/triggers/external_task.py | 46 ++---
airflow/utils/db.py | 39 -----
airflow/utils/db_cleanup.py | 6 +-
airflow/utils/log/file_task_handler.py | 12 +-
airflow/utils/task_group.py | 9 +-
airflow/utils/weight_rule.py | 4 +-
airflow/www/auth.py | 6 +-
airflow/www/security.py | 4 +-
airflow/www/security_manager.py | 8 +-
airflow/www/static/js/api/useGridData.ts | 32 +++-
.../static/js/cluster-activity/nav/FilterBar.tsx | 9 +-
airflow/www/static/js/components/DateTimeInput.tsx | 84 +++++++++
airflow/www/static/js/dag/Main.tsx | 14 +-
airflow/www/static/js/dag/TaskName.tsx | 1 -
airflow/www/static/js/dag/details/AuditLog.tsx | 73 ++++----
airflow/www/static/js/dag/details/FilterTasks.tsx | 76 +++++---
airflow/www/static/js/dag/details/Header.tsx | 13 +-
airflow/www/static/js/dag/details/dag/Calendar.tsx | 6 +-
.../www/static/js/dag/details/graph/DagNode.tsx | 34 ++--
airflow/www/static/js/dag/details/graph/index.tsx | 15 +-
airflow/www/static/js/dag/details/index.tsx | 2 +-
.../static/js/dag/details/taskInstance/Details.tsx | 59 ++++---
.../js/dag/details/taskInstance/Logs/utils.ts | 1 +
.../www/static/js/dag/details/taskInstance/Nav.tsx | 10 +-
airflow/www/static/js/dag/grid/renderTaskRows.tsx | 5 -
airflow/www/static/js/dag/nav/FilterBar.tsx | 6 +-
airflow/www/static/js/dag/useFilters.tsx | 1 +
airflow/www/static/js/dag/useSelection.ts | 7 -
airflow/www/static/js/ti_log.js | 8 +-
airflow/www/static/js/types/index.ts | 1 +
airflow/www/static/js/utils/graph.ts | 11 +-
airflow/www/templates/airflow/dag.html | 2 +-
airflow/www/templates/airflow/task_instance.html | 3 +
airflow/www/utils.py | 4 +-
airflow/www/views.py | 48 ++---
airflow/www/yarn.lock | 6 +-
clients/python/pyproject.toml | 1 +
contributing-docs/08_static_code_checks.rst | 4 +
dev/breeze/doc/images/output_static-checks.svg | 152 ++++++++--------
dev/breeze/doc/images/output_static-checks.txt | 2 +-
dev/breeze/src/airflow_breeze/pre_commit_ids.py | 2 +
.../authoring-and-scheduling/datasets.rst | 65 ++++---
.../dynamic-task-mapping.rst | 18 ++
docs/apache-airflow/cli-and-env-variables-ref.rst | 1 +
docs/apache-airflow/core-concepts/operators.rst | 2 +-
docs/apache-airflow/extra-packages-ref.rst | 4 +-
.../howto/docker-compose/docker-compose.yaml | 4 +-
docs/apache-airflow/img/airflow_erd.sha256 | 2 +-
docs/apache-airflow/img/airflow_erd.svg | 4 +-
docs/apache-airflow/installation/prerequisites.rst | 2 +-
docs/apache-airflow/migrations-ref.rst | 2 +-
docs/apache-airflow/redirects.txt | 15 +-
docs/apache-airflow/templates-ref.rst | 2 +-
docs/apache-airflow/tutorial/taskflow.rst | 1 +
docs/conf.py | 2 +-
hatch_build.py | 1 +
pyproject.toml | 8 +-
scripts/ci/pre_commit/check_deprecations.py | 194 +++++++++++++++++++++
scripts/ci/pre_commit/compat_cache_on_methods.py | 69 ++++++++
tests/api_connexion/conftest.py | 15 +-
.../endpoints/test_config_endpoint.py | 22 +++
.../endpoints/test_connection_endpoint.py | 89 ++++++++++
tests/api_connexion/endpoints/test_dag_endpoint.py | 99 +++++++++++
.../endpoints/test_dag_run_endpoint.py | 185 ++++++++++++++++++++
.../endpoints/test_dag_source_endpoint.py | 16 ++
.../endpoints/test_dag_warning_endpoint.py | 12 ++
.../endpoints/test_dataset_endpoint.py | 186 +++++++++++++++++++-
.../endpoints/test_event_log_endpoint.py | 44 +++++
.../auth/backend/test_basic_auth.py | 6 +-
tests/auth/managers/test_base_auth_manager.py | 42 ++++-
tests/cli/commands/test_dag_command.py | 35 ++--
tests/models/test_mappedoperator.py | 29 +++
tests/models/test_taskinstance.py | 9 +-
tests/models/test_trigger.py | 17 ++
.../test_role_and_permission_endpoint.py | 63 +++++++
tests/providers/fab/auth_manager/conftest.py | 15 +-
.../fab/auth_manager/test_fab_auth_manager.py | 13 +-
tests/providers/smtp/notifications/test_smtp.py | 2 +-
tests/triggers/test_external_task.py | 153 ++++++++++------
tests/utils/test_log_handlers.py | 14 +-
tests/www/views/test_views_tasks.py | 20 +++
110 files changed, 2002 insertions(+), 589 deletions(-)
delete mode 100644 airflow/compat/functools.pyi
create mode 100644 airflow/www/static/js/components/DateTimeInput.tsx
create mode 100755 scripts/ci/pre_commit/check_deprecations.py
create mode 100755 scripts/ci/pre_commit/compat_cache_on_methods.py