You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/10/20 07:28:36 UTC
[airflow] branch v2-4-stable updated (7b979def75 -> febf35500d)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a change to branch v2-4-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 7b979def75 Add release notes for 2.4.1
add b6c8fd6ada Trigger constraint build
add b7afa67253 Retry on Airflow Schedule DAG Run DB Deadlock (#26347)
add 48ce0eaca2 Add last_updated_at and total_updates to datasets list view (#26358)
add c652493e22 Bump FAB to 4.1.4 (#26393)
add 8e836db485 Revert "No grid auto-refresh for backfill dag runs (#25042)" (#26463)
add a643184ed9 Fix version for a couple configurations (#26491)
add 804abc71e6 Fix airflow tasks run --local when dags_folder differs from that of processor (#26509)
add bd6d5e7bf5 isort is now a dev dependency, add it to devel in setup.py (#26510)
add 6cc6d004fd Add fixture for CLI tests requiring sample dags (#26536)
add 14e55b64ce Add a note against use of top level code in timetable (#26649)
add 29bc32a67a Simplify RTIF.delete_old_records() (#26667)
add 357549c84b make consistency on markup title string level (#26696)
add a325ba7327 Remove TaskFail duplicates check (#26714)
add 463900ce89 Fix non-hidden cumulative chart on duration view (#26716)
add ba281d69af Bump sphinx and sphinx-autoapi (#26743)
add 3e09020946 Remove DAG parsing from StandardTaskRunner (#26750)
add efe1142541 Allow retrieving error message from data.detail (#26762)
add a19783e674 Add restarting state to TaskState Enum in REST API (#26776)
add 88bed082e6 Ensure the log messages from operators during parsing go somewhere (#26779)
add 4fe9eef773 add icon legend to datasets graph (#26781)
add 332959208f A few docs fixups (#26788)
add a1aef37cae demote Removed state in priority for displaying task summaries (#26789)
add 56f1e473e7 Fix warning when using xcomarg dependencies (#26801)
add 9e31a1154a Fix running debuggers inside `airflow tasks test` (#26806)
add 9bcf5b342e Move user-facing string to template (#26815)
add bcfa418637 Documentation fixes (#26819)
add 177959ab8b Add missing colors to state_color_mapping jinja global (#26822)
add 2cc75dac8c Fixed triple quotes in task group example (#26829)
add 000718613f Bump min version of jinja2 (#26866)
add 05408cbe96 Clean-ups around task-mapping code (#26879)
add d760ee6ff8 Change dag audit log sort by date from asc to desc (#26895)
add b9e09af530 fix next run dataset modal links (#26897)
add dfd84fad30 Fix auto refresh for graph view (#26926)
add 28a0d009c8 Remove double collection of dags in `airflow dags reserialize` (#27030)
add f5a60b7aa5 Filter dataset dependency data on webserver (#27046)
add 6efba81eab Remove info log about closing parent pipe (#27054)
add 593baf42b5 Avoid 500 on dag redirect (#27064)
add 059c6bbf98 Fix task duration cumulative chart (#26717)
add 0227dea552 Handle mapped tasks in task duration chart (#26722)
add 03c2f2519f Fix broken URL for `docker-compose.yaml` (#26726)
add 1633965665 Don't re-patch pods that are already controlled by current worker (#26778)
add 42176dcded Add separate error handler for 405(Method not allowed) errors (#26880)
add 79047c5fa9 Update Airflow release docs (#26727)
add 7f48924928 Add missing AUTOINC/SERIAL for FAB tables (#26885)
add e4b87ba90f Fix migration issue in upgrade using `type_` instead of `server_default` (#27009)
add 92cd1bf715 Make tracebacks opt-in (#27059)
add f54e0a7c36 Update version to 2.4.2
add cd3f0810e2 fix yarn warning from d3-color (#27139)
add 29878010df Don't overwrite connection extra with invalid json (#27142)
add 9fb4814d29 Simplify origin string cleaning (#27143)
add febf35500d Update Release Note
No new revisions were added by this update.
Summary of changes:
README.md | 15 +-
RELEASE_NOTES.rst | 64 +++-
airflow/api_connexion/openapi/v1.yaml | 2 +
airflow/cli/cli_parser.py | 2 +-
airflow/cli/commands/task_command.py | 10 +-
airflow/config_templates/airflow_local_settings.py | 6 +-
airflow/config_templates/config.yml | 6 +-
airflow/config_templates/default_airflow.cfg | 2 +-
airflow/dag_processing/processor.py | 2 -
airflow/executors/kubernetes_executor.py | 5 +-
airflow/jobs/scheduler_job.py | 19 +-
airflow/migrations/env.py | 8 +-
.../versions/0118_2_4_2_add_missing_autoinc_fab.py | 78 +++++
airflow/models/baseoperator.py | 5 +-
airflow/models/dag.py | 20 +-
airflow/models/dagbag.py | 26 +-
airflow/models/dagrun.py | 54 ++--
airflow/models/mappedoperator.py | 10 +-
airflow/models/renderedtifields.py | 68 ++---
airflow/providers/microsoft/winrm/hooks/winrm.py | 4 +-
airflow/providers/ssh/hooks/ssh.py | 4 +-
airflow/serialization/schema.json | 8 +-
airflow/serialization/serialized_objects.py | 10 +-
airflow/settings.py | 18 +-
airflow/task/task_runner/standard_task_runner.py | 8 +-
airflow/utils/cli.py | 58 +++-
airflow/utils/db.py | 61 ++--
airflow/utils/log/file_processor_handler.py | 3 +
airflow/utils/log/file_task_handler.py | 3 +
airflow/utils/log/logging_mixin.py | 18 +-
airflow/utils/log/secrets_masker.py | 1 +
airflow/utils/sqlalchemy.py | 20 +-
airflow/www/extensions/init_views.py | 10 +-
airflow/www/forms.py | 1 +
airflow/www/jest-setup.js | 3 +
airflow/www/package.json | 3 +
airflow/www/static/js/api/useDataset.ts | 8 +-
.../www/static/js/api/useDatasetDependencies.ts | 13 +-
airflow/www/static/js/api/useDatasets.ts | 6 +-
airflow/www/static/js/api/useGridData.test.ts | 64 +---
airflow/www/static/js/api/useGridData.ts | 2 +-
airflow/www/static/js/datasetUtils.js | 2 +-
airflow/www/static/js/datasets/Graph/Legend.tsx | 76 +++++
airflow/www/static/js/datasets/Graph/index.tsx | 37 +--
airflow/www/static/js/datasets/List.tsx | 47 ++-
airflow/www/static/js/duration_chart.js | 1 +
airflow/www/static/js/graph.js | 13 +-
airflow/www/static/js/types/api-generated.ts | 4 +-
airflow/www/static/js/types/index.ts | 10 +-
airflow/www/static/js/utils/useErrorToast.ts | 2 +-
airflow/www/templates/airflow/dags.html | 4 +-
airflow/www/templates/airflow/datasets.html | 3 +-
.../airflow/{not_found.html => error.html} | 6 +-
airflow/www/templates/airflow/graph.html | 1 +
airflow/www/utils.py | 2 +-
airflow/www/views.py | 183 +++++++++---
airflow/www/yarn.lock | 13 +-
dev/README_RELEASE_AIRFLOW.md | 8 +-
.../operators.rst | 2 +
docs/apache-airflow/best-practices.rst | 35 +++
docs/apache-airflow/concepts/cluster-policies.rst | 4 +-
docs/apache-airflow/concepts/dags.rst | 2 +-
docs/apache-airflow/concepts/timetable.rst | 6 +
docs/apache-airflow/executor/local.rst | 2 +-
docs/apache-airflow/howto/customize-ui.rst | 13 +-
docs/apache-airflow/howto/docker-compose/index.rst | 4 +-
docs/apache-airflow/img/airflow_erd.sha256 | 2 +-
.../installation/supported-versions.rst | 2 +-
docs/apache-airflow/migrations-ref.rst | 4 +-
docs/docker-stack/README.md | 10 +-
.../extending/add-apt-packages/Dockerfile | 2 +-
.../add-build-essential-extend/Dockerfile | 2 +-
.../extending/add-providers/Dockerfile | 2 +-
.../extending/add-pypi-packages/Dockerfile | 2 +-
.../extending/add-requirement-packages/Dockerfile | 2 +-
.../extending/custom-providers/Dockerfile | 2 +-
.../extending/embedding-dags/Dockerfile | 2 +-
.../extending/writable-directory/Dockerfile | 2 +-
docs/docker-stack/entrypoint.rst | 14 +-
.../ci/pre_commit/pre_commit_supported_versions.py | 2 +-
setup.cfg | 4 +-
setup.py | 11 +-
tests/api_connexion/test_error_handling.py | 47 ++-
tests/cli/commands/test_task_command.py | 140 +++++----
tests/cli/conftest.py | 7 +
tests/conftest.py | 11 +
tests/dags/{test_sensor.py => test_dags_folder.py} | 20 +-
tests/decorators/test_python.py | 15 +
tests/jobs/test_scheduler_job.py | 10 +-
tests/models/test_baseoperator.py | 10 +
tests/models/test_dag.py | 72 ++++-
tests/models/test_dagbag.py | 13 +
tests/providers/arangodb/sensors/test_arangodb.py | 8 +-
tests/serialization/test_dag_serialization.py | 19 +-
tests/test_utils/mapping.py | 2 +-
tests/utils/log/test_secrets_masker.py | 12 +
tests/utils/test_cli_util.py | 21 ++
tests/www/views/test_views.py | 6 +
tests/www/views/test_views_connection.py | 26 ++
tests/www/views/test_views_dataset.py | 332 +++++++++++++++++++++
tests/www/views/test_views_tasks.py | 264 ++++++++++++++--
tests/www/views/test_views_trigger_dag.py | 6 +-
102 files changed, 1784 insertions(+), 530 deletions(-)
create mode 100644 airflow/migrations/versions/0118_2_4_2_add_missing_autoinc_fab.py
create mode 100644 airflow/www/static/js/datasets/Graph/Legend.tsx
rename airflow/www/templates/airflow/{not_found.html => error.html} (91%)
copy tests/dags/{test_sensor.py => test_dags_folder.py} (69%)
create mode 100644 tests/www/views/test_views_dataset.py