You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2022/09/27 18:46:34 UTC
[airflow] branch v2-4-stable updated (0bcdba0e4e -> 7b979def75)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a change to branch v2-4-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 0bcdba0e4e Update Release Note for 2.4.0
add 8a7ee21522 changing to task decorator in docs from classic operator use (#25711)
add e0607211a7 Don't update backfill run from the scheduler (#26342)
add 0fdff14161 Update docs: zip-like effect is now possible in task mapping (#26435)
add 69274caf61 DAG Deps extends `base_template` (#26439)
add 92eaa09d1f Fix proper joining of the path for logs retrieved from celery workers (#26493)
add aa4f1c4028 Fix example_datasets dag names (#26495)
add 2297b6b91b ExecutorConfigType should be cacheable (#26498)
add 0aba4bd20a Document the non-sensitive-only option for expose_config (#26507)
add 6c90cea1ab Fix deadlock when mapped task with removed upstream is rerun (#26518)
add c589181247 fix typo in code sample (#26538)
add 1723b86a8d fix WSGI root app (#26549)
add 5ae2ae531b Correctly set json_provider_class on Flask app so it uses our encoder (#26554)
add 329f706d9e Add unit test for log retrieval url (#26603)
add 5ae47cd45f Suppress SQLALCHEMY_TRACK_MODIFICATIONS warning in db init (#26617)
add 53f0ffd767 Fix Deferrable stuck as "scheduled" during backfill (#26205)
add 6e4da29c03 Fix invalid RST in dataset concepts doc (#26434)
add 80f934040b Format the note in datasets docs (#26637)
add c199fa8f62 template rendering issue fix (#26390)
add d005faf758 Add `cleartext` to spelling wordlist (#26447)
add 5cd93d541e Doc: Fix typos in ``example_branch_datetime_operator`` (#26455)
add e9c1712dcf Clarify owner links document (#26515)
add 0ea2e69557 Fix typo in release notes (#26530)
add bff2017338 Fix grid view log try numbers (#26556)
add 22f6c84a85 Log warning when secret backend kwargs is invalid (#26580)
add ef400fecc9 Resolve warning about DISTINCT ON query on dags view (#26608)
add 4ae13d9d68 Allow MapXComArg to resolve after serialization (#26591)
add 0b9a540176 No missing user warning for public admin (#26611)
add d81b2971bc Use COALESCE when ordering runs to handle NULL (#26626)
add 12bfb571a8 Check user is active (#26635)
add 45a461b37d Fix xcom arg.py .zip bug (#26636)
add 7155c10028 Add requirements.txt example to "extending docker" (#26663)
add 1f0c017eda Add limit to Sphinx < 5.2.0 until autoapi incompatibilities are fixed (#26670)
add 5e990fd549 Update version to 2.4.1
add 15dd9a840c Resolve deprecation warning re Table.exists() (#26616)
add 131d8be2c6 Fix scroll overflow for ConfirmDialog (#26681)
add e98b0e8fae When rendering template, unmap task in context (#26702)
add 5d0d3801bc Fix PinotDB dependencies (#26705)
add 7b979def75 Add release notes for 2.4.1
No new revisions were added by this update.
Summary of changes:
README.md | 14 +-
RELEASE_NOTES.rst | 45 ++++-
airflow/compat/sqlalchemy.py | 36 ----
airflow/config_templates/config.yml | 4 +-
airflow/config_templates/default_airflow.cfg | 4 +-
airflow/configuration.py | 24 ++-
airflow/decorators/python.py | 4 +-
.../example_branch_datetime_operator.py | 6 +-
airflow/example_dags/example_datasets.py | 20 +--
airflow/example_dags/example_python_operator.py | 11 +-
.../example_dags/sql/sample.sql | 4 +-
airflow/jobs/backfill_job.py | 6 +
airflow/jobs/scheduler_job.py | 9 +-
.../versions/0001_1_5_0_current_schema.py | 3 +-
.../versions/0002_1_5_0_create_is_encrypted.py | 3 +-
..._1_8_2_add_max_tries_column_to_task_instance.py | 3 +-
...1_10_0_add_kubernetes_resource_checkpointing.py | 3 +-
.../versions/0057_1_10_13_add_fab_tables.py | 3 +-
...1_10_13_increase_length_of_fab_ab_view_menu_.py | 2 +-
.../versions/0059_2_0_0_drop_user_and_chart.py | 3 +-
.../0060_2_0_0_remove_id_column_from_xcom.py | 4 +-
.../versions/0062_2_0_0_add_dagrun_run_type.py | 3 +-
.../0065_2_0_0_update_schema_for_smart_sensor.py | 3 +-
.../0068_2_0_0_drop_kuberesourceversion_and_.py | 3 +-
airflow/models/abstractoperator.py | 8 +-
airflow/models/baseoperator.py | 3 +-
airflow/models/mappedoperator.py | 7 +-
airflow/models/taskinstance.py | 12 +-
airflow/models/xcom_arg.py | 60 +++++--
airflow/providers/apache/pinot/provider.yaml | 6 +-
airflow/ti_deps/deps/trigger_rule_dep.py | 18 +-
airflow/utils/context.py | 27 ++-
airflow/utils/db.py | 5 +-
airflow/utils/json.py | 20 ++-
airflow/utils/log/file_task_handler.py | 12 +-
airflow/utils/sqlalchemy.py | 2 +
airflow/www/app.py | 12 +-
airflow/www/extensions/init_security.py | 11 ++
airflow/www/extensions/init_wsgi_middlewares.py | 16 +-
airflow/www/fab_security/manager.py | 2 +-
airflow/www/fab_security/sqla/manager.py | 5 +-
.../www/static/js/dag/details/ConfirmDialog.tsx | 5 +-
.../dag/details/taskInstance/Logs/index.test.tsx | 16 +-
.../js/dag/details/taskInstance/Logs/index.tsx | 28 +--
.../www/templates/airflow/dag_dependencies.html | 2 +-
airflow/www/utils.py | 54 ++++--
airflow/www/views.py | 40 ++---
docs/apache-airflow/concepts/dags.rst | 32 ++--
docs/apache-airflow/concepts/datasets.rst | 4 +-
.../concepts/dynamic-task-mapping.rst | 4 +-
docs/apache-airflow/concepts/operators.rst | 12 +-
docs/apache-airflow/howto/add-owner-links.rst | 29 +--
docs/apache-airflow/howto/operator/python.rst | 7 +
docs/apache-airflow/img/airflow_erd.sha256 | 2 +-
.../installation/supported-versions.rst | 2 +-
docs/apache-airflow/ui.rst | 2 +-
docs/docker-stack/README.md | 10 +-
docs/docker-stack/build.rst | 34 +++-
.../extending/add-apt-packages/Dockerfile | 2 +-
.../add-build-essential-extend/Dockerfile | 2 +-
.../extending/add-providers/Dockerfile | 2 +-
.../extending/add-pypi-packages/Dockerfile | 2 +-
.../Dockerfile | 5 +-
.../add-requirement-packages/requirements.txt | 2 +
.../extending/custom-providers/Dockerfile | 2 +-
.../extending/embedding-dags/Dockerfile | 2 +-
.../extending/writable-directory/Dockerfile | 2 +-
docs/docker-stack/entrypoint.rst | 14 +-
docs/spelling_wordlist.txt | 1 +
generated/provider_dependencies.json | 1 +
.../ci/pre_commit/pre_commit_supported_versions.py | 2 +-
setup.py | 8 +-
.../endpoints/test_task_instance_endpoint.py | 34 ++--
tests/decorators/test_python.py | 10 +-
tests/jobs/test_backfill_job.py | 24 +++
tests/jobs/test_scheduler_job.py | 43 +++++
tests/models/test_dagrun.py | 40 +++++
tests/models/test_mappedoperator.py | 21 ++-
tests/models/test_taskinstance.py | 178 +++++++++++++++----
tests/models/test_xcom_arg.py | 4 +-
tests/serialization/test_dag_serialization.py | 8 +-
tests/test_utils/decorators.py | 1 +
tests/ti_deps/deps/test_trigger_rule_dep.py | 195 ++++++++++++++++++++-
tests/utils/test_log_handlers.py | 13 ++
tests/www/test_app.py | 10 ++
tests/www/views/conftest.py | 1 +
tests/www/views/test_session.py | 14 ++
tests/www/views/test_views_base.py | 13 +-
88 files changed, 1046 insertions(+), 339 deletions(-)
delete mode 100644 airflow/compat/sqlalchemy.py
copy tests/system/providers/sqlite/create_table.sql => airflow/example_dags/sql/sample.sql (93%)
copy docs/docker-stack/docker-examples/extending/{add-pypi-packages => add-requirement-packages}/Dockerfile (89%)
create mode 100644 docs/docker-stack/docker-examples/extending/add-requirement-packages/requirements.txt