ephraimbuddy commented on code in PR #23260: URL: https://github.com/apache/airflow/pull/23260#discussion_r858952173
########## RELEASE_NOTES.rst: ########## @@ -21,6 +21,555 @@ .. towncrier release notes start +Airflow 2.3.0 (2022-04-29) +-------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ + +Passing ``execution_date`` to ``XCom.set()``, ``XCom.clear()`` , ``XCom.get_one()`` , and ``XCom.get_many()`` is deprecated (#19825) +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +Continuing the effort to bind TaskInstance to a DagRun, XCom entries are now also tied to a DagRun. Use the ``run_id`` argument to specify the DagRun instead. + +Task log templates are now read from the metadatabase instead of ``airflow.cfg`` (#20165) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + Previously, a task’s log is dynamically rendered from the ``[core] log_filename_template`` and ``[elasticsearch] log_id_template`` config values at runtime. This resulted in unfortunate characteristics, e.g. it is impractical to modify the config value after an Airflow instance is running for a while, since all existing task logs have be saved under the previous format and cannot be found with the new config value. + + A new ``log_template`` table is introduced to solve this problem. This table is synchronised with the aforementioned config values every time Airflow starts, and a new field ``log_template_id`` is added to every DAG run to point to the format used by tasks (``NULL`` indicates the first ever entry for compatibility). + +Minimum kubernetes version bumped from ``3.0.0`` to ``21.7.0`` (#20759) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + + No change in behavior is expected. This was necessary in order to take advantage of a `bugfix <https://github.com/kubernetes-client/python-base/commit/70b78cd8488068c014b6d762a0c8d358273865b4>`_ concerning refreshing of Kubernetes API tokens with EKS, which enabled the removal of some `workaround code <https://github.com/apache/airflow/pull/20759>`_. + +XCom now define ``run_id`` instead of ``execution_date`` (#20975) Review Comment: ```suggestion XCom now defined by ``run_id`` instead of ``execution_date`` (#20975) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
