This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new ba4f541fba Update version_added field for configs in config file 
(#33509)
ba4f541fba is described below

commit ba4f541fba656acb6c35469c97a1e1bfc79f2d96
Author: Ephraim Anierobi <[email protected]>
AuthorDate: Fri Aug 18 21:54:32 2023 +0100

    Update version_added field for configs in config file (#33509)
    
    The otel was 2.6.0 as can be seen here: 
https://github.com/apache/airflow/pull/30160 and
    the internal api and related were 2.6.0 even though they were under a flag. 
These need to be updated
    except we want to modify the check tool to skip these ones
---
 airflow/config_templates/config.yml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/airflow/config_templates/config.yml 
b/airflow/config_templates/config.yml
index 5a44906478..4ff95db84f 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -73,7 +73,7 @@ core:
     auth_manager:
       description: |
         The auth manager class that airflow should use. Full import path to 
the auth manager class.
-      version_added: ~
+      version_added: 2.7.0
       type: string
       example: ~
       default: "airflow.auth.managers.fab.fab_auth_manager.FabAuthManager"
@@ -446,14 +446,14 @@ core:
       example: '{"some_param": "some_value"}'
     database_access_isolation:
       description: (experimental) Whether components should use Airflow 
Internal API for DB connectivity.
-      version_added: 2.7.0
+      version_added: 2.6.0
       type: boolean
       example: ~
       default: "False"
     internal_api_url:
       description: |
         (experimental) Airflow Internal API url. Only used if [core] 
database_access_isolation is True.
-      version_added: 2.7.0
+      version_added: 2.6.0
       type: string
       default: ~
       example: 'http://localhost:8080'
@@ -919,7 +919,7 @@ logging:
         With this option AirFlow will create new handlers
         and send low level logs like INFO and WARNING to stdout,
         while sending higher severity logs to stderr.
-      version_added: 2.5.4
+      version_added: 2.7.0
       type: boolean
       example: ~
       default: "False"
@@ -1031,31 +1031,31 @@ metrics:
     otel_on:
       description: |
         Enables sending metrics to OpenTelemetry.
-      version_added: 2.5.1
+      version_added: 2.6.0
       type: string
       example: ~
       default: "False"
     otel_host:
       description: ~
-      version_added: 2.5.1
+      version_added: 2.6.0
       type: string
       example: ~
       default: "localhost"
     otel_port:
       description: ~
-      version_added: 2.5.1
+      version_added: 2.6.0
       type: string
       example: ~
       default: "8889"
     otel_prefix:
       description: ~
-      version_added: 2.0.0
+      version_added: 2.6.0
       type: string
       example: ~
       default: "airflow"
     otel_interval_milliseconds:
       description: ~
-      version_added: 2.0.0
+      version_added: 2.6.0
       type: integer
       example: ~
       default: "60000"
@@ -1276,7 +1276,7 @@ operators:
     default_deferrable:
       description: |
         The default value of attribute "deferrable" in operators and sensors.
-      version_added: ~
+      version_added: 2.7.0
       type: boolean
       example: ~
       default: "false"
@@ -1766,7 +1766,7 @@ webserver:
     run_internal_api:
       description: |
         Boolean for running Internal API in the webserver.
-      version_added: 2.7.0
+      version_added: 2.6.0
       type: boolean
       example: ~
       default: "False"

Reply via email to