Skip to content

chore(deps): update dependency apache-airflow to v2.5.2 - #9291

Merged
m-strzelczyk merged 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/apache-airflow-2.x
Mar 17, 2023
Merged

m-strzelczyk merged 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/apache-airflow-2.x

Conversation

@renovate-bot

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
apache-airflow (source) ==1.10.15 -> ==2.5.2 age adoption passing confidence
apache-airflow (source) ==2.4.3 -> ==2.5.2 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

apache/airflow

v2.5.2

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

The date-time fields passed as API parameters or Params should be RFC3339-compliant (#​29395)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

In case of API calls, it was possible that "+" passed as part of the date-time fields were not URL-encoded, and
such date-time fields could pass validation. Such date-time parameters should now be URL-encoded (as %2B).

In case of parameters, we still allow IS8601-compliant date-time (so for example it is possible that
' ' was used instead of T separating date from time and no timezone was specified) but we raise
deprecation warning.

Default for [webserver] expose_hostname changed to False (#​29547)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

The default for [webserver] expose_hostname has been set to False, instead of True. This means administrators must opt-in to expose webserver hostnames to end users.

Bug Fixes
^^^^^^^^^

  • Fix validation of date-time field in API and Parameter schemas (#​29395)
  • Fix grid logs for large logs (#​29390)
  • Fix on_failure_callback when task receives a SIGTERM (#​29743)
  • Update min version of python-daemon to fix containerd file limits (#​29916)
  • POST /dagRuns API should 404 if dag not active (#​29860)
  • DAG list sorting lost when switching page (#​29756)
  • Fix Scheduler crash when clear a previous run of a normal task that is now a mapped task (#​29645)
  • Convert moment with timezone to UTC instead of raising an exception (#​29606)
  • Fix clear dag run openapi spec responses by adding additional return type (#​29600)
  • Don't display empty rendered attrs in Task Instance Details page (#​29545)
  • Remove section check from get-value command (#​29541)
  • Do not show version/node in UI traceback for unauthenticated user (#​29501)
  • Make prev_logical_date variable offset-aware (#​29454)
  • Fix nested fields rendering in mapped operators (#​29451)
  • Datasets, next_run_datasets, remove unnecessary timestamp filter (#​29441)
  • Edgemodifier refactoring w/ labels in TaskGroup edge case (#​29410)
  • Fix Rest API update user output (#​29409)
  • Ensure Serialized DAG is deleted (#​29407)
  • Persist DAG and task doc values in TaskFlow API if explicitly set (#​29399)
  • Redirect to the origin page with all the params (#​29212)
  • Fixing Task Duration view in case of manual DAG runs only (#​22015) (#​29195)
  • Remove poke method to fall back to parent implementation (#​29146)
  • PR: Introduced fix to run tasks on Windows systems (#​29107)
  • Fix warning in migrations about old config. (#​29092)
  • Emit dagrun failed duration when timeout (#​29076)
  • Handling error on cluster policy itself (#​29056)
  • Fix kerberos authentication for the REST API. (#​29054)
  • Fix leak sensitive field via V1EnvVar on exception (#​29016)
  • Sanitize url_for arguments before they are passed (#​29039)
  • Fix dag run trigger with a note. (#​29228)
  • Write action log to DB when DAG run is triggered via API (#​28998)
  • Resolve all variables in pickled XCom iterator (#​28982)
  • Allow URI without authority and host blocks in airflow connections add (#​28922)
  • Be more selective when adopting pods with KubernetesExecutor (#​28899)
  • KubenetesExecutor sends state even when successful (#​28871)
  • Annotate KubernetesExecutor pods that we don't delete (#​28844)
  • Throttle streaming log reads (#​28818)
  • Introduce dag processor job (#​28799)
  • Fix #​28391 manual task trigger from UI fails for k8s executor (#​28394)
  • Logging poke info when external dag is not none and task_id and task_ids are none (#​28097)
  • Fix inconsistencies in checking edit permissions for a DAG (#​20346)

Misc/Internal
^^^^^^^^^^^^^

  • Add a check for not templateable fields (#​29821)
  • Removed continue for not in (#​29791)
  • Move extra links position in grid view (#​29703)
  • Bump undici from 5.9.1 to 5.19.1 (#​29583)
  • Change expose_hostname default to false (#​29547)
  • Change permissions of config/password files created by airflow (#​29495)
  • Use newer setuptools v67.2.0 (#​29465)
  • Increase max height for grid view elements (#​29367)
  • Clarify description of worker control config (#​29247)
  • Bump ua-parser-js from 0.7.31 to 0.7.33 in /airflow/www (#​29172)
  • Remove upper bound limitation for pytest (#​29086)
  • Check for run_id url param when linking to graph/gantt views (#​29066)
  • Clarify graph view dynamic task labels (#​29042)
  • Fixing import error for dataset (#​29007)
  • Update how PythonSensor returns values from python_callable (#​28932)
  • Add dep context description for better log message (#​28875)
  • Bump swagger-ui-dist from 3.52.0 to 4.1.3 in /airflow/www (#​28824)
  • Limit importlib-metadata backport to < 5.0.0 (#​29924, #​30069)

Doc Only Changes
^^^^^^^^^^^^^^^^

  • Update pipeline.rst - Fix query in merge_data() task (#​29158)
  • Correct argument name of Workday timetable in timetable.rst (#​29896)
  • Update ref anchor for env var link in Connection how-to doc (#​29816)
  • Better description for limit in api (#​29773)
  • Description of dag_processing.last_duration (#​29740)
  • Update docs re: template_fields typing and subclasses (#​29725)
  • Fix formatting of Dataset inlet/outlet note in TaskFlow concepts (#​29678)
  • Specific use-case: adding packages via requirements.txt in compose (#​29598)
  • Detect is 'docker-compose' existing (#​29544)
  • Add Landing Times entry to UI docs (#​29511)
  • Improve health checks in example docker-compose and clarify usage (#​29408)
  • Remove notes param from TriggerDagRunOperator docstring (#​29298)
  • Use schedule param rather than timetable in Timetables docs (#​29255)
  • Add trigger process to Airflow Docker docs (#​29203)
  • Update set-up-database.rst (#​29104)
  • Several improvements to the Params doc (#​29062)
  • Email Config docs more explicit env var examples (#​28845)
  • Listener plugin example added (#​27905)

v2.5.1

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

Trigger gevent monkeypatching via environment variable (#​28283)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

If you are using gevent for your webserver deployment and used local settings to monkeypatch gevent,
you might want to replace local settings patching with an _AIRFLOW_PATCH_GEVENT environment variable
set to 1 in your webserver. This ensures gevent patching is done as early as possible.

Bug Fixes
^^^^^^^^^

  • Fix masking of non-sensitive environment variables (#​28802)
  • Remove swagger-ui extra from connexion and install swagger-ui-dist via npm package (#​28788)
  • Fix UIAlert should_show when AUTH_ROLE_PUBLIC set (#​28781)
  • Only patch single label when adopting pod (#​28776)
  • Update CSRF token to expire with session (#​28730)
  • Fix "airflow tasks render" cli command for mapped task instances (#​28698)
  • Allow XComArgs for external_task_ids of ExternalTaskSensor (#​28692)
  • Row-lock TIs to be removed during mapped task expansion (#​28689)
  • Handle ConnectionReset exception in Executor cleanup (#​28685)
  • Fix description of output redirection for access_log for gunicorn (#​28672)
  • Add back join to zombie query that was dropped in #​28198 (#​28544)
  • Fix calendar view for CronTriggerTimeTable dags (#​28411)
  • After running the DAG the employees table is empty. (#​28353)
  • Fix DetachedInstanceError when finding zombies in Dag Parsing process (#​28198)
  • Nest header blocks in divs to fix dagid copy nit on dag.html (#​28643)
  • Fix UI caret direction (#​28624)
  • Guard not-yet-expanded ti in trigger rule dep (#​28592)
  • Move TI setNote endpoints under TaskInstance in OpenAPI (#​28566)
  • Consider previous run in CronTriggerTimetable (#​28532)
  • Ensure correct log dir in file task handler (#​28477)
  • Fix bad pods pickled in executor_config (#​28454)
  • Add ensure_ascii=False in trigger dag run API (#​28451)
  • Add setters to MappedOperator on_*_callbacks (#​28313)
  • Fix ti._try_number for deferred and up_for_reschedule tasks (#​26993)
  • separate callModal from dag.js (#​28410)
  • A manual run can't look like a scheduled one (#​28397)
  • Dont show task/run durations when there is no start_date (#​28395)
  • Maintain manual scroll position in task logs (#​28386)
  • Correctly select a mapped task's "previous" task (#​28379)
  • Trigger gevent monkeypatching via environment variable (#​28283)
  • Fix db clean warnings (#​28243)
  • Make arguments 'offset' and 'length' not required (#​28234)
  • Make live logs reading work for "other" k8s executors (#​28213)
  • Add custom pickling hooks to LazyXComAccess (#​28191)
  • fix next run datasets error (#​28165)
  • Ensure that warnings from @dag decorator are reported in dag file (#​28153)
  • Do not warn when airflow dags tests command is used (#​28138)
  • Ensure the dagbag_size metric decreases when files are deleted (#​28135)
  • Improve run/task grid view actions (#​28130)
  • Make BaseJob.most_recent_job favor "running" jobs (#​28119)
  • Don't emit FutureWarning when code not calling old key (#​28109)
  • Add airflow.api.auth.backend.session to backend sessions in compose (#​28094)
  • Resolve false warning about calling conf.get on moved item (#​28075)
  • Return list of tasks that will be changed (#​28066)
  • Handle bad zip files nicely when parsing DAGs. (#​28011)
  • Prevent double loading of providers from local paths (#​27988)
  • Fix deadlock when chaining multiple empty mapped tasks (#​27964)
  • fix: current_state method on TaskInstance doesn't filter by map_index (#​27898)
  • Don't log CLI actions if db not initialized (#​27851)
  • Make sure we can get out of a faulty scheduler state (#​27834)
  • dagrun, next_dagruns_to_examine, add MySQL index hint (#​27821)
  • Handle DAG disappearing mid-flight when dag verification happens (#​27720)
  • fix: continue checking sla (#​26968)
  • Allow generation of connection URI to work when no conn type (#​26765)

Misc/Internal
^^^^^^^^^^^^^

  • Remove limit for dnspython after eventlet got fixed (#​29004)
  • Limit dnspython to < 2.3.0 until eventlet incompatibility is solved (#​28962)
  • Add automated version replacement in example dag indexes (#​28090)
  • Cleanup and do housekeeping with plugin examples (#​28537)
  • Limit SQLAlchemy to below 2.0 (#​28725)
  • Bump json5 from 1.0.1 to 1.0.2 in /airflow/www (#​28715)
  • Fix some docs on using sensors with taskflow (#​28708)
  • Change Architecture and OperatingSystem classes into Enums (#​28627)
  • Add doc-strings and small improvement to email util (#​28634)
  • Fix Connection.get_extra type (#​28594)
  • navbar, cap dropdown size, and add scroll bar (#​28561)
  • Emit warnings for conf.get* from the right source location (#​28543)
  • Move MyPY plugins of ours to dev folder (#​28498)
  • Add retry to purge_inactive_dag_warnings (#​28481)
  • Re-enable Plyvel on ARM as it now builds cleanly (#​28443)
  • Add SIGUSR2 handler for LocalTaskJob and workers to aid debugging (#​28309)
  • Convert test_task_command to Pytest and unquarantine tests in it (#​28247)
  • Make invalid characters exception more readable (#​28181)
  • Bump decode-uri-component from 0.2.0 to 0.2.2 in /airflow/www (#​28080)
  • Use asserts instead of exceptions for executor not started (#​28019)
  • Simplify dataset subgraph logic (#​27987)
  • Order TIs by map_index (#​27904)
  • Additional info about Segmentation Fault in LocalTaskJob (#​27381)

Doc Only Changes
^^^^^^^^^^^^^^^^

  • Mention mapped operator in cluster policy doc (#​28885)
  • Slightly improve description of Dynamic DAG generation preamble (#​28650)
  • Restructure Docs (#​27235)
  • Update scheduler docs about low priority tasks (#​28831)
  • Clarify that versioned constraints are fixed at release time (#​28762)
  • Clarify about docker compose (#​28729)
  • Adding an example dag for dynamic task mapping (#​28325)
  • Use docker compose v2 command (#​28605)
  • Add AIRFLOW_PROJ_DIR to docker-compose example (#​28517)
  • Remove outdated Optional Provider Feature outdated documentation (#​28506)
  • Add documentation for [core] mp_start_method config (#​27993)
  • Documentation for the LocalTaskJob return code counter (#​27972)
  • Note which versions of Python are supported (#​27798)

v2.5.0

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

airflow dags test no longer performs a backfill job (#​26400)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

In order to make airflow dags test more useful as a testing and debugging tool, we no
longer run a backfill job and instead run a "local task runner". Users can still backfill
their DAGs using the airflow dags backfill command.

Airflow config section kubernetes renamed to kubernetes_executor (#​26873)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

KubernetesPodOperator no longer considers any core kubernetes config params, so this section now only applies to kubernetes executor. Renaming it reduces potential for confusion.

AirflowException is now thrown as soon as any dependent tasks of ExternalTaskSensor fails (#​27190)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

ExternalTaskSensor no longer hangs indefinitely when failed_states is set, an execute_date_fn is used, and some but not all of the dependent tasks fail.
Instead, an AirflowException is thrown as soon as any of the dependent tasks fail.
Any code handling this failure in addition to timeouts should move to caching the AirflowException BaseClass and not only the AirflowSensorTimeout subclass.

The Airflow config option scheduler.deactivate_stale_dags_interval has been renamed to scheduler.parsing_cleanup_interval (#​27828).
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

The old option will continue to work but will issue deprecation warnings, and will be removed entirely in Airflow 3.

New Features
^^^^^^^^^^^^

  • TaskRunner: notify of component start and finish (#​27855)
  • Add DagRun state change to the Listener plugin system(#​27113)
  • Metric for raw task return codes (#​27155)
  • Add logic for XComArg to pull specific map indexes (#​27771)
  • Clear TaskGroup (#​26658, #​28003)
  • Add critical section query duration metric (#​27700)
  • Add: #​23880 :: Audit log for AirflowModelViews(Variables/Connection) (#​24079, #​27994, #​27923)
  • Add postgres 15 support (#​27444)
  • Expand tasks in mapped group at run time (#​27491)
  • reset commits, clean submodules (#​27560)
  • scheduler_job, add metric for scheduler loop timer (#​27605)
  • Allow datasets to be used in taskflow (#​27540)
  • Add expanded_ti_count to ti context (#​27680)
  • Add user comment to task instance and dag run (#​26457, #​27849, #​27867)
  • Enable copying DagRun JSON to clipboard (#​27639)
  • Implement extra controls for SLAs (#​27557)
  • add dag parsed time in DAG view (#​27573)
  • Add max_wait for exponential_backoff in BaseSensor (#​27597)
  • Expand tasks in mapped group at parse time (#​27158)
  • Add disable retry flag on backfill (#​23829)
  • Adding sensor decorator (#​22562)
  • Api endpoint update ti (#​26165)
  • Filtering datasets by recent update events (#​26942)
  • Support Is /not Null filter for value is None on webui (#​26584)
  • Add search to datasets list (#​26893)
  • Split out and handle 'params' in mapped operator (#​26100)
  • Add authoring API for TaskGroup mapping (#​26844)
  • Add one_done trigger rule (#​26146)
  • Create a more efficient airflow dag test command that also has better local logging (#​26400)
  • Support add/remove permissions to roles commands (#​26338)
  • Auto tail file logs in Web UI (#​26169)
  • Add triggerer info to task instance in API (#​26249)
  • Flag to deserialize value on custom XCom backend (#​26343)

Improvements
^^^^^^^^^^^^

  • Allow depth-first execution (#​27827)
  • UI: Update offset height if data changes (#​27865)
  • Improve TriggerRuleDep typing and readability (#​27810)
  • Make views requiring session, keyword only args (#​27790)
  • Optimize TI.xcom_pull() with explicit task_ids and map_indexes (#​27699)
  • Allow hyphens in pod id used by k8s executor (#​27737)
  • optimise task instances filtering (#​27102)
  • Use context managers to simplify log serve management (#​27756)
  • Fix formatting leftovers (#​27750)
  • Improve task deadlock messaging (#​27734)
  • Improve "sensor timeout" messaging (#​27733)
  • Replace urlparse with urlsplit (#​27389)
  • Align TaskGroup semantics to AbstractOperator (#​27723)
  • Add new files to parsing queue on every loop of dag processing (#​27060)
  • Make Kubernetes Executor & Scheduler resilient to error during PMH execution (#​27611)
  • Separate dataset deps into individual graphs (#​27356)
  • Use log.exception where more economical than log.error (#​27517)
  • Move validation branch_task_ids into SkipMixin (#​27434)
  • Coerce LazyXComAccess to list when pushed to XCom (#​27251)
  • Update cluster-policies.rst docs (#​27362)
  • Add warning if connection type already registered within the provider (#​27520)
  • Activate debug logging in commands with --verbose option (#​27447)
  • Add classic examples for Python Operators (#​27403)
  • change .first() to .scalar() (#​27323)
  • Improve reset_dag_run description (#​26755)
  • Add examples and howtos about sensors (#​27333)
  • Make grid view widths adjustable (#​27273)
  • Sorting plugins custom menu links by category before name (#​27152)
  • Simplify DagRun.verify_integrity (#​26894)
  • Add mapped task group info to serialization (#​27027)
  • Correct the JSON style used for Run config in Grid View (#​27119)
  • No extra__conn_type__ prefix required for UI behaviors (#​26995)
  • Improve dataset update blurb (#​26878)
  • Rename kubernetes config section to kubernetes_executor (#​26873)
  • decode params for dataset searches (#​26941)
  • Get rid of the DAGRun details page & rely completely on Grid (#​26837)
  • Fix scheduler crashloopbackoff when using hostname_callable (#​24999)
  • Reduce log verbosity in KubernetesExecutor. (#​26582)
  • Don't iterate tis list twice for no reason (#​26740)
  • Clearer code for PodGenerator.deserialize_model_file (#​26641)
  • Don't import kubernetes unless you have a V1Pod (#​26496)
  • Add updated_at column to DagRun and Ti tables (#​26252)
  • Move the deserialization of custom XCom Backend to 2.4.0 (#​26392)
  • Avoid calculating all elements when one item is needed (#​26377)
  • Add __future__.annotations automatically by isort (#​26383)
  • Handle list when serializing expand_kwargs (#​26369)
  • Apply PEP-563 (Postponed Evaluation of Annotations) to core airflow (#​26290)
  • Add more weekday operator and sensor examples #​26071 (#​26098)
  • Align TaskGroup semantics to AbstractOperator (#​27723)

Bug Fixes
^^^^^^^^^

  • Gracefully handle whole config sections being renamed (#​28008)
  • Add allow list for imports during deserialization (#​27887)
  • Soft delete datasets that are no longer referenced in DAG schedules or task outlets (#​27828)
  • Redirect to home view when there are no valid tags in the URL (#​25715)
  • Refresh next run datasets info in dags view (#​27839)
  • Make MappedTaskGroup depend on its expand inputs (#​27876)
  • Make DagRun state updates for paused DAGs faster (#​27725)
  • Don't explicitly set include_examples to False on task run command (#​27813)
  • Fix menu border color (#​27789)
  • Fix backfill queued task getting reset to scheduled state. (#​23720)
  • Fix clearing child dag mapped tasks from parent dag (#​27501)
  • Handle json encoding of V1Pod in task callback (#​27609)
  • Fix ExternalTaskSensor can't check zipped dag (#​27056)
  • Avoid re-fetching DAG run in TriggerDagRunOperator (#​27635)
  • Continue on exception when retrieving metadata (#​27665)
  • External task sensor fail fix (#​27190)
  • Add the default None when pop actions (#​27537)
  • Display parameter values from serialized dag in trigger dag view. (#​27482, #​27944)
  • Move TriggerDagRun conf check to execute (#​27035)
  • Resolve trigger assignment race condition (#​27072)
  • Update google_analytics.html (#​27226)
  • Fix some bug in web ui dags list page (auto-refresh & jump search null state) (#​27141)
  • Fixed broken URL for docker-compose.yaml (#​26721)
  • Fix xcom arg.py .zip bug (#​26636)
  • Fix 404 taskInstance errors and split into two tables (#​26575)
  • Fix browser warning of improper thread usage (#​26551)
  • template rendering issue fix (#​26390)
  • Clear autoregistered DAGs if there are any import errors (#​26398)
  • Fix from airflow import version lazy import (#​26239)
  • allow scroll in triggered dag runs modal (#​27965)

Misc/Internal
^^^^^^^^^^^^^

  • Remove is_mapped attribute (#​27881)
  • Simplify FAB table resetting (#​27869)
  • Fix old-style typing in Base Sensor (#​27871)
  • Switch (back) to late imports (#​27730)
  • Completed D400 for multiple folders (#​27748)
  • simplify notes accordion test (#​27757)
  • completed D400 for airflow/callbacks/* airflow/cli/* (#​27721)
  • Completed D400 for airflow/api_connexion/* directory (#​27718)
  • Completed D400 for airflow/listener/* directory (#​27731)
  • Completed D400 for airflow/lineage/* directory (#​27732)
  • Update API & Python Client versions (#​27642)
  • Completed D400 & D401 for airflow/api/* directory (#​27716)
  • Completed D400 for multiple folders (#​27722)
  • Bump minimatch from 3.0.4 to 3.0.8 in /airflow/www (#​27688)
  • Bump loader-utils from 1.4.1 to 1.4.2 in /airflow/www (#​27697)
  • Disable nested task mapping for now (#​27681)
  • bump alembic minimum version (#​27629)
  • remove unused code.html (#​27585)
  • Enable python string normalization everywhere (#​27588)
  • Upgrade dependencies in order to avoid backtracking (#​27531)
  • Strengthen a bit and clarify importance of triaging issues (#​27262)
  • Deduplicate type hints (#​27508)
  • Add stub 'yield' to BaseTrigger.run (#​27416)
  • Remove upper-bound limit to dask (#​27415)
  • Limit Dask to under 2022.10.1 (#​27383)
  • Update old style typing (#​26872)
  • Enable string normalization for docs (#​27269)
  • Slightly faster up/downgrade tests (#​26939)
  • Deprecate use of core get_kube_client in PodManager (#​26848)
  • Add memray files to gitignore / dockerignore (#​27001)
  • Bump sphinx and sphinx-autoapi (#​26743)
  • Simplify RTIF.delete_old_records() (#​26667)
  • migrate last react files to typescript (#​26112)
  • Work around pyupgrade edge cases (#​26384)

Doc only changes
^^^^^^^^^^^^^^^^

  • Document dag_file_processor_timeouts metric as deprecated (#​27067)
  • Drop support for PostgreSQL 10 (#​27594)
  • Update index.rst (#​27529)
  • Add note about pushing the lazy XCom proxy to XCom (#​27250)
  • Fix BaseOperator link (#​27441)
  • [docs] best-practices add use variable with template example. (#​27316)
  • docs for custom view using plugin (#​27244)
  • Update graph view and grid view on overview page (#​26909)
  • Documentation fixes (#​26819)
  • make consistency on markup title string level (#​26696)
  • Add documentation to dag test function (#​26713)
  • Fix broken URL for docker-compose.yaml (#​26726)
  • Add a note against use of top level code in timetable (#​26649)
  • Fix example_datasets dag names (#​26495)
  • Update docs: zip-like effect is now possible in task mapping (#​26435)
  • changing to task decorator in docs from classic operator use (#​25711)

v2.4.3

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

Make RotatingFilehandler used in DagProcessor non-caching (#​27223)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

In case you want to decrease cache memory when CONFIG_PROCESSOR_MANAGER_LOGGER=True, and you have your local settings created before,
you can update processor_manager_handler to use airflow.utils.log.non_caching_file_handler.NonCachingRotatingFileHandler handler instead of logging.RotatingFileHandler.

Bug Fixes
^^^^^^^^^

  • Fix double logging with some task logging handler (#​27591)
  • Replace FAB url filtering function with Airflow's (#​27576)
  • Fix mini scheduler expansion of mapped task (#​27506)
  • SLAMiss is nullable and not always given back when pulling task instances (#​27423)
  • Fix behavior of _ when searching for DAGs (#​27448)
  • Fix getting the dag/task ids from BaseExecutor (#​27550)
  • Fix SQLAlchemy primary key black-out error on DDRQ (#​27538)
  • Fix IntegrityError during webserver startup (#​27297)
  • Add case insensitive constraint to username (#​27266)
  • Fix python external template keys (#​27256)
  • Reduce extraneous task log requests (#​27233)
  • Make RotatingFilehandler used in DagProcessor non-caching (#​27223)
  • Listener: Set task on SQLAlchemy TaskInstance object (#​27167)
  • Fix dags list page auto-refresh & jump search null state (#​27141)
  • Set executor.job_id to BackfillJob.id for backfills (#​27020)

Misc/Internal
^^^^^^^^^^^^^

  • Bump loader-utils from 1.4.0 to 1.4.1 in /airflow/www (#​27552)
  • Reduce log level for k8s TCP_KEEPALIVE etc warnings (#​26981)

Doc only changes
^^^^^^^^^^^^^^^^

  • Use correct executable in docker compose docs (#​27529)
  • Fix wording in DAG Runs description (#​27470)
  • Document that KubernetesExecutor overwrites container args (#​27450)
  • Fix BaseOperator links (#​27441)
  • Correct timer units to seconds from milliseconds. (#​27360)
  • Add missed import in the Trigger Rules example (#​27309)
  • Update SLA wording to reflect it is relative to Dag Run start. (#​27111)
  • Add kerberos environment variables to the docs (#​27028)

v2.4.2

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

Default for [webserver] expose_stacktrace changed to False (#​27059)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

The default for [webserver] expose_stacktrace has been set to False, instead of True. This means administrators must opt-in to expose tracebacks to end users.

Bug Fixes
^^^^^^^^^

  • Make tracebacks opt-in (#​27059)
  • Add missing AUTOINC/SERIAL for FAB tables (#​26885)
  • Add separate error handler for 405(Method not allowed) errors (#​26880)
  • Don't re-patch pods that are already controlled by current worker (#​26778)
  • Handle mapped tasks in task duration chart (#​26722)
  • Fix task duration cumulative chart (#​26717)
  • Avoid 500 on dag redirect (#​27064)
  • Filter dataset dependency data on webserver (#​27046)
  • Remove double collection of dags in airflow dags reserialize (#​27030)
  • Fix auto refresh for graph view (#​26926)
  • Don't overwrite connection extra with invalid json (#​27142)
  • Fix next run dataset modal links (#​26897)
  • Change dag audit log sort by date from asc to desc (#​26895)
  • Bump min version of jinja2 (#​26866)
  • Add missing colors to state_color_mapping jinja global (#​26822)
  • Fix running debuggers inside airflow tasks test (#​26806)
  • Fix warning when using xcomarg dependencies (#​26801)
  • demote Removed state in priority for displaying task summaries (#​26789)
  • Ensure the log messages from operators during parsing go somewhere (#​26779)
  • Add restarting state to TaskState Enum in REST API (#​26776)
  • Allow retrieving error message from data.detail (#​26762)
  • Simplify origin string cleaning (#​27143)
  • Remove DAG parsing from StandardTaskRunner (#​26750)
  • Fix non-hidden cumulative chart on duration view (#​26716)
  • Remove TaskFail duplicates check (#​26714)
  • Fix airflow tasks run --local when dags_folder differs from that of processor (#​26509)
  • Fix yarn warning from d3-color (#​27139)
  • Fix version for a couple configurations (#​26491)
  • Revert "No grid auto-refresh for backfill dag runs (#​25042)" (#​26463)
  • Retry on Airflow Schedule DAG Run DB Deadlock (#​26347)

Misc/Internal
^^^^^^^^^^^^^

Doc only changes
^^^^^^^^^^^^^^^^

  • Fixed triple quotes in task group example (#​26829)
  • Documentation fixes (#​26819)
  • make consistency on markup title string level (#​26696)
  • Add a note against use of top level code in timetable (#​26649)
  • Fix broken URL for docker-compose.yaml (#​26726)

v2.4.1

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

No significant changes.

Bug Fixes
^^^^^^^^^

  • When rendering template, unmap task in context (#​26702)
  • Fix scroll overflow for ConfirmDialog (#​26681)
  • Resolve deprecation warning re Table.exists() (#​26616)
  • Fix XComArg zip bug (#​26636)
  • Use COALESCE when ordering runs to handle NULL (#​26626)
  • Check user is active (#​26635)
  • No missing user warning for public admin (#​26611)
  • Allow MapXComArg to resolve after serialization (#​26591)
  • Resolve warning about DISTINCT ON query on dags view (#​26608)
  • Log warning when secret backend kwargs is invalid (#​26580)
  • Fix grid view log try numbers (#​26556)
  • Template rendering issue in passing templates_dict to task decorator (#​26390)
  • Fix Deferrable stuck as scheduled during backfill (#​26205)
  • Suppress SQLALCHEMY_TRACK_MODIFICATIONS warning in db init (#​26617)
  • Correctly set json_provider_class on Flask app so it uses our encoder (#​26554)
  • Fix WSGI root app (#​26549)
  • Fix deadlock when mapped task with removed upstream is rerun (#​26518)
  • ExecutorConfigType should be cacheable (#​26498)
  • Fix proper joining of the path for logs retrieved from celery workers (#​26493)
  • DAG Deps extends base_template (#​26439)
  • Don't update backfill run from the scheduler (#​26342)

Doc only changes
^^^^^^^^^^^^^^^^

  • Clarify owner links document (#​26515)
  • Fix invalid RST in dataset concepts doc (#​26434)
  • Document the non-sensitive-only option for expose_config (#​26507)
  • Fix example_datasets dag names (#​26495)
  • Zip-like effect is now possible in task mapping (#​26435)
  • Use tas

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot
renovate-bot requested review from a team, leahecole and rachael-ds as code owners March 16, 2023 19:49
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 16, 2023
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: composer Issues related to the Managed Service for Apache Airflow API. labels Mar 16, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 16, 2023
@m-strzelczyk
m-strzelczyk merged commit 15010d2 into GoogleCloudPlatform:main Mar 17, 2023
@renovate-bot
renovate-bot deleted the renovate/apache-airflow-2.x branch March 17, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: composer Issues related to the Managed Service for Apache Airflow API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants