Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.7 KB

41758.significant.rst

File metadata and controls

37 lines (28 loc) · 1.7 KB

Removed deprecated functions and modules from airflow.www module.

  • Config flag default warning cookie_samesite option in section [webserver] removed.
  • Legacy decorator @has_access in airflow.www.auth: Please use one of the decorator has_access_* defined in airflow/www/auth.py instead.
  • Removed legacy modules airflow.www.security: Should be inherited from airflow.providers.fab.auth_manager.security_manager.override.FabAirflowSecurityManagerOverride instead. The constant value EXISTING_ROLES should be used from airflow.www.security_manager module.
  • Removed the method get_sensitive_variables_fields() from airflow.www.utils: Please use airflow.utils.log.secrets_masker.get_sensitive_variables_fields instead.
  • Removed the method should_hide_value_for_key() from airflow.www.utils: Please use airflow.utils.log.secrets_masker.should_hide_value_for_key instead.
  • Types of change
    • [ ] Dag changes
    • [x] Config changes
    • [ ] API changes
    • [ ] CLI changes
    • [ ] Behaviour changes
    • [ ] Plugin changes
    • [ ] Dependency changes
    • [x] Code interface changes
  • Migration rules needed
    • ruff
      • AIR302
        • [x] airflow.www.auth.has_accessairflow.www.auth.has_access_*
        • [x] airflow.www.utils.get_sensitive_variables_fieldsairflow.utils.log.secrets_masker.get_sensitive_variables_fields
        • [x] airflow.www.utils.should_hide_value_for_keyairflow.utils.log.secrets_masker.should_hide_value_for_key
      • AIR303
        • [x] airflow.www.security.FabAirflowSecurityManagerOverrideairflow.providers.fab.auth_manager.security_manager.override.FabAirflowSecurityManagerOverride