From 99f582559dd7f878bd48483ff345ce125b148886 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Fri, 17 Jan 2025 18:59:12 +0800 Subject: [PATCH] docs(newsframgents): add significant newsfragments and migration rules needed for PR 41564, 42794, 43609, 43890, 44053, 44288 --- newsfragments/41564.significant.rst | 25 +++++++++++++++++++++++++ newsfragments/42794.significant.rst | 22 ++++++++++++++++++++++ newsfragments/43608.significant.rst | 22 ++++++++++++++++++++++ newsfragments/43890.significant.rst | 20 ++++++++++++++++++++ newsfragments/44053.significant.rst | 20 ++++++++++++++++++++ newsfragments/44288.significant.rst | 21 +++++++++++++++++++++ 6 files changed, 130 insertions(+) create mode 100644 newsfragments/41564.significant.rst create mode 100644 newsfragments/42794.significant.rst create mode 100644 newsfragments/43608.significant.rst create mode 100644 newsfragments/43890.significant.rst create mode 100644 newsfragments/44053.significant.rst create mode 100644 newsfragments/44288.significant.rst diff --git a/newsfragments/41564.significant.rst b/newsfragments/41564.significant.rst new file mode 100644 index 0000000000000..012fe7db92a8f --- /dev/null +++ b/newsfragments/41564.significant.rst @@ -0,0 +1,25 @@ +Move all time operators and sensors from airflow core to standard provider + +* Types of change + + * [x] Dag changes + * [ ] Config changes + * [ ] API changes + * [ ] CLI changes + * [ ] Behaviour changes + * [ ] Plugin changes + * [ ] Dependency changes + * [ ] Code interface changes + +* Migration rules needed + + * ruff + + * AIR303 + + * [ ] ``airflow.operators.datetime.*`` → ``airflow.providers.standard.time.operators.datetime.*`` + * [ ] ``airflow.operators.weekday.*`` → ``airflow.providers.standard.time.operators.weekday.*`` + * [ ] ``airflow.sensors.date_time.*`` → ``airflow.providers.standard.time.sensors.date_time.*`` + * [ ] ``airflow.sensors.time_sensor.*`` → ``airflow.providers.standard.time.sensors.time.*`` + * [ ] ``airflow.sensors.time_delta.*`` → ``airflow.providers.standard.time.sensors.time_delta.*`` + * [ ] ``airflow.sensors.weekday.*`` → ``airflow.providers.standard.time.sensors.weekday.*`` diff --git a/newsfragments/42794.significant.rst b/newsfragments/42794.significant.rst new file mode 100644 index 0000000000000..2303d90e9107f --- /dev/null +++ b/newsfragments/42794.significant.rst @@ -0,0 +1,22 @@ +Move filesystem, package_index, subprocess hooks to standard provider + +* Types of change + + * [x] Dag changes + * [ ] Config changes + * [ ] API changes + * [ ] CLI changes + * [ ] Behaviour changes + * [ ] Plugin changes + * [ ] Dependency changes + * [ ] Code interface changes + +* Migration rules needed + + * ruff + + * AIR303 + + * [ ] ``airflow.hooks.filesystem.*`` → ``airflow.providers.standard.hooks.filesystem.*`` + * [ ] ``airflow.hooks.package_index.*`` → ``airflow.providers.standard.hooks.package_index.*`` + * [ ] ``airflow.hooks.subprocess.*`` → ``airflow.providers.standard.hooks.subprocess.*`` diff --git a/newsfragments/43608.significant.rst b/newsfragments/43608.significant.rst new file mode 100644 index 0000000000000..edb1c7ddddae2 --- /dev/null +++ b/newsfragments/43608.significant.rst @@ -0,0 +1,22 @@ +Move Airflow core triggers to standard provider + +* Types of change + + * [x] Dag changes + * [ ] Config changes + * [ ] API changes + * [ ] CLI changes + * [ ] Behaviour changes + * [ ] Plugin changes + * [ ] Dependency changes + * [ ] Code interface changes + +* Migration rules needed + + * ruff + + * AIR303 + + * [ ] ``airflow.triggers.external_task.*`` → ``airflow.providers.standard.triggers.external_task.*`` + * [ ] ``airflow.triggers.file.*`` → ``airflow.providers.standard.triggers.file.*`` + * [ ] ``airflow.triggers.temporal.*`` → ``airflow.providers.standard.triggers.temporal.*`` diff --git a/newsfragments/43890.significant.rst b/newsfragments/43890.significant.rst new file mode 100644 index 0000000000000..b7ca80ba686a1 --- /dev/null +++ b/newsfragments/43890.significant.rst @@ -0,0 +1,20 @@ +Move filesystem sensor to standard provider + +* Types of change + + * [x] Dag changes + * [ ] Config changes + * [ ] API changes + * [ ] CLI changes + * [ ] Behaviour changes + * [ ] Plugin changes + * [ ] Dependency changes + * [ ] Code interface changes + +* Migration rules needed + + * ruff + + * AIR303 + + * [ ] ``airflow.sensors.filesystem.FileSensor`` → ``airflow.providers.standard.sensors.filesystem.FileSensor`` diff --git a/newsfragments/44053.significant.rst b/newsfragments/44053.significant.rst new file mode 100644 index 0000000000000..1e80fbe1e4250 --- /dev/null +++ b/newsfragments/44053.significant.rst @@ -0,0 +1,20 @@ +Move ``TriggerDagRunOperator`` to standard provider + +* Types of change + + * [x] Dag changes + * [ ] Config changes + * [ ] API changes + * [ ] CLI changes + * [ ] Behaviour changes + * [ ] Plugin changes + * [ ] Dependency changes + * [ ] Code interface changes + +* Migration rules needed + + * ruff + + * AIR303 + + * [ ] ``airflow.operators.trigger_dagrun import TriggerDagRunOperator`` → ``airflow.providers.standard.operators.trigger_dagrun.TriggerDagRunOperator`` diff --git a/newsfragments/44288.significant.rst b/newsfragments/44288.significant.rst new file mode 100644 index 0000000000000..90d41dd6147c9 --- /dev/null +++ b/newsfragments/44288.significant.rst @@ -0,0 +1,21 @@ + Move external task sensor to standard provider #44288 + +* Types of change + + * [x] Dag changes + * [ ] Config changes + * [ ] API changes + * [ ] CLI changes + * [ ] Behaviour changes + * [ ] Plugin changes + * [ ] Dependency changes + * [ ] Code interface changes + +* Migration rules needed + + * ruff + + * AIR303 + + * [ ] ``airflow.sensors.external_task.ExternalTaskMarker`` → ``airflow.providers.standard.sensors.external_task.ExternalTaskMarker`` + * [ ] ``airflow.sensors.external_task.ExternalTaskSensor`` → ``airflow.providers.standard.sensors.external_task.ExternalTaskSensor``