fix: update pyodbc dependency to fix sqlalchemy test by kweinmeister · Pull Request #8203 · GoogleCloudPlatform/python-docs-samples
…latform#7108) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [apache-airflow](https://airflow.apache.org/) ([source](https://togithub.com/apache/airflow)) | `==2.1.2` -> `==2.2.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [apache-airflow](https://airflow.apache.org/) ([source](https://togithub.com/apache/airflow)) | `==1.10.14` -> `==2.2.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>apache/airflow</summary> ### [`v2.2.1`](https://togithub.com/apache/airflow/blob/master/CHANGELOG.txt#Airflow-221-2021-10-29) [Compare Source](https://togithub.com/apache/airflow/compare/2.2.0...2.2.1) Bug Fixes """"""""" - Fix Unexpected commit error in schedulerjob ([#​19213](https://togithub.com/apache/airflow/issues/19213)) - Add DagRun.logical_date as a property ([#​19198](https://togithub.com/apache/airflow/issues/19198)) - Clear ti.next_method and ti.next_kwargs on task finish ([#​19183](https://togithub.com/apache/airflow/issues/19183)) - Faster PostgreSQL db migration to Airflow 2.2 ([#​19166](https://togithub.com/apache/airflow/issues/19166)) - Remove incorrect type comment in `Swagger2Specification._set_defaults` classmethod ([#​19065](https://togithub.com/apache/airflow/issues/19065)) - Add TriggererJob to jobs check command ([#​19179](https://togithub.com/apache/airflow/issues/19179), [#​19185](https://togithub.com/apache/airflow/issues/19185)) - Hide tooltip when next run is `None` ([#​19112](https://togithub.com/apache/airflow/issues/19112)) - Create TI context with data interval compat layer ([#​19148](https://togithub.com/apache/airflow/issues/19148)) - Fix queued dag runs changes `catchup=False` behaviour ([#​19130](https://togithub.com/apache/airflow/issues/19130), [#​19145](https://togithub.com/apache/airflow/issues/19145)) - add detailed information to logging when a dag or a task finishes. ([#​19097](https://togithub.com/apache/airflow/issues/19097)) - Warn about unsupported Python 3.10 ([#​19060](https://togithub.com/apache/airflow/issues/19060)) - Fix catchup by limiting queued dagrun creation using `max_active_runs` ([#​18897](https://togithub.com/apache/airflow/issues/18897)) - Prevent scheduler crash when serialized dag is missing ([#​19113](https://togithub.com/apache/airflow/issues/19113)) - Don't install SQLAlchemy/Pendulum adapters for other DBs ([#​18745](https://togithub.com/apache/airflow/issues/18745)) - Workaround libstdcpp TLS error ([#​19010](https://togithub.com/apache/airflow/issues/19010)) - Change `ds`, `ts`, etc. back to use logical date ([#​19088](https://togithub.com/apache/airflow/issues/19088)) - Ensure task state doesn't change when marked as failed/success/skipped ([#​19095](https://togithub.com/apache/airflow/issues/19095)) - Relax packaging requirement ([#​19087](https://togithub.com/apache/airflow/issues/19087)) - Rename trigger page label to Logical Date ([#​19061](https://togithub.com/apache/airflow/issues/19061)) - Allow Param to support a default value of `None` ([#​19034](https://togithub.com/apache/airflow/issues/19034)) - Upgrade old DAG/task param format when deserializing from the DB ([#​18986](https://togithub.com/apache/airflow/issues/18986)) - Don't bake ENV and \_cmd into tmp config for non-sudo ([#​18772](https://togithub.com/apache/airflow/issues/18772)) - CLI: Fail `backfill` command before loading DAGs if missing args ([#​18994](https://togithub.com/apache/airflow/issues/18994)) - BugFix: Null execution date on insert to `task_fail` violating NOT NULL ([#​18979](https://togithub.com/apache/airflow/issues/18979)) - Try to move "dangling" rows in upgradedb ([#​18953](https://togithub.com/apache/airflow/issues/18953)) - Row lock TI query in `SchedulerJob._process_executor_events` ([#​18975](https://togithub.com/apache/airflow/issues/18975)) - Sentry before send fallback ([#​18980](https://togithub.com/apache/airflow/issues/18980)) - Fix `XCom.delete` error in Airflow 2.2.0 ([#​18956](https://togithub.com/apache/airflow/issues/18956)) - Check python version before starting triggerer ([#​18926](https://togithub.com/apache/airflow/issues/18926)) Doc only changes """""""""""""""" - Update access control documentation for TaskInstances and DagRuns ([#​18644](https://togithub.com/apache/airflow/issues/18644)) - Add information about keepalives for managed Postgres ([#​18850](https://togithub.com/apache/airflow/issues/18850)) - Doc: Add Callbacks Section to Logging & Monitoring ([#​18842](https://togithub.com/apache/airflow/issues/18842)) - Group PATCH DAGrun together with other DAGRun endpoints ([#​18885](https://togithub.com/apache/airflow/issues/18885)) ### [`v2.2.0`](https://togithub.com/apache/airflow/blob/master/CHANGELOG.txt#Airflow-220-2021-10-11) [Compare Source](https://togithub.com/apache/airflow/compare/2.1.4...2.2.0) New Features """""""""""" - AIP-39: Add (customizable) Timetable class to Airflow for richer scheduling behaviour ([#​15397](https://togithub.com/apache/airflow/issues/15397), [#​16030](https://togithub.com/apache/airflow/issues/16030), [#​16352](https://togithub.com/apache/airflow/issues/16352), [#​17030](https://togithub.com/apache/airflow/issues/17030), [#​17122](https://togithub.com/apache/airflow/issues/17122), [#​17414](https://togithub.com/apache/airflow/issues/17414), [#​17552](https://togithub.com/apache/airflow/issues/17552), [#​17755](https://togithub.com/apache/airflow/issues/17755), [#​17989](https://togithub.com/apache/airflow/issues/17989), [#​18084](https://togithub.com/apache/airflow/issues/18084), [#​18088](https://togithub.com/apache/airflow/issues/18088), [#​18244](https://togithub.com/apache/airflow/issues/18244), [#​18266](https://togithub.com/apache/airflow/issues/18266), [#​18420](https://togithub.com/apache/airflow/issues/18420), [#​18434](https://togithub.com/apache/airflow/issues/18434), [#​18421](https://togithub.com/apache/airflow/issues/18421), [#​18475](https://togithub.com/apache/airflow/issues/18475), [#​18499](https://togithub.com/apache/airflow/issues/18499), [#​18573](https://togithub.com/apache/airflow/issues/18573), [#​18522](https://togithub.com/apache/airflow/issues/18522), [#​18729](https://togithub.com/apache/airflow/issues/18729), [#​18706](https://togithub.com/apache/airflow/issues/18706), [#​18742](https://togithub.com/apache/airflow/issues/18742), [#​18786](https://togithub.com/apache/airflow/issues/18786), [#​18804](https://togithub.com/apache/airflow/issues/18804)) - AIP-40: Add Deferrable "Async" Tasks ([#​15389](https://togithub.com/apache/airflow/issues/15389), [#​17564](https://togithub.com/apache/airflow/issues/17564), [#​17565](https://togithub.com/apache/airflow/issues/17565), [#​17601](https://togithub.com/apache/airflow/issues/17601), [#​17745](https://togithub.com/apache/airflow/issues/17745), [#​17747](https://togithub.com/apache/airflow/issues/17747), [#​17748](https://togithub.com/apache/airflow/issues/17748), [#​17875](https://togithub.com/apache/airflow/issues/17875), [#​17876](https://togithub.com/apache/airflow/issues/17876), [#​18129](https://togithub.com/apache/airflow/issues/18129), [#​18210](https://togithub.com/apache/airflow/issues/18210), [#​18214](https://togithub.com/apache/airflow/issues/18214), [#​18552](https://togithub.com/apache/airflow/issues/18552), [#​18728](https://togithub.com/apache/airflow/issues/18728), [#​18414](https://togithub.com/apache/airflow/issues/18414)) - Add a Docker Taskflow decorator ([#​15330](https://togithub.com/apache/airflow/issues/15330), [#​18739](https://togithub.com/apache/airflow/issues/18739)) - Add Airflow Standalone command ([#​15826](https://togithub.com/apache/airflow/issues/15826)) - Display alert messages on dashboard from local settings ([#​18284](https://togithub.com/apache/airflow/issues/18284)) - Advanced Params using json-schema ([#​17100](https://togithub.com/apache/airflow/issues/17100)) - Ability to test connections from UI or API ([#​15795](https://togithub.com/apache/airflow/issues/15795), [#​18750](https://togithub.com/apache/airflow/issues/18750)) - Add Next Run to UI ([#​17732](https://togithub.com/apache/airflow/issues/17732)) - Add default weight rule configuration option ([#​18627](https://togithub.com/apache/airflow/issues/18627)) - Add a calendar field to choose the execution date of the DAG when triggering it ([#​16141](https://togithub.com/apache/airflow/issues/16141)) - Allow setting specific `cwd` for BashOperator ([#​17751](https://togithub.com/apache/airflow/issues/17751)) - Show import errors in DAG views ([#​17818](https://togithub.com/apache/airflow/issues/17818)) - Add pre/post execution hooks \[Experimental] ([#​17576](https://togithub.com/apache/airflow/issues/17576)) - Added table to view providers in Airflow ui under admin tab ([#​15385](https://togithub.com/apache/airflow/issues/15385)) - Adds secrets backend/logging/auth information to provider yaml ([#​17625](https://togithub.com/apache/airflow/issues/17625)) - Add date format filters to Jinja environment ([#​17451](https://togithub.com/apache/airflow/issues/17451)) - Introduce `RESTARTING` state ([#​16681](https://togithub.com/apache/airflow/issues/16681)) - Webserver: Unpause DAG on manual trigger ([#​16569](https://togithub.com/apache/airflow/issues/16569)) - API endpoint to create new user ([#​16609](https://togithub.com/apache/airflow/issues/16609)) - Add `insert_args` for support transfer replace ([#​15825](https://togithub.com/apache/airflow/issues/15825)) - Add recursive flag to glob in filesystem sensor ([#​16894](https://togithub.com/apache/airflow/issues/16894)) - Add conn to jinja template context ([#​16686](https://togithub.com/apache/airflow/issues/16686)) - Add `default_args` for `TaskGroup` ([#​16557](https://togithub.com/apache/airflow/issues/16557)) - Allow adding duplicate connections from UI ([#​15574](https://togithub.com/apache/airflow/issues/15574)) - Allow specifying multiple URLs via the CORS config option ([#​17941](https://togithub.com/apache/airflow/issues/17941)) - Implement API endpoint for DAG deletion ([#​17980](https://togithub.com/apache/airflow/issues/17980)) - Add DAG run endpoint for marking a dagrun success or failed([#​17839](https://togithub.com/apache/airflow/issues/17839)) - Add support for `kinit` options `[-f|-F]` and `[-a|-A]` ([#​17816](https://togithub.com/apache/airflow/issues/17816)) - Queue support for `DaskExecutor` using Dask Worker Resources ([#​16829](https://togithub.com/apache/airflow/issues/16829), [#​18720](https://togithub.com/apache/airflow/issues/18720)) - Make auto refresh interval configurable ([#​18107](https://togithub.com/apache/airflow/issues/18107)) Improvements """""""""""" - Small improvements for Airflow UI ([#​18715](https://togithub.com/apache/airflow/issues/18715), [#​18795](https://togithub.com/apache/airflow/issues/18795)) - Rename `processor_poll_interval` to `scheduler_idle_sleep_time` ([#​18704](https://togithub.com/apache/airflow/issues/18704)) - Check the allowed values for the logging level ([#​18651](https://togithub.com/apache/airflow/issues/18651)) - Fix error on triggering a dag that doesn't exist using `dagrun_conf` ([#​18655](https://togithub.com/apache/airflow/issues/18655)) - Add muldelete action to `TaskInstanceModelView` ([#​18438](https://togithub.com/apache/airflow/issues/18438)) - Avoid importing DAGs during clean DB installation ([#​18450](https://togithub.com/apache/airflow/issues/18450)) - Require can_edit on DAG privileges to modify TaskInstances and DagRuns ([#​16634](https://togithub.com/apache/airflow/issues/16634)) - Make Kubernetes job description fit on one log line ([#​18377](https://togithub.com/apache/airflow/issues/18377)) - Always draw borders if task instance state is null or undefined ([#​18033](https://togithub.com/apache/airflow/issues/18033)) - Inclusive Language ([#​18349](https://togithub.com/apache/airflow/issues/18349)) - Improved log handling for zombie tasks ([#​18277](https://togithub.com/apache/airflow/issues/18277)) - Adding `Variable.update` method and improving detection of variable key collisions ([#​18159](https://togithub.com/apache/airflow/issues/18159)) - Add note about params on trigger DAG page ([#​18166](https://togithub.com/apache/airflow/issues/18166)) - Change `TaskInstance` and `TaskReschedule` PK from `execution_date` to `run_id` ([#​17719](https://togithub.com/apache/airflow/issues/17719)) - Adding `TaskGroup` support in `BaseOperator.chain()` ([#​17456](https://togithub.com/apache/airflow/issues/17456)) - Advises the kernel to not cache log files generated by Airflow ([#​18054](https://togithub.com/apache/airflow/issues/18054)) - Allow filtering DAGS by tags in the REST API ([#​18090](https://togithub.com/apache/airflow/issues/18090)) - Optimize imports of Providers Manager ([#​18052](https://togithub.com/apache/airflow/issues/18052)) - Adds capability of Warnings for incompatible community providers ([#​18020](https://togithub.com/apache/airflow/issues/18020)) - Serialize the `template_ext` attribute to show it in UI ([#​17985](https://togithub.com/apache/airflow/issues/17985)) - Add `robots.txt` and `X-Robots-Tag` header ([#​17946](https://togithub.com/apache/airflow/issues/17946)) - Refactor `BranchDayOfWeekOperator`, `DayOfWeekSensor` ([#​17940](https://togithub.com/apache/airflow/issues/17940)) - Update error message to guide the user into self-help mostly ([#​17929](https://togithub.com/apache/airflow/issues/17929)) - Update to Celery 5 ([#​17397](https://togithub.com/apache/airflow/issues/17397)) - Avoid redirect loop for users with no permissions ([#​17838](https://togithub.com/apache/airflow/issues/17838)) - Improve graph view load time for dags with open groups ([#​17821](https://togithub.com/apache/airflow/issues/17821)) - Add links to provider's documentation ([#​17736](https://togithub.com/apache/airflow/issues/17736)) - Remove Marshmallow schema warnings ([#​17753](https://togithub.com/apache/airflow/issues/17753)) - Rename `none_failed_or_skipped` by `none_failed_min_one_success` trigger rule ([#​17683](https://togithub.com/apache/airflow/issues/17683)) - Remove `[core] store_dag_code` & use DB to get Dag Code ([#​16342](https://togithub.com/apache/airflow/issues/16342)) - Rename `task_concurrency` to `max_active_tis_per_dag` ([#​17708](https://togithub.com/apache/airflow/issues/17708)) - Import Hooks lazily individually in providers manager ([#​17682](https://togithub.com/apache/airflow/issues/17682)) - Adding support for multiple task-ids in the external task sensor ([#​17339](https://togithub.com/apache/airflow/issues/17339)) - Replace `execution_date` with `run_id` in airflow tasks run command ([#​16666](https://togithub.com/apache/airflow/issues/16666)) - Avoid endless redirect loop when user has no roles ([#​17613](https://togithub.com/apache/airflow/issues/17613)) - Make output from users cli command more consistent ([#​17642](https://togithub.com/apache/airflow/issues/17642)) - Open relative extra links in place ([#​17477](https://togithub.com/apache/airflow/issues/17477)) - Move `worker_log_server_port` option to the logging section ([#​17621](https://togithub.com/apache/airflow/issues/17621)) - Use gunicorn to serve logs generated by worker ([#​17591](https://togithub.com/apache/airflow/issues/17591)) - Improve validation of Group id ([#​17578](https://togithub.com/apache/airflow/issues/17578)) - Simplify 404 page ([#​17501](https://togithub.com/apache/airflow/issues/17501)) - Add XCom.clear so it's hookable in custom XCom backend ([#​17405](https://togithub.com/apache/airflow/issues/17405)) - Add deprecation notice for `SubDagOperator` ([#​17488](https://togithub.com/apache/airflow/issues/17488)) - Support DAGS folder being in different location on scheduler and runners ([#​16860](https://togithub.com/apache/airflow/issues/16860)) - Remove /dagrun/create and disable edit form generated by F.A.B ([#​17376](https://togithub.com/apache/airflow/issues/17376)) - Enable specifying dictionary paths in `template_fields_renderers` ([#​17321](https://togithub.com/apache/airflow/issues/17321)) - error early if virtualenv is missing ([#​15788](https://togithub.com/apache/airflow/issues/15788)) - Handle connection parameters added to Extra and custom fields ([#​17269](https://togithub.com/apache/airflow/issues/17269)) - Fix `airflow celery stop` to accept the pid file. ([#​17278](https://togithub.com/apache/airflow/issues/17278)) - Remove DAG refresh buttons ([#​17263](https://togithub.com/apache/airflow/issues/17263)) - Deprecate dummy trigger rule in favor of always ([#​17144](https://togithub.com/apache/airflow/issues/17144)) - Be verbose about failure to import `airflow_local_settings` ([#​17195](https://togithub.com/apache/airflow/issues/17195)) - Include exit code in `AirflowException` str when `BashOperator` fails. ([#​17151](https://togithub.com/apache/airflow/issues/17151)) - Adding EdgeModifier support for chain() ([#​17099](https://togithub.com/apache/airflow/issues/17099)) - Only allows supported field types to be used in custom connections ([#​17194](https://togithub.com/apache/airflow/issues/17194)) - Secrets backend failover ([#​16404](https://togithub.com/apache/airflow/issues/16404)) - Warn on Webserver when using `SQLite` or `SequentialExecutor` ([#​17133](https://togithub.com/apache/airflow/issues/17133)) - Extend `init_containers` defined in `pod_override` ([#​17537](https://togithub.com/apache/airflow/issues/17537)) - Client-side filter dag dependencies ([#​16253](https://togithub.com/apache/airflow/issues/16253)) - Improve executor validation in CLI ([#​17071](https://togithub.com/apache/airflow/issues/17071)) - Prevent running `airflow db init/upgrade` migrations and setup in parallel. ([#​17078](https://togithub.com/apache/airflow/issues/17078)) - Update `chain()` and `cross_downstream()` to support `XComArgs` ([#​16732](https://togithub.com/apache/airflow/issues/16732)) - Improve graph view refresh ([#​16696](https://togithub.com/apache/airflow/issues/16696)) - When a task instance fails with exception, log it ([#​16805](https://togithub.com/apache/airflow/issues/16805)) - Set process title for `serve-logs` and `LocalExecutor` ([#​16644](https://togithub.com/apache/airflow/issues/16644)) - Rename `test_cycle` to `check_cycle` ([#​16617](https://togithub.com/apache/airflow/issues/16617)) - Set process title for Worker when using `LocalExecutor` ([#​16623](https://togithub.com/apache/airflow/issues/16623)) - Add schema as `DbApiHook` instance attribute ([#​16521](https://togithub.com/apache/airflow/issues/16521), [#​17423](https://togithub.com/apache/airflow/issues/17423)) - Improve compatibility with MSSQL ([#​9973](https://togithub.com/apache/airflow/issues/9973)) - Add transparency for unsupported connection type ([#​16220](https://togithub.com/apache/airflow/issues/16220)) - Call resource based fab methods ([#​16190](https://togithub.com/apache/airflow/issues/16190)) - Format more dates with timezone ([#​16129](https://togithub.com/apache/airflow/issues/16129)) - Replace deprecated `dag.sub_dag` with `dag.partial_subset` ([#​16179](https://togithub.com/apache/airflow/issues/16179)) - Treat `AirflowSensorTimeout` as immediate failure without retrying ([#​12058](https://togithub.com/apache/airflow/issues/12058)) - Marking success/failed automatically clears failed downstream tasks ([#​13037](https://togithub.com/apache/airflow/issues/13037)) - Add close/open indicator for import dag errors ([#​16073](https://togithub.com/apache/airflow/issues/16073)) - Add collapsible import errors ([#​16072](https://togithub.com/apache/airflow/issues/16072)) - Always return a response in TI's `action_clear` view ([#​15980](https://togithub.com/apache/airflow/issues/15980)) - Add cli command to delete user by email ([#​15873](https://togithub.com/apache/airflow/issues/15873)) - Use resource and action names for FAB permissions ([#​16410](https://togithub.com/apache/airflow/issues/16410)) - Rename DAG concurrency (`[core] dag_concurrency`) settings for easier understanding ([#​16267](https://togithub.com/apache/airflow/issues/16267), [#​18730](https://togithub.com/apache/airflow/issues/18730)) - Calendar UI improvements ([#​16226](https://togithub.com/apache/airflow/issues/16226)) - Refactor: `SKIPPED` should not be logged again as `SUCCESS` ([#​14822](https://togithub.com/apache/airflow/issues/14822)) - Remove version limits for dnspython ([#​18046](https://togithub.com/apache/airflow/issues/18046), [#​18162](https://togithub.com/apache/airflow/issues/18162)) - Accept custom run ID in TriggerDagRunOperator ([#​18788](https://togithub.com/apache/airflow/issues/18788)) Bug Fixes """"""""" - Make REST API patch user endpoint work the same way as the UI ([#​18757](https://togithub.com/apache/airflow/issues/18757)) - Properly set `start_date` for cleared tasks ([#​18708](https://togithub.com/apache/airflow/issues/18708)) - Ensure task_instance exists before running update on its state(REST API) ([#​18642](https://togithub.com/apache/airflow/issues/18642)) - Make `AirflowDateTimePickerWidget` a required field ([#​18602](https://togithub.com/apache/airflow/issues/18602)) - Retry deadlocked transactions on deleting old rendered task fields ([#​18616](https://togithub.com/apache/airflow/issues/18616)) - Fix `retry_exponential_backoff` divide by zero error when retry delay is zero ([#​17003](https://togithub.com/apache/airflow/issues/17003)) - Improve how UI handles datetimes ([#​18611](https://togithub.com/apache/airflow/issues/18611), [#​18700](https://togithub.com/apache/airflow/issues/18700)) - Bugfix: dag_bag.get_dag should return None, not raise exception ([#​18554](https://togithub.com/apache/airflow/issues/18554)) - Only show the task modal if it is a valid instance ([#​18570](https://togithub.com/apache/airflow/issues/18570)) - Fix accessing rendered `{{ task.x }}` attributes from within templates ([#​18516](https://togithub.com/apache/airflow/issues/18516)) - Add missing email type of connection ([#​18502](https://togithub.com/apache/airflow/issues/18502)) - Don't use flash for "same-page" UI messages. ([#​18462](https://togithub.com/apache/airflow/issues/18462)) - Fix task group tooltip ([#​18406](https://togithub.com/apache/airflow/issues/18406)) - Properly fix dagrun update state endpoint ([#​18370](https://togithub.com/apache/airflow/issues/18370)) - Properly handle ti state difference between executor and scheduler ([#​17819](https://togithub.com/apache/airflow/issues/17819)) - Fix stuck "queued" tasks in KubernetesExecutor ([#​18152](https://togithub.com/apache/airflow/issues/18152)) - Don't permanently add zip DAGs to `sys.path` ([#​18384](https://togithub.com/apache/airflow/issues/18384)) - Fix random deadlocks in MSSQL database ([#​18362](https://togithub.com/apache/airflow/issues/18362)) - Deactivating DAGs which have been removed from files ([#​17121](https://togithub.com/apache/airflow/issues/17121)) - When syncing dags to db remove `dag_tag` rows that are now unused ([#​8231](https://togithub.com/apache/airflow/issues/8231)) - Graceful scheduler shutdown on error ([#​18092](https://togithub.com/apache/airflow/issues/18092)) - Fix mini scheduler not respecting `wait_for_downstream` dep ([#​18338](https://togithub.com/apache/airflow/issues/18338)) - Pass exception to `run_finished_callback` for Debug Executor ([#​17983](https://togithub.com/apache/airflow/issues/17983)) - Make `XCom.get_one` return full, not abbreviated values ([#​18274](https://togithub.com/apache/airflow/issues/18274)) - Use try/except when closing temporary file in task_runner ([#​18269](https://togithub.com/apache/airflow/issues/18269)) - show next run if not none ([#​18273](https://togithub.com/apache/airflow/issues/18273)) - Fix DB session handling in `XCom.set` ([#​18240](https://togithub.com/apache/airflow/issues/18240)) - Sort adopted tasks in `_check_for_stalled_adopted_tasks` method ([#​18208](https://togithub.com/apache/airflow/issues/18208)) - Fix external_executor_id not being set for manually run jobs ([#​17207](https://togithub.com/apache/airflow/issues/17207)) - Fix deleting of zipped Dags in Serialized Dag Table ([#​18243](https://togithub.com/apache/airflow/issues/18243)) - Return explicit error on user-add for duplicated email ([#​18224](https://togithub.com/apache/airflow/issues/18224)) - Remove loading dots even when last run data is empty ([#​18230](https://togithub.com/apache/airflow/issues/18230)) - Swap dag import error dropdown icons ([#​18207](https://togithub.com/apache/airflow/issues/18207)) - Automatically create section when migrating config ([#​16814](https://togithub.com/apache/airflow/issues/16814)) - Set encoding to utf-8 by default while reading task logs ([#​17965](https://togithub.com/apache/airflow/issues/17965)) - Set task state to failed when pod is DELETED while running ([#​18095](https://togithub.com/apache/airflow/issues/18095)) - Apply parent dag permissions to subdags ([#​18160](https://togithub.com/apache/airflow/issues/18160)) - Change id collation for MySQL to case-sensitive ([#​18072](https://togithub.com/apache/airflow/issues/18072)) - Logs task launch exception in `StandardTaskRunner` ([#​17967](https://togithub.com/apache/airflow/issues/17967)) - Applied permissions to `self._error_file` ([#​15947](https://togithub.com/apache/airflow/issues/15947)) - Hide variable import form if user lacks permission ([#​18000](https://togithub.com/apache/airflow/issues/18000)) - Fix blank dag dependencies view ([#​17990](https://togithub.com/apache/airflow/issues/17990)) - Add missing menu access for dag dependencies and configurations pages ([#​17450](https://togithub.com/apache/airflow/issues/17450)) - Fix passing Jinja templates in `DateTimeSensor` ([#​17959](https://togithub.com/apache/airflow/issues/17959)) - Fixing bug which restricted the visibility of ImportErrors ([#​17924](https://togithub.com/apache/airflow/issues/17924)) - Fix grammar in `traceback.html` ([#​17942](https://togithub.com/apache/airflow/issues/17942)) - Fix `DagRunState` enum query for `MySQLdb` driver ([#​17886](https://togithub.com/apache/airflow/issues/17886)) - Fixed button size in "Actions" group. ([#​17902](https://togithub.com/apache/airflow/issues/17902)) - Fix log links on graph TI modal ([#​17862](https://togithub.com/apache/airflow/issues/17862)) - Only show import errors for DAGs a user can access ([#​17835](https://togithub.com/apache/airflow/issues/17835)) - Show all import_errors from zip files ([#​17759](https://togithub.com/apache/airflow/issues/17759)) - fix EXTRA_LOGGER_NAMES param and related docs ([#​17808](https://togithub.com/apache/airflow/issues/17808)) - Use one interpreter for Airflow and gunicorn ([#​17805](https://togithub.com/apache/airflow/issues/17805)) - Fix: Mysql 5.7 id utf8mb3 ([#​14535](https://togithub.com/apache/airflow/issues/14535)) - Fix dag_processing.last_duration metric random holes ([#​17769](https://togithub.com/apache/airflow/issues/17769)) - Automatically use `utf8mb3_general_ci` collation for MySQL ([#​17729](https://togithub.com/apache/airflow/issues/17729)) - Fix wrong query on running tis ([#​17631](https://togithub.com/apache/airflow/issues/17631)) - Add root to tree refresh url ([#​17633](https://togithub.com/apache/airflow/issues/17633)) - Do not delete running DAG from the UI ([#​17630](https://togithub.com/apache/airflow/issues/17630)) - Rescue if a DagRun's DAG was removed from db ([#​17544](https://togithub.com/apache/airflow/issues/17544)) - fix: filter condition of `TaskInstance` does not work [#​17535](https://togithub.com/apache/airflow/issues/17535) ([#​17548](https://togithub.com/apache/airflow/issues/17548)) - Regression on pid reset to allow task start after heartbeat ([#​17333](https://togithub.com/apache/airflow/issues/17333)) - Dont use TaskInstance in CeleryExecutor.trigger_tasks ([#​16248](https://togithub.com/apache/airflow/issues/16248)) - Remove locks for upgrades in MSSQL ([#​17213](https://togithub.com/apache/airflow/issues/17213)) - Create virtualenv via python call ([#​17156](https://togithub.com/apache/airflow/issues/17156)) - Ensure a DAG is acyclic when running `DAG.cli()` ([#​17105](https://togithub.com/apache/airflow/issues/17105)) - Translate non-ascii characters ([#​17057](https://togithub.com/apache/airflow/issues/17057)) - Change the logic of `None` comparison in `model_list` template ([#​16893](https://togithub.com/apache/airflow/issues/16893)) - Have UI and POST /task_instances_state API endpoint have same behaviour ([#​16539](https://togithub.com/apache/airflow/issues/16539)) - ensure task is skipped if missing sla ([#​16719](https://togithub.com/apache/airflow/issues/16719)) - Fix direct use of `cached_property` module ([#​16710](https://togithub.com/apache/airflow/issues/16710)) - Fix TI success confirm page ([#​16650](https://togithub.com/apache/airflow/issues/16650)) - Cattrs 1.7.0 released by the end of May 2021 break lineage usage ([#​16173](https://togithub.com/apache/airflow/issues/16173)) - Fix Celery executor getting stuck randomly because of reset_signals in multiprocessing ([#​15989](https://togithub.com/apache/airflow/issues/15989)) - Modify return value check in python virtualenv jinja template ([#​16049](https://togithub.com/apache/airflow/issues/16049)) - Fix dag dependency search ([#​15924](https://togithub.com/apache/airflow/issues/15924)) - Make custom JSON encoder support `Decimal` ([#​16383](https://togithub.com/apache/airflow/issues/16383)) - Bugfix: Allow clearing tasks with just `dag_id` and empty `subdir` ([#​16513](https://togithub.com/apache/airflow/issues/16513)) - Convert port value to a number before calling test connection ([#​16497](https://togithub.com/apache/airflow/issues/16497)) - Handle missing/null serialized DAG dependencies ([#​16393](https://togithub.com/apache/airflow/issues/16393)) - Correctly set `dag.fileloc` when using the `@dag` decorator ([#​16384](https://togithub.com/apache/airflow/issues/16384)) - Fix TI success/failure links ([#​16233](https://togithub.com/apache/airflow/issues/16233)) - Correctly implement autocomplete early return in `airflow/www/views.py` ([#​15940](https://togithub.com/apache/airflow/issues/15940)) - Backport fix to allow pickling of Loggers to Python 3.6 ([#​18798](https://togithub.com/apache/airflow/issues/18798)) - Fix bug that Backfill job fail to run when there are tasks run into `reschedule` state ([#​17305](https://togithub.com/apache/airflow/issues/17305), [#​18806](https://togithub.com/apache/airflow/issues/18806)) Doc only changes """""""""""""""" - Update `dagbag_size` documentation ([#​18824](https://togithub.com/apache/airflow/issues/18824)) - Update documentation about bundle extras ([#​18828](https://togithub.com/apache/airflow/issues/18828)) - Fix wrong Postgres `search_path` set up instructions ([#​17600](https://togithub.com/apache/airflow/issues/17600)) - Remove `AIRFLOW_GID` from Docker images ([#​18747](https://togithub.com/apache/airflow/issues/18747)) - Improve error message for BranchPythonOperator when no task_id to follow ([#​18471](https://togithub.com/apache/airflow/issues/18471)) - Improve guidance to users telling them what to do on import timeout ([#​18478](https://togithub.com/apache/airflow/issues/18478)) - Explain scheduler fine-tuning better ([#​18356](https://togithub.com/apache/airflow/issues/18356)) - Added example JSON for airflow pools import ([#​18376](https://togithub.com/apache/airflow/issues/18376)) - Add `sla_miss_callback` section to the documentation ([#​18305](https://togithub.com/apache/airflow/issues/18305)) - Explain sentry default environment variable for subprocess hook ([#​18346](https://togithub.com/apache/airflow/issues/18346)) - Refactor installation pages ([#​18282](https://togithub.com/apache/airflow/issues/18282)) - Improves installing from sources pages for all components ([#​18251](https://togithub.com/apache/airflow/issues/18251)) - Doc: Use `closer.lua` script for downloading sources ([#​18179](https://togithub.com/apache/airflow/issues/18179)) - Improves quick-start docker-compose warnings and documentation ([#​18164](https://togithub.com/apache/airflow/issues/18164)) - Production-level support for MSSQL ([#​18382](https://togithub.com/apache/airflow/issues/18382)) - Update non-working example in documentation ([#​18067](https://togithub.com/apache/airflow/issues/18067)) - Improve the description of how to handle dynamic task generation ([#​17963](https://togithub.com/apache/airflow/issues/17963)) - Remove default_args pattern + added get_current_context() use for Core Airflow example DAGs ([#​16866](https://togithub.com/apache/airflow/issues/16866)) - Update max_tis_per_query to better render on the webpage ([#​17971](https://togithub.com/apache/airflow/issues/17971)) - Adds Github Oauth example with team based authorization ([#​17896](https://togithub.com/apache/airflow/issues/17896)) - Update docker.rst ([#​17882](https://togithub.com/apache/airflow/issues/17882)) - Example xcom update ([#​17749](https://togithub.com/apache/airflow/issues/17749)) - Add doc warning about connections added via envvars ([#​17915](https://togithub.com/apache/airflow/issues/17915)) - fix wrong documents around upgrade-check.rst ([#​17903](https://togithub.com/apache/airflow/issues/17903)) - Add Brent to Committers list ([#​17873](https://togithub.com/apache/airflow/issues/17873)) - Improves documentation about modules management ([#​17757](https://togithub.com/apache/airflow/issues/17757)) - Remove deprecated metrics from metrics.rst ([#​17772](https://togithub.com/apache/airflow/issues/17772)) - Make sure "production-readiness" of docker-compose is well explained ([#​17731](https://togithub.com/apache/airflow/issues/17731)) - Doc: Update Upgrade to v2 docs with Airflow 1.10.x EOL dates ([#​17710](https://togithub.com/apache/airflow/issues/17710)) - Doc: Replace deprecated param from docstrings ([#​17709](https://togithub.com/apache/airflow/issues/17709)) - docs(dagowner): describe dag owner more carefully ([#​17699](https://togithub.com/apache/airflow/issues/17699)) - docs(impersonation): update note so avoid misintrepretation ([#​17701](https://togithub.com/apache/airflow/issues/17701)) - Docs: Make `DAG.is_active` read-only in API ([#​17667](https://togithub.com/apache/airflow/issues/17667)) - Improve cross-links to operators and hooks references ([#​17622](https://togithub.com/apache/airflow/issues/17622)) - Update documentation regarding Python 3.9 support ([#​17611](https://togithub.com/apache/airflow/issues/17611)) - Fix MySQL database character set instruction ([#​17603](https://togithub.com/apache/airflow/issues/17603)) - Document overriding `XCom.clear` for data lifecycle management ([#​17589](https://togithub.com/apache/airflow/issues/17589)) - Path correction in docs for airflow core ([#​17567](https://togithub.com/apache/airflow/issues/17567)) - docs(celery): reworded, add actual multiple queues example ([#​17541](https://togithub.com/apache/airflow/issues/17541)) - Doc: Add FAQ to speed up parsing with tons of dag files ([#​17519](https://togithub.com/apache/airflow/issues/17519)) - Improve image building documentation for new users ([#​17409](https://togithub.com/apache/airflow/issues/17409)) - Doc: Strip unnecessary arguments from MariaDB JIRA URL ([#​17296](https://togithub.com/apache/airflow/issues/17296)) - Update warning about MariaDB and multiple schedulers ([#​17287](https://togithub.com/apache/airflow/issues/17287)) - Doc: Recommend using same configs on all Airflow components ([#​17146](https://togithub.com/apache/airflow/issues/17146)) - Move docs about masking to a new page ([#​17007](https://togithub.com/apache/airflow/issues/17007)) - Docs: Suggest use of Env vars instead of Airflow Vars in best practises doc ([#​16926](https://togithub.com/apache/airflow/issues/16926)) - Docs: Better description for `pod_template_file` ([#​16861](https://togithub.com/apache/airflow/issues/16861)) - Add Aneesh Joseph as Airflow Committer ([#​16835](https://togithub.com/apache/airflow/issues/16835)) - Docs: Added new pipeline example for the tutorial docs ([#​16548](https://togithub.com/apache/airflow/issues/16548)) - Remove upstart from docs ([#​16672](https://togithub.com/apache/airflow/issues/16672)) - Add new committers: `Jed` and `TP` ([#​16671](https://togithub.com/apache/airflow/issues/16671)) - Docs: Fix `flask-ouathlib` to `flask-oauthlib` in Upgrading docs ([#​16320](https://togithub.com/apache/airflow/issues/16320)) - Docs: Fix creating a connection docs ([#​16312](https://togithub.com/apache/airflow/issues/16312)) - Docs: Fix url for `Elasticsearch` ([#​16275](https://togithub.com/apache/airflow/issues/16275)) - Small improvements for README.md files ([#​16244](https://togithub.com/apache/airflow/issues/16244)) - Fix docs for `dag_concurrency` ([#​16177](https://togithub.com/apache/airflow/issues/16177)) - Check syntactic correctness for code-snippets ([#​16005](https://togithub.com/apache/airflow/issues/16005)) - Improvements for Docker Image docs ([#​14843](https://togithub.com/apache/airflow/issues/14843)) - Add proper link for wheel packages in docs. ([#​15999](https://togithub.com/apache/airflow/issues/15999)) - Add Docs for `default_pool` slots ([#​15997](https://togithub.com/apache/airflow/issues/15997)) - Add memory usage warning in quick-start documentation ([#​15967](https://togithub.com/apache/airflow/issues/15967)) - Update example `KubernetesExecutor` `git-sync` pod template file ([#​15904](https://togithub.com/apache/airflow/issues/15904)) - Docs: Fix Taskflow API docs ([#​16574](https://togithub.com/apache/airflow/issues/16574)) - Added new pipeline example for the tutorial docs ([#​16084](https://togithub.com/apache/airflow/issues/16084)) - Updating the DAG docstring to include `render_template_as_native_obj` ([#​16534](https://togithub.com/apache/airflow/issues/16534)) - Update docs on setting up SMTP ([#​16523](https://togithub.com/apache/airflow/issues/16523)) - Docs: Fix API verb from `POST` to `PATCH` ([#​16511](https://togithub.com/apache/airflow/issues/16511)) Misc/Internal """"""""""""" - Renaming variables to be consistent with code logic ([#​18685](https://togithub.com/apache/airflow/issues/18685)) - Simplify strings previously split across lines ([#​18679](https://togithub.com/apache/airflow/issues/18679)) - fix exception string of `BranchPythonOperator` ([#​18623](https://togithub.com/apache/airflow/issues/18623)) - Add multiple roles when creating users ([#​18617](https://togithub.com/apache/airflow/issues/18617)) - Move FABs base Security Manager into Airflow. ([#​16647](https://togithub.com/apache/airflow/issues/16647)) - Remove unnecessary css state colors ([#​18461](https://togithub.com/apache/airflow/issues/18461)) - Update `boto3` to `<1.19` ([#​18389](https://togithub.com/apache/airflow/issues/18389)) - Improve coverage for `airflow.security.kerberos module` ([#​18258](https://togithub.com/apache/airflow/issues/18258)) - Fix kinesis test ([#​18337](https://togithub.com/apache/airflow/issues/18337)) - Fix provider test accessing importlib-resources ([#​18228](https://togithub.com/apache/airflow/issues/18228)) - Silence warnings in tests from using SubDagOperator ([#​18275](https://togithub.com/apache/airflow/issues/18275)) - Fix usage of `range(len())` to `enumerate` ([#​18174](https://togithub.com/apache/airflow/issues/18174)) - Test coverage on the autocomplete view ([#​15943](https://togithub.com/apache/airflow/issues/15943)) - Update version added fields in airflow/config_templates/config.yml ([#​18128](https://togithub.com/apache/airflow/issues/18128)) - Add "packaging" to core requirements ([#​18122](https://togithub.com/apache/airflow/issues/18122)) - Adds LoggingMixins to BaseTrigger ([#​18106](https://togithub.com/apache/airflow/issues/18106)) - Limit colorlog version (6.x is incompatible) ([#​18099](https://togithub.com/apache/airflow/issues/18099)) - Fix building docs in `main` builds ([#​18035](https://togithub.com/apache/airflow/issues/18035)) - Remove upper-limit on `tenacity` ([#​17593](https://togithub.com/apache/airflow/issues/17593)) - Remove redundant `numpy` dependency ([#​17594](https://togithub.com/apache/airflow/issues/17594)) - Bump `mysql-connector-python` to latest version ([#​17596](https://togithub.com/apache/airflow/issues/17596)) - Make `pandas` an optional core dependency ([#​17575](https://togithub.com/apache/airflow/issues/17575)) - Add more typing to airflow.utils.helpers ([#​15582](https://togithub.com/apache/airflow/issues/15582)) - Chore: Some code cleanup in `airflow/utils/db.py` ([#​17090](https://togithub.com/apache/airflow/issues/17090)) - Refactor: Remove processor_factory from DAG processing ([#​16659](https://togithub.com/apache/airflow/issues/16659)) - Remove AbstractDagFileProcessorProcess from dag processing ([#​16816](https://togithub.com/apache/airflow/issues/16816)) - Update TaskGroup typing ([#​16811](https://togithub.com/apache/airflow/issues/16811)) - Update `click` to 8.x ([#​16779](https://togithub.com/apache/airflow/issues/16779)) - Remove remaining Pylint disables ([#​16760](https://togithub.com/apache/airflow/issues/16760)) - Remove duplicated try, there is already a try in create_session ([#​16701](https://togithub.com/apache/airflow/issues/16701)) - Removes pylint from our toolchain ([#​16682](https://togithub.com/apache/airflow/issues/16682)) - Refactor usage of unneeded function call ([#​16653](https://togithub.com/apache/airflow/issues/16653)) - Add type annotations to setup.py ([#​16658](https://togithub.com/apache/airflow/issues/16658)) - Remove SQLAlchemy <1.4 constraint ([#​16630](https://togithub.com/apache/airflow/issues/16630)) (Note: our dependencies still have a requirement on <1.4) - Refactor `dag.clear` method ([#​16086](https://togithub.com/apache/airflow/issues/16086)) - Use `DAG_ACTIONS` constant ([#​16232](https://togithub.com/apache/airflow/issues/16232)) - Use updated `_get_all_non_dag_permissions` method ([#​16317](https://togithub.com/apache/airflow/issues/16317)) - Add updated-name wrappers for built-in FAB methods ([#​16077](https://togithub.com/apache/airflow/issues/16077)) - Pins `docutils` to <0.17 until breaking behaviour is fixed ([#​16133](https://togithub.com/apache/airflow/issues/16133)) - Remove `TaskInstance.log_filepath` attribute ([#​15217](https://togithub.com/apache/airflow/issues/15217)) - Removes unnecessary function call in `airflow/www/app.py` ([#​15956](https://togithub.com/apache/airflow/issues/15956)) - Move `plyvel` to google provider extra ([#​15812](https://togithub.com/apache/airflow/issues/15812)) - Update permission migrations to use new naming scheme ([#​16400](https://togithub.com/apache/airflow/issues/16400)) - Use resource and action names for FAB ([#​16380](https://togithub.com/apache/airflow/issues/16380)) - Swap out calls to `find_permission_view_menu` for `get_permission` wrapper ([#​16377](https://togithub.com/apache/airflow/issues/16377)) - Fix deprecated default for `fab_logging_level` to `WARNING` ([#​18783](https://togithub.com/apache/airflow/issues/18783)) - Allow running tasks from UI when using `CeleryKubernetesExecutor` ([#​18441](https://togithub.com/apache/airflow/issues/18441)) ### [`v2.1.4`](https://togithub.com/apache/airflow/blob/master/CHANGELOG.txt#Airflow-214-2021-09-18) [Compare Source](https://togithub.com/apache/airflow/compare/2.1.3...2.1.4) Bug Fixes """"""""" - Fix deprecation error message rather than silencing it ([#​18126](https://togithub.com/apache/airflow/issues/18126)) - Limit the number of queued dagruns created by the Scheduler ([#​18065](https://togithub.com/apache/airflow/issues/18065)) - Fix `DagRun` execution order from queued to running not being properly followed ([#​18061](https://togithub.com/apache/airflow/issues/18061)) - Fix `max_active_runs` not allowing moving of queued dagruns to running ([#​17945](https://togithub.com/apache/airflow/issues/17945)) - Avoid redirect loop for users with no permissions ([#​17838](https://togithub.com/apache/airflow/issues/17838)) - Avoid endless redirect loop when user has no roles ([#​17613](https://togithub.com/apache/airflow/issues/17613)) - Fix log links on graph TI modal ([#​17862](https://togithub.com/apache/airflow/issues/17862)) - Hide variable import form if user lacks permission ([#​18000](https://togithub.com/apache/airflow/issues/18000)) - Improve dag/task concurrency check ([#​17786](https://togithub.com/apache/airflow/issues/17786)) - Fix Clear task instances endpoint resets all DAG runs bug ([#​17961](https://togithub.com/apache/airflow/issues/17961)) - Fixes incorrect parameter passed to views ([#​18083](https://togithub.com/apache/airflow/issues/18083)) ([#​18085](https://togithub.com/apache/airflow/issues/18085)) - Fix Sentry handler from `LocalTaskJob` causing error ([#​18119](https://togithub.com/apache/airflow/issues/18119)) - Limit `colorlog` version (6.x is incompatible) ([#​18099](https://togithub.com/apache/airflow/issues/18099)) - Only show Pause/Unpause tooltip on hover ([#​17957](https://togithub.com/apache/airflow/issues/17957)) - Improve graph view load time for dags with open groups ([#​17821](https://togithub.com/apache/airflow/issues/17821)) - Increase width for Run column ([#​17817](https://togithub.com/apache/airflow/issues/17817)) - Fix wrong query on running tis ([#​17631](https://togithub.com/apache/airflow/issues/17631)) - Add root to tree refresh url ([#​17633](https://togithub.com/apache/airflow/issues/17633)) - Do not delete running DAG from the UI ([#​17630](https://togithub.com/apache/airflow/issues/17630)) - Improve discoverability of Provider packages' functionality - Do not let `create_dagrun` overwrite explicit `run_id` ([#​17728](https://togithub.com/apache/airflow/issues/17728)) - BugFix: Regression on pid reset to allow task start after heartbeat ([#​17333](https://togithub.com/apache/airflow/issues/17333)) - Set task state to failed when pod is DELETED while running ([#​18095](https://togithub.com/apache/airflow/issues/18095)) - Advises the kernel to not cache log files generated by Airflow ([#​18054](https://togithub.com/apache/airflow/issues/18054)) - Sort adopted tasks in `_check_for_stalled_adopted_tasks` method ([#​18208](https://togithub.com/apache/airflow/issues/18208)) Doc only changes """""""""""""""" - Update version added fields in airflow/config_templates/config.yml ([#​18128](https://togithub.com/apache/airflow/issues/18128)) - Improve the description of how to handle dynamic task generation ([#​17963](https://togithub.com/apache/airflow/issues/17963)) - Improve cross-links to operators and hooks references ([#​17622](https://togithub.com/apache/airflow/issues/17622)) - Doc: Fix replacing Airflow version for Docker stack ([#​17711](https://togithub.com/apache/airflow/issues/17711)) - Make the providers operators/hooks reference much more usable ([#​17768](https://togithub.com/apache/airflow/issues/17768)) - Update description about the new `connection-types` provider meta-data - Suggest to use secrets backend for variable when it contains sensitive data ([#​17319](https://togithub.com/apache/airflow/issues/17319)) - Improves quick-start docker-compose warnings and documentation ([#​18164](https://togithub.com/apache/airflow/issues/18164)) - Separate Installing from sources section and add more details ([#​18171](https://togithub.com/apache/airflow/issues/18171)) - Doc: Use `closer.lua` script for downloading sources ([#​18179](https://togithub.com/apache/airflow/issues/18179)) - Doc: Improve installing from sources ([#​18194](https://togithub.com/apache/airflow/issues/18194)) - Improves installing from sources pages for all components ([#​18251](https://togithub.com/apache/airflow/issues/18251)) ### [`v2.1.3`](https://togithub.com/apache/airflow/blob/master/CHANGELOG.txt#Airflow-213-2021-08-23) [Compare Source](https://togithub.com/apache/airflow/compare/2.1.2...2.1.3) Bug Fixes """"""""" - Fix task retries when they receive `sigkill` and have retries and properly handle `sigterm` ([#​16301](https://togithub.com/apache/airflow/issues/16301)) - Fix redacting secrets in context exceptions. ([#​17618](https://togithub.com/apache/airflow/issues/17618)) - Fix race condition with dagrun callbacks ([#​16741](https://togithub.com/apache/airflow/issues/16741)) - Add 'queued' to DagRunState ([#​16854](https://togithub.com/apache/airflow/issues/16854)) - Add 'queued' state to DagRun ([#​16401](https://togithub.com/apache/airflow/issues/16401)) - Fix external elasticsearch logs link ([#​16357](https://togithub.com/apache/airflow/issues/16357)) - Add proper warning message when recorded PID is different from current PID ([#​17411](https://togithub.com/apache/airflow/issues/17411)) - Fix running tasks with `default_impersonation` config ([#​17229](https://togithub.com/apache/airflow/issues/17229)) - Rescue if a DagRun's DAG was removed from db ([#​17544](https://togithub.com/apache/airflow/issues/17544)) - Fixed broken json_client ([#​17529](https://togithub.com/apache/airflow/issues/17529)) - Handle and log exceptions raised during task callback ([#​17347](https://togithub.com/apache/airflow/issues/17347)) - Fix CLI `kubernetes cleanup-pods` which fails on invalid label key ([#​17298](https://togithub.com/apache/airflow/issues/17298)) - Show serialization exceptions in DAG parsing log ([#​17277](https://togithub.com/apache/airflow/issues/17277)) - Fix: `TaskInstance` does not show `queued_by_job_id` & `external_executor_id` ([#​17179](https://togithub.com/apache/airflow/issues/17179)) - Adds more explanatory message when `SecretsMasker` is not configured ([#​17101](https://togithub.com/apache/airflow/issues/17101)) - Enable the use of `__init_subclass__` in subclasses of `BaseOperator` ([#​17027](https://togithub.com/apache/airflow/issues/17027)) - Fix task instance retrieval in XCom view ([#​16923](https://togithub.com/apache/airflow/issues/16923)) - Validate type of `priority_weight` during parsing ([#​16765](https://togithub.com/apache/airflow/issues/16765)) - Correctly handle custom `` deps` and ``task_group\`\` during DAG Serialization ([#​16734](https://togithub.com/apache/airflow/issues/16734)) - Fix slow (cleared) tasks being be adopted by Celery worker. ([#​16718](https://togithub.com/apache/airflow/issues/16718)) - Fix calculating duration in tree view ([#​16695](https://togithub.com/apache/airflow/issues/16695)) - Fix `AttributeError`: `datetime.timezone` object has no attribute `name` ([#​16599](https://togithub.com/apache/airflow/issues/16599)) - Redact conn secrets in webserver logs ([#​16579](https://togithub.com/apache/airflow/issues/16579)) - Change graph focus to top of view instead of center ([#​16484](https://togithub.com/apache/airflow/issues/16484)) - Fail tasks in scheduler when executor reports they failed ([#​15929](https://togithub.com/apache/airflow/issues/15929)) - fix(smart_sensor): Unbound variable errors ([#​14774](https://togithub.com/apache/airflow/issues/14774)) - Add back missing permissions to `UserModelView` controls. ([#​17431](https://togithub.com/apache/airflow/issues/17431)) - Better diagnostics and self-healing of docker-compose ([#​17484](https://togithub.com/apache/airflow/issues/17484)) - Improve diagnostics message when users have `secret_key` mis-configured ([#​17410](https://togithub.com/apache/airflow/issues/17410)) - Stop checking `execution_date` in `task_instance.refresh_from_db` ([#​16809](https://togithub.com/apache/airflow/issues/16809)) Improvements """""""""""" - Run mini scheduler in `LocalTaskJob` during task exit ([#​16289](https://togithub.com/apache/airflow/issues/16289)) - Remove `SQLAlchemy<1.4` constraint ([#​16630](https://togithub.com/apache/airflow/issues/16630)) - Bump Jinja2 upper-bound from 2.12.0 to 4.0.0 ([#​16595](https://togithub.com/apache/airflow/issues/16595)) - Bump `dnspython` ([#​16698](https://togithub.com/apache/airflow/issues/16698)) - Updates to `FlaskAppBuilder` 3.3.2+ ([#​17208](https://togithub.com/apache/airflow/issues/17208)) - Add State types for tasks and DAGs ([#​15285](https://togithub.com/apache/airflow/issues/15285)) - Set Process title for Worker when using `LocalExecutor` ([#​16623](https://togithub.com/apache/airflow/issues/16623)) - Move `DagFileProcessor` and `DagFileProcessorProcess` out of `scheduler_job.py` ([#​16581](https://togithub.com/apache/airflow/issues/16581)) Doc only changes """""""""""""""" - Fix inconsistencies in configuration docs ([#​17317](https://togithub.com/apache/airflow/issues/17317)) - Fix docs link for using SQLite as Metadata DB ([#​17308](https://togithub.com/apache/airflow/issues/17308)) Misc """" - Switch back http provider after requests removes LGPL dependency ([#​16974](https://togithub.com/apache/airflow/issues/16974)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/GoogleCloudPlatform/python-docs-samples).